sys/crypto/ccm: fix docstring value for 'nonce_len'
From RFC3610 - 2.1.2:
A nonce N of 15-L octets
(where L: Number of octets in length field)
This commit is contained in:
parent
71d5ea2359
commit
5e22f61cda
@ -44,7 +44,7 @@ extern "C" {
|
||||
* (2^(8*length_enc)).
|
||||
* @param nonce Nounce for ctr mode encryption
|
||||
* @param nonce_len Length of the nonce in octets
|
||||
* (maximum: 16-length_encoding)
|
||||
* (maximum: 15-length_encoding)
|
||||
* @param input pointer to input data to encrypt
|
||||
* @param input_len length of the input data
|
||||
* @param output pointer to allocated memory for encrypted data. It
|
||||
@ -69,7 +69,7 @@ int cipher_encrypt_ccm(cipher_t* cipher, uint8_t* auth_data,
|
||||
* (2^(8*length_enc)).
|
||||
* @param nonce Nounce for ctr mode encryption
|
||||
* @param nonce_len Length of the nonce in octets
|
||||
* (maximum: 16-length_encoding)
|
||||
* (maximum: 15-length_encoding)
|
||||
* @param input pointer to input data to decrypt
|
||||
* @param input_len length of the input data
|
||||
* @param output pointer to allocated memory for decrypted data. It
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user