Check RV value
@@ -773,6 +773,7 @@ static int enable_aes(ACVP_CTX *ctx) {
rv = acvp_cap_sym_cipher_set_parm(ctx, ACVP_AES_CTR, ACVP_SYM_CIPH_KEYLEN, 256);
CHECK_ENABLE_CAP_RV(rv);
rv = acvp_cap_sym_cipher_set_domain(ctx, ACVP_AES_CTR, ACVP_SYM_CIPH_PTLEN, 8, 128, 8);
+ CHECK_ENABLE_CAP_RV(rv);
//GMAC
rv = acvp_cap_sym_cipher_enable(ctx, ACVP_AES_GMAC, &app_aes_handler_aead);
