mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-26 12:39:55 +00:00
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
@ -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…
x
Reference in New Issue
Block a user