Home
last modified time | relevance | path

Searched refs:rsa_keypair (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/include/crypto/
A Dcrypto.h108 struct rsa_keypair { struct
175 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s,
180 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s);
198 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t key_size);
208 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key,
214 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key,
224 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key,
/optee_os/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_acipher.h80 TEE_Result (*alloc_keypair)(struct rsa_keypair *key, size_t size_bits);
87 void (*free_keypair)(struct rsa_keypair *key);
89 TEE_Result (*gen_keypair)(struct rsa_keypair *key, size_t size_bits);
/optee_os/core/drivers/crypto/se050/adaptors/include/
A Dse050_utils.h37 struct rsa_keypair;
40 uint32_t se050_rsa_keypair_from_nvm(struct rsa_keypair *key);
/optee_os/core/drivers/crypto/crypto_api/acipher/
A Drsa.c15 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *key, in crypto_acipher_alloc_rsa_keypair()
71 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *key) in crypto_acipher_free_rsa_keypair()
84 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t size_bits) in crypto_acipher_gen_rsa_key()
105 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key, in crypto_acipher_rsanopad_decrypt()
198 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
343 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
A Drsassa.c726 struct rsa_keypair *key = NULL; in rsassa_pss_sign()
/optee_os/lib/libmbedtls/core/
A Drsa.c96 struct rsa_keypair *key) in rsa_init_from_key_pair()
129 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s, in crypto_acipher_alloc_rsa_keypair()
188 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s) in crypto_acipher_free_rsa_keypair()
202 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t key_size) in crypto_acipher_gen_rsa_key()
300 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key, in crypto_acipher_rsanopad_decrypt()
350 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
509 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
/optee_os/core/lib/libtomcrypt/
A Drsa.c85 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s, in crypto_acipher_alloc_rsa_keypair()
134 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s) in crypto_acipher_free_rsa_keypair()
148 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t key_size) in crypto_acipher_gen_rsa_key()
256 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key, in crypto_acipher_rsanopad_decrypt()
279 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
432 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
/optee_os/core/drivers/crypto/se050/core/
A Drsa.c129 struct rsa_keypair *key) in se050_inject_keypair()
188 static TEE_Result decrypt_es(uint32_t algo, struct rsa_keypair *key, in decrypt_es()
278 static TEE_Result decrypt_nopad(struct rsa_keypair *key, const uint8_t *src, in decrypt_nopad()
402 static TEE_Result sign_ssa(uint32_t algo, struct rsa_keypair *key, in sign_ssa()
472 static TEE_Result do_alloc_keypair(struct rsa_keypair *s, in do_alloc_keypair()
529 static void do_free_keypair(struct rsa_keypair *s) in do_free_keypair()
555 static TEE_Result do_gen_keypair(struct rsa_keypair *key, size_t kb) in do_gen_keypair()
/optee_os/core/crypto/
A Dcrypto.c519 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s __unused, in crypto_acipher_alloc_rsa_keypair()
536 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s __unused) in crypto_acipher_free_rsa_keypair()
540 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key __unused, in crypto_acipher_gen_rsa_key()
546 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key __unused, in crypto_acipher_rsanopad_decrypt()
565 struct rsa_keypair *key __unused, in crypto_acipher_rsaes_decrypt()
589 struct rsa_keypair *key __unused, in crypto_acipher_rsassa_sign()
/optee_os/core/drivers/crypto/caam/acipher/
A Dcaam_rsa.c87 static void do_free_keypair(struct rsa_keypair *key) in do_free_keypair()
168 const struct rsa_keypair *inkey) in do_keypair_conv_f3()
258 const struct rsa_keypair *inkey) in do_keypair_conv_f2()
312 const struct rsa_keypair *inkey) in do_keypair_conv()
352 static TEE_Result do_allocate_keypair(struct rsa_keypair *key, size_t size_bits) in do_allocate_keypair()
461 static TEE_Result gen_keypair_get_f3(struct rsa_keypair *key, in gen_keypair_get_f3()
492 static TEE_Result gen_keypair_get_f2(struct rsa_keypair *key, in gen_keypair_get_f2()
518 static TEE_Result do_gen_keypair(struct rsa_keypair *key, size_t key_size) in do_gen_keypair()
/optee_os/core/drivers/crypto/se050/adaptors/utils/
A Dutils.c125 uint32_t se050_rsa_keypair_from_nvm(struct rsa_keypair *key) in se050_rsa_keypair_from_nvm()
/optee_os/core/tee/
A Dtee_svc_cryp.c125 RAW_DATA(struct rsa_keypair, n)
132 RAW_DATA(struct rsa_keypair, e)
139 RAW_DATA(struct rsa_keypair, d)
146 RAW_DATA(struct rsa_keypair, p)
153 RAW_DATA(struct rsa_keypair, q)
160 RAW_DATA(struct rsa_keypair, dp)
167 RAW_DATA(struct rsa_keypair, dq)
174 RAW_DATA(struct rsa_keypair, qp)
460 sizeof(struct rsa_keypair),
1769 struct rsa_keypair *key = o->attr; in tee_svc_obj_generate_key_rsa()

Completed in 47 milliseconds