-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh with latest eurydice/kyber-crate
- Loading branch information
Showing
12 changed files
with
3,062 additions
and
4,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
This file was generated by KaRaMeL <https://github.com/FStarLang/karamel> | ||
KaRaMeL invocation: eurydice ../libcrux_kyber.llbc --config config.yaml | ||
F* version: 58c915a8 | ||
KaRaMeL version: 56c5c145 | ||
*/ | ||
|
||
#ifndef __core_H | ||
#define __core_H | ||
|
||
#include "eurydice_glue.h" | ||
|
||
#define core_option_None 0 | ||
#define core_option_Some 1 | ||
|
||
typedef uint8_t core_option_Option__size_t_tags; | ||
|
||
typedef struct core_ops_range_Range__size_t_s | ||
{ | ||
size_t start; | ||
size_t end; | ||
} | ||
core_ops_range_Range__size_t; | ||
|
||
|
||
#define __core_H_DEFINED | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
This file was generated by KaRaMeL <https://github.com/FStarLang/karamel> | ||
KaRaMeL invocation: eurydice ../libcrux_kyber.llbc --config config.yaml | ||
F* version: 58c915a8 | ||
KaRaMeL version: 56c5c145 | ||
*/ | ||
|
||
#ifndef __internal_libcrux_kyber_H | ||
#define __internal_libcrux_kyber_H | ||
|
||
#include "internal/core.h" | ||
#include "../libcrux_kyber.h" | ||
#include "eurydice_glue.h" | ||
|
||
typedef struct core_ops_range_Range__uint32_t_s | ||
{ | ||
uint32_t start; | ||
uint32_t end; | ||
} | ||
core_ops_range_Range__uint32_t; | ||
|
||
typedef struct core_ops_range_Range__int32_t_s | ||
{ | ||
int32_t start; | ||
int32_t end; | ||
} | ||
core_ops_range_Range__int32_t; | ||
|
||
typedef struct core_option_Option__Eurydice_slice_uint8_t_s | ||
{ | ||
core_option_Option__size_t_tags tag; | ||
Eurydice_slice f0; | ||
} | ||
core_option_Option__Eurydice_slice_uint8_t; | ||
|
||
typedef struct K___Eurydice_slice_uint8_t_Eurydice_slice_uint8_t_s | ||
{ | ||
Eurydice_slice fst; | ||
Eurydice_slice snd; | ||
} | ||
K___Eurydice_slice_uint8_t_Eurydice_slice_uint8_t; | ||
|
||
|
||
#define __internal_libcrux_kyber_H_DEFINED | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
This file was generated by KaRaMeL <https://github.com/FStarLang/karamel> | ||
KaRaMeL invocation: eurydice ../libcrux_kyber.llbc --config config.yaml | ||
F* version: 58c915a8 | ||
KaRaMeL version: 56c5c145 | ||
*/ | ||
|
||
#ifndef __libcrux_digest_H | ||
#define __libcrux_digest_H | ||
|
||
#include "eurydice_glue.h" | ||
|
||
extern void libcrux_digest_sha3_512(Eurydice_slice x0, uint8_t x1[64U]); | ||
|
||
extern void libcrux_digest_sha3_256(Eurydice_slice x0, uint8_t x1[32U]); | ||
|
||
#define libcrux_digest_shake256(x_0, x_1, x_2, _ret_t) libcrux_digest_shake256_(x_0, x_1, x_2) | ||
|
||
extern void libcrux_digest_shake256_(size_t x0, Eurydice_slice x1, uint8_t *x2); | ||
|
||
#define libcrux_digest_shake128(x_0, x_1, x_2, _ret_t) libcrux_digest_shake128_(x_0, x_1, x_2) | ||
|
||
extern void libcrux_digest_shake128_(size_t x0, Eurydice_slice x1, uint8_t *x2); | ||
|
||
|
||
#define __libcrux_digest_H_DEFINED | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.