diff options
-rw-r--r-- | os/hal/ports/AVR/XMEGA/LLD/CRYPv1/hal_crypto_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/AVR/XMEGA/LLD/CRYPv1/hal_crypto_lld.c b/os/hal/ports/AVR/XMEGA/LLD/CRYPv1/hal_crypto_lld.c index 99dbcabce..3171aca74 100644 --- a/os/hal/ports/AVR/XMEGA/LLD/CRYPv1/hal_crypto_lld.c +++ b/os/hal/ports/AVR/XMEGA/LLD/CRYPv1/hal_crypto_lld.c @@ -270,7 +270,7 @@ cryerror_t cry_lld_encrypt_AES(CRYDriver *cryp, }
}
else {
- return CRY_ERR_ENCRYP;
+ return CRY_ERR_OP_FAILURE;
}
return CRY_NOERROR;
@@ -331,7 +331,7 @@ cryerror_t cry_lld_decrypt_AES(CRYDriver *cryp, }
}
else {
- return CRY_ERR_DECRYP;
+ return CRY_ERR_OP_FAILURE;
}
return CRY_NOERROR;
|