-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a55be9
commit a844017
Showing
33 changed files
with
13,364 additions
and
4,588 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
This code was generated with the following tools: | ||
Charon: ae55966c01a1a4b185a1a34da7861ba5db74c8ad | ||
Eurydice: bbfd102bbfbc3e4c362953f093dbfd65e2fbc10c | ||
Karamel: 409fe4552f8f46351241cba1decfaa4d9fa6ffea | ||
F*: | ||
Karamel: 018dcd1d71f37472c517822aa6bd275263a6dcaa | ||
F*: 0e2a116da266fbe1dbb81b414002d0afac6819b3 |
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,74 @@ | ||
/* | ||
This file was generated by KaRaMeL <https://github.com/FStarLang/karamel> | ||
KaRaMeL invocation: /Users/bhargava/Desktop/repositories/eurydice/eurydice | ||
--config ../c.yaml ../../libcrux_ml_kem.llbc ../../libcrux_sha3.llbc F* | ||
version: 0e2a116d KaRaMeL version: 018dcd1d | ||
*/ | ||
|
||
#ifndef __internal_libcrux_mlkem_neon_H | ||
#define __internal_libcrux_mlkem_neon_H | ||
|
||
#if defined(__cplusplus) | ||
extern "C" { | ||
#endif | ||
|
||
#include "../libcrux_mlkem_neon.h" | ||
#include "eurydice_glue.h" | ||
#include "internal/libcrux_core.h" | ||
#include "internal/libcrux_mlkem_portable.h" | ||
|
||
bool libcrux_ml_kem_ind_cca_validate_public_key__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_3size_t_1152size_t_1184size_t( | ||
uint8_t *public_key); | ||
|
||
libcrux_ml_kem_mlkem768_MlKem768KeyPair | ||
libcrux_ml_kem_ind_cca_generate_keypair__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_3size_t_1152size_t_2400size_t_1184size_t_1152size_t_2size_t_128size_t( | ||
uint8_t randomness[64U]); | ||
|
||
K___libcrux_ml_kem_types_MlKemCiphertext___1088size_t___uint8_t_32size_t_ | ||
libcrux_ml_kem_ind_cca_encapsulate__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_libcrux_ml_kem_ind_cca_MlKem_3size_t_1088size_t_1184size_t_1152size_t_960size_t_128size_t_10size_t_4size_t_320size_t_2size_t_128size_t_2size_t_128size_t( | ||
libcrux_ml_kem_types_MlKemPublicKey____1184size_t *public_key, | ||
uint8_t randomness[32U]); | ||
|
||
void libcrux_ml_kem_ind_cca_decapsulate__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_libcrux_ml_kem_ind_cca_MlKem_3size_t_2400size_t_1152size_t_1184size_t_1088size_t_1152size_t_960size_t_128size_t_10size_t_4size_t_320size_t_2size_t_128size_t_2size_t_128size_t_1120size_t( | ||
libcrux_ml_kem_types_MlKemPrivateKey____2400size_t *private_key, | ||
libcrux_ml_kem_mlkem768_MlKem768Ciphertext *ciphertext, uint8_t ret[32U]); | ||
|
||
bool libcrux_ml_kem_ind_cca_validate_public_key__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_4size_t_1536size_t_1568size_t( | ||
uint8_t *public_key); | ||
|
||
libcrux_ml_kem_mlkem1024_MlKem1024KeyPair | ||
libcrux_ml_kem_ind_cca_generate_keypair__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_4size_t_1536size_t_3168size_t_1568size_t_1536size_t_2size_t_128size_t( | ||
uint8_t randomness[64U]); | ||
|
||
K___libcrux_ml_kem_types_MlKemCiphertext___1568size_t___uint8_t_32size_t_ | ||
libcrux_ml_kem_ind_cca_encapsulate__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_libcrux_ml_kem_ind_cca_MlKem_4size_t_1568size_t_1568size_t_1536size_t_1408size_t_160size_t_11size_t_5size_t_352size_t_2size_t_128size_t_2size_t_128size_t( | ||
libcrux_ml_kem_types_MlKemPublicKey____1568size_t *public_key, | ||
uint8_t randomness[32U]); | ||
|
||
void libcrux_ml_kem_ind_cca_decapsulate__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_libcrux_ml_kem_ind_cca_MlKem_4size_t_3168size_t_1536size_t_1568size_t_1568size_t_1536size_t_1408size_t_160size_t_11size_t_5size_t_352size_t_2size_t_128size_t_2size_t_128size_t_1600size_t( | ||
libcrux_ml_kem_types_MlKemPrivateKey____3168size_t *private_key, | ||
libcrux_ml_kem_mlkem1024_MlKem1024Ciphertext *ciphertext, uint8_t ret[32U]); | ||
|
||
bool libcrux_ml_kem_ind_cca_validate_public_key__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_2size_t_768size_t_800size_t( | ||
uint8_t *public_key); | ||
|
||
libcrux_ml_kem_types_MlKemKeyPair____1632size_t__800size_t | ||
libcrux_ml_kem_ind_cca_generate_keypair__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_2size_t_768size_t_1632size_t_800size_t_768size_t_3size_t_192size_t( | ||
uint8_t randomness[64U]); | ||
|
||
K___libcrux_ml_kem_types_MlKemCiphertext___768size_t___uint8_t_32size_t_ | ||
libcrux_ml_kem_ind_cca_encapsulate__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_libcrux_ml_kem_ind_cca_MlKem_2size_t_768size_t_800size_t_768size_t_640size_t_128size_t_10size_t_4size_t_320size_t_3size_t_192size_t_2size_t_128size_t( | ||
libcrux_ml_kem_types_MlKemPublicKey____800size_t *public_key, | ||
uint8_t randomness[32U]); | ||
|
||
void libcrux_ml_kem_ind_cca_decapsulate__libcrux_ml_kem_vector_neon_vector_type_SIMD128Vector_libcrux_ml_kem_hash_functions_neon_Simd128Hash_libcrux_ml_kem_ind_cca_MlKem_2size_t_1632size_t_768size_t_800size_t_768size_t_768size_t_640size_t_128size_t_10size_t_4size_t_320size_t_3size_t_192size_t_2size_t_128size_t_800size_t( | ||
libcrux_ml_kem_types_MlKemPrivateKey____1632size_t *private_key, | ||
libcrux_ml_kem_types_MlKemCiphertext____768size_t *ciphertext, | ||
uint8_t ret[32U]); | ||
|
||
#if defined(__cplusplus) | ||
} | ||
#endif | ||
|
||
#define __internal_libcrux_mlkem_neon_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
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
Oops, something went wrong.