commit | e3f23091d28e296d4ae0cf7c1cc8b11a440703a5 | [log] [tgz] |
---|---|---|
author | LuoPeng <wuhanluop@163.com> | Wed Sep 22 23:36:15 2021 +0800 |
committer | GitHub <noreply@github.com> | Wed Sep 22 23:36:15 2021 +0800 |
tree | a664bbbc776dc5ffac2a5d6df008acef86e1e087 | |
parent | 08fd463ee45a0332f469a6de5acc977a50672999 [diff] | |
parent | f0f2294f57c2c4867befa30e4b21042eb05b9b8f [diff] |
Merge branch 'ARMmbed:development' into development
diff --git a/library/gcm.c b/library/gcm.c index 910646b..e1c1c7d 100644 --- a/library/gcm.c +++ b/library/gcm.c
@@ -278,7 +278,7 @@ else { memset( work_buf, 0x00, 16 ); - MBEDTLS_PUT_UINT32_BE( iv_len * 8, work_buf, 12 ); + MBEDTLS_PUT_UINT64_BE( iv_len * 8, work_buf, 8 ); p = iv; while( iv_len > 0 )