Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/versal/
A Drsa.c41 switch (rsa_data->rsa_id) { in do_encrypt()
100 err, rsa_data->rsa_id, rsa_data->key.n_size); in do_encrypt()
102 if (rsa_data->rsa_id == DRVCRYPT_RSASSA_PKCS_V1_5) in do_encrypt()
133 switch (rsa_data->rsa_id) { in do_decrypt()
192 err, rsa_data->rsa_id, rsa_data->key.n_size); in do_decrypt()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
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()
224 rsa_data.rsa_id = DRVCRYPT_RSA_PKCS_V1_5; in crypto_acipher_rsaes_decrypt()
226 rsa_data.rsa_id = DRVCRYPT_RSA_OAEP; in crypto_acipher_rsaes_decrypt()
302 rsa_data.rsa_id = DRVCRYPT_RSA_PKCS_V1_5; in crypto_acipher_rsaes_encrypt()
309 rsa_data.rsa_id = DRVCRYPT_RSA_OAEP; in crypto_acipher_rsaes_encrypt()
A Drsassa.c214 rsa_data.rsa_id = DRVCRYPT_RSASSA_PKCS_V1_5; in rsassa_pkcs1_v1_5_sign()
269 rsa_data.rsa_id = DRVCRYPT_RSASSA_PKCS_V1_5; in rsassa_pkcs1_v1_5_verify()
774 rsa_data.rsa_id = DRVCRYPT_RSASSA_PSS; in rsassa_pss_sign()
844 rsa_data.rsa_id = DRVCRYPT_RSASSA_PSS; in rsassa_pss_verify()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_acipher.h64 enum drvcrypt_rsa_id rsa_id; /* RSA Algorithm Id */ member
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Drsa.c673 switch (p->rsa_id) { in encrypt_fallback()
704 switch (rsa_data->rsa_id) { in do_encrypt()
748 switch (p->rsa_id) { in decrypt_fallback()
782 switch (rsa_data->rsa_id) { in do_decrypt()
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_rsa.c1171 RSA_TRACE("RSA Encrypt mode %d", rsa_data->rsa_id); in do_caam_encrypt()
1276 RSA_TRACE("RSA Decrypt mode %d", rsa_data->rsa_id); in do_caam_decrypt()
1451 rsa_data->rsa_id == DRVCRYPT_RSA_NOPAD) { in do_caam_decrypt()
1490 switch (rsa_data->rsa_id) { in do_encrypt()
1521 switch (rsa_data->rsa_id) { in do_decrypt()

Completed in 10 milliseconds