crypto: Fix whitespace errors
This commit is contained in:
parent
41667cef66
commit
4272ccf281
@ -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
|
||||
*/
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user