Update aes.h

This commit is contained in:
kokke 2017-12-01 12:05:18 +01:00 committed by GitHub
parent 87d5ca4b46
commit c09f0dee5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
aes.h
View File

@ -44,6 +44,7 @@ void AES_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, co
#if defined(CTR) && (CTR == 1) #if defined(CTR) && (CTR == 1)
/* Same function for encrypting as for decrypting. Note no IV/nonce should ever be reused with the same key */ /* Same function for encrypting as for decrypting. Note no IV/nonce should ever be reused with the same key */
void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* nonce); void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* nonce);