mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-03-26 15:16:22 +01: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…
Reference in a new issue