Skip to content

Commit da597e3

Browse files
committed
Fix SECO AES GCM return value
1 parent 6e06240 commit da597e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/port/caam/wolfcaam_seco.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ static hsm_err_t wc_SECO_AESGCM(unsigned int args[4], CAAM_BUFFER* buf, int sz)
10751075
}
10761076
XFREE(cipherAndTag, NULL, DYNAMIC_TYPE_TMP_BUFFER);
10771077
(void)sz;
1078-
return HSM_NO_ERROR;
1078+
return err;
10791079
}
10801080

10811081

0 commit comments

Comments
 (0)