Home
last modified time | relevance | path

Searched refs:rsa_id (Results 1 – 7 of 7) sorted by relevance

/optee_os/core/drivers/crypto/versal/
H A Drsa.c41 switch (rsa_data->rsa_id) { in do_encrypt()
99 err, rsa_data->rsa_id, rsa_data->key.n_size); in do_encrypt()
101 if (rsa_data->rsa_id == DRVCRYPT_RSASSA_PKCS_V1_5) in do_encrypt()
132 switch (rsa_data->rsa_id) { in do_decrypt()
190 err, rsa_data->rsa_id, rsa_data->key.n_size); in do_decrypt()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsa.c131 rsa_data.rsa_id = DRVCRYPT_RSA_NOPAD; in crypto_acipher_rsanopad_decrypt()
183 rsa_data.rsa_id = DRVCRYPT_RSA_NOPAD; in crypto_acipher_rsanopad_encrypt()
225 rsa_data.rsa_id = DRVCRYPT_RSA_PKCS_V1_5; in crypto_acipher_rsaes_decrypt()
227 rsa_data.rsa_id = DRVCRYPT_RSA_OAEP; in crypto_acipher_rsaes_decrypt()
310 rsa_data.rsa_id = DRVCRYPT_RSA_PKCS_V1_5; in crypto_acipher_rsaes_encrypt()
317 rsa_data.rsa_id = DRVCRYPT_RSA_OAEP; in crypto_acipher_rsaes_encrypt()
H A Drsassa.c214 rsa_data.rsa_id = DRVCRYPT_RSASSA_PKCS_V1_5; in rsassa_pkcs1_v1_5_sign()
274 rsa_data.rsa_id = DRVCRYPT_RSASSA_PKCS_V1_5; in rsassa_pkcs1_v1_5_verify()
779 rsa_data.rsa_id = DRVCRYPT_RSASSA_PSS; in rsassa_pss_sign()
849 rsa_data.rsa_id = DRVCRYPT_RSASSA_PSS; in rsassa_pss_verify()
/optee_os/core/drivers/crypto/crypto_api/include/
H A Ddrvcrypt_acipher.h64 enum drvcrypt_rsa_id rsa_id; /* RSA Algorithm Id */ member
/optee_os/core/drivers/crypto/se050/core/
H A Drsa.c673 switch (p->rsa_id) { in encrypt_fallback()
705 switch (rsa_data->rsa_id) { in do_encrypt()
750 switch (p->rsa_id) { in decrypt_fallback()
785 switch (rsa_data->rsa_id) { in do_decrypt()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_rsa.c1238 RSA_TRACE("RSA Encrypt mode %d", rsa_data->rsa_id); in do_caam_encrypt()
1374 RSA_TRACE("RSA Decrypt mode %d", rsa_data->rsa_id); in do_caam_decrypt()
1582 rsa_data->rsa_id == DRVCRYPT_RSA_NOPAD) { in do_caam_decrypt()
1631 switch (rsa_data->rsa_id) { in do_encrypt()
1662 switch (rsa_data->rsa_id) { in do_decrypt()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_rsa.c516 switch (rsa_data->rsa_id) { in hpre_rsa_encrypt()
756 if (rsa_data->rsa_id == DRVCRYPT_RSA_NOPAD) { in rsa_nopad_decrypt()
981 switch (rsa_data->rsa_id) { in hpre_rsa_decrypt()