diff options
Diffstat (limited to 'demos/cipher/aesccm.c')
| -rw-r--r-- | demos/cipher/aesccm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/demos/cipher/aesccm.c b/demos/cipher/aesccm.c index 5a2d4281506e..f4430e727b2f 100644 --- a/demos/cipher/aesccm.c +++ b/demos/cipher/aesccm.c @@ -94,7 +94,7 @@ int aes_ccm_encrypt(void)      if ((cipher = EVP_CIPHER_fetch(libctx, "AES-192-CCM", propq)) == NULL)          goto err; -    /* Set nonce length if default 96 bits is not appropriate */ +    /* Default nonce length for AES-CCM is 7 bytes (56 bits). */      params[0] = OSSL_PARAM_construct_size_t(OSSL_CIPHER_PARAM_AEAD_IVLEN,                                              &ccm_nonce_len);      /* Set tag length */ | 
