Home
last modified time | relevance | path

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

/optee_os-3.20.0/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-3.20.0/core/lib/libtomcrypt/
A Drsa.c88 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s,
92 TEE_Result sw_crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s, in sw_crypto_acipher_alloc_rsa_keypair()
151 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s)
154 void sw_crypto_acipher_free_rsa_keypair(struct rsa_keypair *s) in sw_crypto_acipher_free_rsa_keypair()
168 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key,
172 TEE_Result sw_crypto_acipher_gen_rsa_key(struct rsa_keypair *key, in sw_crypto_acipher_gen_rsa_key()
287 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key,
293 TEE_Result sw_crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key, in sw_crypto_acipher_rsanopad_decrypt()
318 struct rsa_keypair *key,
326 struct rsa_keypair *key, in sw_crypto_acipher_rsaes_decrypt()
[all …]
/optee_os-3.20.0/lib/libmbedtls/core/
A Drsa.c98 struct rsa_keypair *key) in rsa_init_from_key_pair()
131 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s,
135 TEE_Result sw_crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s, in sw_crypto_acipher_alloc_rsa_keypair()
201 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s)
204 void sw_crypto_acipher_free_rsa_keypair(struct rsa_keypair *s) in sw_crypto_acipher_free_rsa_keypair()
218 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key,
222 TEE_Result sw_crypto_acipher_gen_rsa_key(struct rsa_keypair *key, in sw_crypto_acipher_gen_rsa_key()
335 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key,
341 TEE_Result sw_crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key, in sw_crypto_acipher_rsanopad_decrypt()
393 struct rsa_keypair *key,
[all …]
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_acipher.h81 TEE_Result (*alloc_keypair)(struct rsa_keypair *key, size_t size_bits);
88 void (*free_keypair)(struct rsa_keypair *key);
90 TEE_Result (*gen_keypair)(struct rsa_keypair *key, size_t size_bits);
/optee_os-3.20.0/core/include/crypto/
A Dcrypto.h109 struct rsa_keypair { struct
187 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s,
192 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s);
214 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t key_size);
244 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key,
250 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key,
260 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key,
A Dcrypto_impl.h431 TEE_Result sw_crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s,
439 void sw_crypto_acipher_free_rsa_keypair(struct rsa_keypair *s);
441 TEE_Result sw_crypto_acipher_gen_rsa_key(struct rsa_keypair *key,
444 TEE_Result sw_crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key,
453 struct rsa_keypair *key,
466 TEE_Result sw_crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key,
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsa.c17 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *key, in crypto_acipher_alloc_rsa_keypair()
73 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *key) in crypto_acipher_free_rsa_keypair()
86 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t size_bits) in crypto_acipher_gen_rsa_key()
107 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key, in crypto_acipher_rsanopad_decrypt()
200 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
347 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
A Drsassa.c728 struct rsa_keypair *key = NULL; in rsassa_pss_sign()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Drsa.c41 static bool rsa_keypair_has_crt(struct rsa_keypair *key) in rsa_keypair_has_crt()
53 static bool keypair_supported(struct rsa_keypair *key, sss_cipher_type_t ctype) in keypair_supported()
174 struct rsa_keypair *key) in se050_inject_keypair()
233 static TEE_Result decrypt_es(uint32_t algo, struct rsa_keypair *key, in decrypt_es()
323 static TEE_Result decrypt_nopad(struct rsa_keypair *key, const uint8_t *src, in decrypt_nopad()
447 static TEE_Result sign_ssa(uint32_t algo, struct rsa_keypair *key, in sign_ssa()
517 static TEE_Result do_alloc_keypair(struct rsa_keypair *s, in do_alloc_keypair()
574 static void do_free_keypair(struct rsa_keypair *s) in do_free_keypair()
600 static TEE_Result do_gen_keypair(struct rsa_keypair *key, size_t kb) in do_gen_keypair()
/optee_os-3.20.0/core/drivers/crypto/versal/
A Drsa.c124 struct rsa_keypair *p = rsa_data->key.key; in do_decrypt()
303 static TEE_Result do_gen_keypair(struct rsa_keypair *s, size_t size_bits) in do_gen_keypair()
308 static TEE_Result do_alloc_keypair(struct rsa_keypair *s, size_t size_bits) in do_alloc_keypair()
323 static void do_free_keypair(struct rsa_keypair *s) in do_free_keypair()
/optee_os-3.20.0/core/crypto/
A Dcrypto.c522 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *s __unused, in crypto_acipher_alloc_rsa_keypair()
539 void crypto_acipher_free_rsa_keypair(struct rsa_keypair *s __unused) in crypto_acipher_free_rsa_keypair()
543 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key __unused, in crypto_acipher_gen_rsa_key()
549 TEE_Result crypto_acipher_rsanopad_decrypt(struct rsa_keypair *key __unused, in crypto_acipher_rsanopad_decrypt()
568 struct rsa_keypair *key __unused, in crypto_acipher_rsaes_decrypt()
592 struct rsa_keypair *key __unused, in crypto_acipher_rsassa_sign()
/optee_os-3.20.0/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-3.20.0/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-3.20.0/core/tee/
A Dtee_svc_cryp.c134 RAW_DATA(struct rsa_keypair, n)
141 RAW_DATA(struct rsa_keypair, e)
148 RAW_DATA(struct rsa_keypair, d)
155 RAW_DATA(struct rsa_keypair, p)
162 RAW_DATA(struct rsa_keypair, q)
169 RAW_DATA(struct rsa_keypair, dp)
176 RAW_DATA(struct rsa_keypair, dq)
183 RAW_DATA(struct rsa_keypair, qp)
552 sizeof(struct rsa_keypair),
2022 struct rsa_keypair *key = o->attr; in tee_svc_obj_generate_key_rsa()
/optee_os-3.20.0/core/pta/
A Dattestation.c28 static struct rsa_keypair *key;

Completed in 26 milliseconds