AesCbcEncrypt/Decrypt return value
This commit is contained in:
parent
f9ad1888cb
commit
6cf1c8149b
@ -165,12 +165,14 @@
|
||||
{
|
||||
AesCrypt(aes, out, in, sz, PIC32_ENCRYPTION, PIC32_ALGO_AES,
|
||||
PIC32_CRYPTOALGO_RCBC );
|
||||
return 0 ;
|
||||
}
|
||||
|
||||
int AesCbcDecrypt(Aes* aes, byte* out, const byte* in, word32 sz)
|
||||
{
|
||||
AesCrypt(aes, out, in, sz, PIC32_DECRYPTION, PIC32_ALGO_AES,
|
||||
PIC32_CRYPTOALGO_RCBC);
|
||||
return 0 ;
|
||||
}
|
||||
|
||||
#if defined(CYASSL_AES_COUNTER)
|
||||
|
Loading…
Reference in New Issue
Block a user