Skip to content
Snippets Groups Projects
Commit 5e22f61c authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

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)
parent 71d5ea23
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ extern "C" { ...@@ -44,7 +44,7 @@ extern "C" {
* (2^(8*length_enc)). * (2^(8*length_enc)).
* @param nonce Nounce for ctr mode encryption * @param nonce Nounce for ctr mode encryption
* @param nonce_len Length of the nonce in octets * @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 pointer to input data to encrypt
* @param input_len length of the input data * @param input_len length of the input data
* @param output pointer to allocated memory for encrypted data. It * @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, ...@@ -69,7 +69,7 @@ int cipher_encrypt_ccm(cipher_t* cipher, uint8_t* auth_data,
* (2^(8*length_enc)). * (2^(8*length_enc)).
* @param nonce Nounce for ctr mode encryption * @param nonce Nounce for ctr mode encryption
* @param nonce_len Length of the nonce in octets * @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 pointer to input data to decrypt
* @param input_len length of the input data * @param input_len length of the input data
* @param output pointer to allocated memory for decrypted data. It * @param output pointer to allocated memory for decrypted data. It
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment