From 4272ccf281630eda51a74d5a0427bd3f59c1a20d Mon Sep 17 00:00:00 2001 From: Mathias Tausig <mathias@tausig.at> Date: Wed, 17 Oct 2018 15:20:56 +0200 Subject: [PATCH] crypto: Fix whitespace errors --- sys/include/crypto/modes/ccm.h | 2 +- sys/include/crypto/modes/ctr.h | 5 ++--- sys/include/crypto/modes/ecb.h | 5 ++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/sys/include/crypto/modes/ccm.h b/sys/include/crypto/modes/ccm.h index ed973895e2..03ac25a5f1 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 e34d9f4dc4..36d2aefd1d 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 0d3c89746b..08a19e7f7a 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); -- GitLab