Skip to content

Commit 525d117

Browse files
committed
drivers: caam: fix RSA key format OP-TEE#3
Fix the RSA private key format OP-TEE#3. Signed-off-by: Clement Faure <clement.faure@nxp.com>
1 parent 447354c commit 525d117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/drivers/crypto/caam/acipher/caam_rsa.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static enum caam_status do_keypair_conv_f3(struct caam_rsa_keypair *outkey,
222222
outkey->dp.length + outkey->dq.length +
223223
outkey->qp.length);
224224

225-
outkey->format = 2;
225+
outkey->format = 3;
226226

227227
return CAAM_NO_ERROR;
228228
}

0 commit comments

Comments
 (0)