Skip to content

Commit 9f5b5a6

Browse files
committed
Remove one superfluous file following upstream fix
1 parent 48df880 commit 9f5b5a6

File tree

4 files changed

+19
-81
lines changed

4 files changed

+19
-81
lines changed

Modules/_hacl/Hacl_Hash_SHA3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

4040
typedef struct Hacl_Streaming_Keccak_hash_buf_s
4141
{

Modules/_hacl/Hacl_Spec.h

Lines changed: 0 additions & 78 deletions
This file was deleted.

Modules/_hacl/Hacl_Streaming_Types.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
3855
typedef struct Hacl_Streaming_MD_state_32_s
3956
{
4057
uint32_t *block_state;

Modules/_hacl/refresh.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fi
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

2727
hacl_dir="$(realpath "$1")"
2828
cd "$(dirname "$0")"
@@ -40,7 +40,6 @@ fi
4040

4141
declare -a dist_files
4242
dist_files=(
43-
Hacl_Spec.h
4443
Hacl_Streaming_SHA2.h
4544
Hacl_Streaming_Types.h
4645
Hacl_Hash_SHA1.h

0 commit comments

Comments
 (0)