diff --git a/sys/include/crypto/modes/ccm.h b/sys/include/crypto/modes/ccm.h index ed973895e2d28317ccceb2712d630d5cc62c891f..03ac25a5f15b3b7b008c44c284e3c4063c9d1480 100644 --- a/sys/include/crypto/modes/ccm.h +++ b/sys/include/crypto/modes/ccm.h @@ -80,7 +80,7 @@ int cipher_encrypt_ccm(cipher_t* cipher, uint8_t* auth_data, * @param input_len length of the input data * @param output pointer to allocated memory for decrypted data. It * has to be of size data_len - mac_length. - * + * * @return Length of the decrypted data on a successful decryption * @return A negative error code if something went wrong */ diff --git a/sys/include/crypto/modes/ctr.h b/sys/include/crypto/modes/ctr.h index e34d9f4dc4591e9a1588b8bd5f16a042773bd4a8..36d2aefd1d0b18c398d6b181113950d7dc16dfa3 100644 --- a/sys/include/crypto/modes/ctr.h +++ b/sys/include/crypto/modes/ctr.h @@ -40,7 +40,7 @@ extern "C" { * @param length length of the input data * @param output pointer to allocated memory for encrypted data. It has * to be of size data_len. - * + * * @return Length of encrypted data on a successful encryption * @return A negative error code if something went wrong */ @@ -64,10 +64,9 @@ int cipher_encrypt_ctr(cipher_t* cipher, uint8_t nonce_counter[16], * @param length length of the input data * @param output pointer to allocated memory for encrypted data. It has * to be of size data_len. - * + * * @return Length of decrypted data on a successful decryption * @return A negative error code if something went wrong - * */ int cipher_decrypt_ctr(cipher_t* cipher, uint8_t nonce_counter[16], uint8_t nonce_len, uint8_t* input, size_t length, diff --git a/sys/include/crypto/modes/ecb.h b/sys/include/crypto/modes/ecb.h index 0d3c89746b1619f9a2aa298ac53bcde2a6e06066..08a19e7f7a80b9545695500f11291b4f66eb32d2 100644 --- a/sys/include/crypto/modes/ecb.h +++ b/sys/include/crypto/modes/ecb.h @@ -37,7 +37,7 @@ extern "C" { * @param length length of the input data * @param output pointer to allocated memory for encrypted data. It has to * be of size data_len + BLOCK_SIZE - data_len % BLOCK_SIZE. - * + * * @return Length of encrypted data on a successful encryption * @return A negative error code if something went wrong * @@ -55,10 +55,9 @@ int cipher_encrypt_ecb(cipher_t* cipher, uint8_t* input, size_t length, * @param length length of the input data * @param output pointer to allocated memory for plaintext data. It has to * be of size `lengh`. - * + * * @return Length of decrypted data on a successful decryption * @return A negative error code if something went wrong - * */ int cipher_decrypt_ecb(cipher_t* cipher, uint8_t* input, size_t length, uint8_t* output);