Update library/gcm.c
Co-authored-by: davidhorstmann-arm <70948878+davidhorstmann-arm@users.noreply.github.com> Signed-off-by: openluopworld <luopengxq@gmail.com>
This commit is contained in:
parent
e3f23091d2
commit
eb009232c0
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ int mbedtls_gcm_starts( mbedtls_gcm_context *ctx,
|
|||
else
|
||||
{
|
||||
memset( work_buf, 0x00, 16 );
|
||||
MBEDTLS_PUT_UINT64_BE( iv_len * 8, work_buf, 8 );
|
||||
MBEDTLS_PUT_UINT64_BE( iv_len * 8, work_buf, 8 );
|
||||
|
||||
p = iv;
|
||||
while( iv_len > 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue