File tree Expand file tree Collapse file tree 4 files changed +19
-81
lines changed
Expand file tree Collapse file tree 4 files changed +19
-81
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ extern "C" {
3535#include "krml/lowstar_endianness.h"
3636#include "krml/internal/target.h"
3737
38- #include "Hacl_Spec .h"
38+ #include "Hacl_Streaming_Types .h"
3939
4040typedef struct Hacl_Streaming_Keccak_hash_buf_s
4141{
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,6 +35,23 @@ extern "C" {
3535#include "krml/lowstar_endianness.h"
3636#include "krml/internal/target.h"
3737
38+ #define Spec_Hash_Definitions_SHA2_224 0
39+ #define Spec_Hash_Definitions_SHA2_256 1
40+ #define Spec_Hash_Definitions_SHA2_384 2
41+ #define Spec_Hash_Definitions_SHA2_512 3
42+ #define Spec_Hash_Definitions_SHA1 4
43+ #define Spec_Hash_Definitions_MD5 5
44+ #define Spec_Hash_Definitions_Blake2S 6
45+ #define Spec_Hash_Definitions_Blake2B 7
46+ #define Spec_Hash_Definitions_SHA3_256 8
47+ #define Spec_Hash_Definitions_SHA3_224 9
48+ #define Spec_Hash_Definitions_SHA3_384 10
49+ #define Spec_Hash_Definitions_SHA3_512 11
50+ #define Spec_Hash_Definitions_Shake128 12
51+ #define Spec_Hash_Definitions_Shake256 13
52+
53+ typedef uint8_t Spec_Hash_Definitions_hash_alg ;
54+
3855typedef struct Hacl_Streaming_MD_state_32_s
3956{
4057 uint32_t * block_state ;
Original file line number Diff line number Diff line change 2222
2323# Update this when updating to a new version after verifying that the changes
2424# the update brings in are good.
25- expected_hacl_star_rev=ba6a4928d810f4ed9e24040c55d019d0808104a7
25+ expected_hacl_star_rev=a41202dc7378b6e41c609d6b2f8f8b8e10581827
2626
2727hacl_dir=" $( realpath " $1 " ) "
2828cd " $( dirname " $0 " ) "
4040
4141declare -a dist_files
4242dist_files=(
43- Hacl_Spec.h
4443 Hacl_Streaming_SHA2.h
4544 Hacl_Streaming_Types.h
4645 Hacl_Hash_SHA1.h
You can’t perform that action at this time.
0 commit comments