Topic: wc_AesGcmEncrypt/Decrypt nonce/iv size
What are the effective limits of the IV size for these calls?
We intend to use a 128bit (16 byte) IV, will all of the bits be used?
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → wolfCrypt → wc_AesGcmEncrypt/Decrypt nonce/iv size
What are the effective limits of the IV size for these calls?
We intend to use a 128bit (16 byte) IV, will all of the bits be used?
Hi miennaco,
The AES GCM IV is normally 12-bytes, but it supports any length. An IV size not equal to 12-byte will first be GHASH'd then used.
See the code here:
https://github.com/wolfSSL/wolfssl/blob … es.c#L7180
Thanks,
David Garske, wolfSSL
wolfSSL - Embedded SSL Library → wolfCrypt → wc_AesGcmEncrypt/Decrypt nonce/iv size
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.017 seconds (90% PHP - 10% DB) with 12 queries