@@ -211,7 +211,7 @@ void Hacl_Hash_SHA2_sha224_init(uint32_t *hash)
211
211
os [i ] = x ;);
212
212
}
213
213
214
- static inline void sha224_update_nblocks (uint32_t len , uint8_t * b , uint32_t * st )
214
+ void Hacl_Hash_SHA2_sha224_update_nblocks (uint32_t len , uint8_t * b , uint32_t * st )
215
215
{
216
216
Hacl_Hash_SHA2_sha256_update_nblocks (len , b , st );
217
217
}
@@ -825,7 +825,7 @@ void Hacl_Hash_SHA2_digest_224(Hacl_Streaming_MD_state_32 *state, uint8_t *outpu
825
825
}
826
826
uint8_t * buf_last = buf_1 + r - ite ;
827
827
uint8_t * buf_multi = buf_1 ;
828
- sha224_update_nblocks (0U , buf_multi , tmp_block_state );
828
+ Hacl_Hash_SHA2_sha224_update_nblocks (0U , buf_multi , tmp_block_state );
829
829
uint64_t prev_len_last = total_len - (uint64_t )r ;
830
830
Hacl_Hash_SHA2_sha224_update_last (prev_len_last + (uint64_t )r , r , buf_last , tmp_block_state );
831
831
Hacl_Hash_SHA2_sha224_finish (tmp_block_state , output );
@@ -847,7 +847,7 @@ void Hacl_Hash_SHA2_hash_224(uint8_t *output, uint8_t *input, uint32_t input_len
847
847
Hacl_Hash_SHA2_sha224_init (st );
848
848
uint32_t rem = input_len % 64U ;
849
849
uint64_t len_ = (uint64_t )input_len ;
850
- sha224_update_nblocks (input_len , ib , st );
850
+ Hacl_Hash_SHA2_sha224_update_nblocks (input_len , ib , st );
851
851
uint32_t rem1 = input_len % 64U ;
852
852
uint8_t * b0 = ib ;
853
853
uint8_t * lb = b0 + input_len - rem1 ;
0 commit comments