mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-134069: bump HACL* revision to incoporate memset_s (#134027)
Bumps the HACL* revision to include recent revisions that corrects issues building with legacy/cross-platform macOS SDKs. Signed-off-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
This commit is contained in:
parent
7a504b3d5d
commit
1566c34dc7
13 changed files with 405 additions and 648 deletions
|
|
@ -315,8 +315,7 @@ Hacl_Hash_SHA1_update(Hacl_Streaming_MD_state_32 *state, uint8_t *chunk, uint32_
|
|||
uint8_t *buf2 = buf + sz1;
|
||||
memcpy(buf2, chunk, chunk_len * sizeof (uint8_t));
|
||||
uint64_t total_len2 = total_len1 + (uint64_t)chunk_len;
|
||||
*state
|
||||
=
|
||||
*state =
|
||||
(
|
||||
(Hacl_Streaming_MD_state_32){
|
||||
.block_state = block_state1,
|
||||
|
|
@ -361,8 +360,7 @@ Hacl_Hash_SHA1_update(Hacl_Streaming_MD_state_32 *state, uint8_t *chunk, uint32_
|
|||
Hacl_Hash_SHA1_update_multi(block_state1, data1, data1_len / 64U);
|
||||
uint8_t *dst = buf;
|
||||
memcpy(dst, data2, data2_len * sizeof (uint8_t));
|
||||
*state
|
||||
=
|
||||
*state =
|
||||
(
|
||||
(Hacl_Streaming_MD_state_32){
|
||||
.block_state = block_state1,
|
||||
|
|
@ -392,8 +390,7 @@ Hacl_Hash_SHA1_update(Hacl_Streaming_MD_state_32 *state, uint8_t *chunk, uint32_
|
|||
uint8_t *buf2 = buf0 + sz10;
|
||||
memcpy(buf2, chunk1, diff * sizeof (uint8_t));
|
||||
uint64_t total_len2 = total_len10 + (uint64_t)diff;
|
||||
*state
|
||||
=
|
||||
*state =
|
||||
(
|
||||
(Hacl_Streaming_MD_state_32){
|
||||
.block_state = block_state10,
|
||||
|
|
@ -436,8 +433,7 @@ Hacl_Hash_SHA1_update(Hacl_Streaming_MD_state_32 *state, uint8_t *chunk, uint32_
|
|||
Hacl_Hash_SHA1_update_multi(block_state1, data1, data1_len / 64U);
|
||||
uint8_t *dst = buf;
|
||||
memcpy(dst, data2, data2_len * sizeof (uint8_t));
|
||||
*state
|
||||
=
|
||||
*state =
|
||||
(
|
||||
(Hacl_Streaming_MD_state_32){
|
||||
.block_state = block_state1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue