Home
last modified time | relevance | path

Searched refs:rsa_key (Results 1 – 21 of 21) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_pk.h45 } rsa_key; typedef
47 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key);
49 const unsigned char *e, unsigned long elen, rsa_key *key);
50 int rsa_get_size(const rsa_key *key);
54 const rsa_key *key);
56 void rsa_free(rsa_key *key);
81 const rsa_key *key);
88 int *stat, const rsa_key *key);
95 const rsa_key *key);
101 int *stat, const rsa_key *key);
[all …]
H A Dtomcrypt_math.h18 typedef void rsa_key; typedef
464 rsa_key *key);
478 const rsa_key *key);
H A Dtomcrypt_private.h292 int rsa_init(rsa_key *key);
293 void rsa_shrink_key(rsa_key *key);
295 rsa_key *key); /* used by op-tee */
296 int rsa_import_pkcs1(const unsigned char *in, unsigned long inlen, rsa_key *key);
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
H A Drsa_key.c76 void rsa_shrink_key(rsa_key *key) in rsa_shrink_key()
87 int rsa_init(rsa_key *key) in rsa_init()
97 void rsa_free(rsa_key *key) in rsa_free()
H A Drsa_import_x509.c12 static int s_rsa_decode(const unsigned char *in, unsigned long inlen, rsa_key *key) in s_rsa_decode()
28 int rsa_import_x509(const unsigned char *in, unsigned long inlen, rsa_key *key) in rsa_import_x509()
H A Drsa_set.c23 rsa_key *key) in rsa_set_key()
64 rsa_key *key) in rsa_set_factors()
101 rsa_key *key) in rsa_set_crt_params()
H A Drsa_make_key.c12 static int s_rsa_make_key(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in s_rsa_make_key()
92 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key()
124 const unsigned char *e, unsigned long elen, rsa_key *key) in rsa_make_key_ubin_e()
150 int rsa_make_key_bn_e(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in rsa_make_key_bn_e()
H A Drsa_get_size.c17 int rsa_get_size(const rsa_key *key) in rsa_get_size()
H A Drsa_import.c24 int rsa_import_pkcs1(const unsigned char *in, unsigned long inlen, rsa_key *key) in rsa_import_pkcs1()
85 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key) in rsa_import()
H A Drsa_sign_saltlen_get.c19 int rsa_sign_saltlen_get_max_ex(int padding, int hash_idx, const rsa_key *key) in rsa_sign_saltlen_get_max_ex()
H A Drsa_decrypt_key.c32 int *stat, const rsa_key *key) in rsa_decrypt_key_ex()
H A Drsa_encrypt_key.c33 const rsa_key *key) in rsa_encrypt_key_ex()
H A Drsa_export.c20 int rsa_export(unsigned char *out, unsigned long *outlen, int type, const rsa_key *key) in rsa_export()
H A Drsa_import_pkcs8.c46 rsa_key *key) in rsa_import_pkcs8()
H A Drsa_sign_hash.c31 const rsa_key *key) in rsa_sign_hash_ex()
H A Drsa_verify_hash.c30 int *stat, const rsa_key *key) in rsa_verify_hash_ex()
H A Drsa_exptmod.c25 const rsa_key *key) in rsa_exptmod()
/optee_os/core/lib/libtomcrypt/
H A Drsa.c184 rsa_key ltc_tmp_key; in sw_crypto_acipher_gen_rsa_key()
213 static TEE_Result rsadorep(rsa_key *ltc_key, const uint8_t *src, in rsadorep()
285 rsa_key ltc_key = { 0, }; in sw_crypto_acipher_rsanopad_encrypt()
307 rsa_key ltc_key = { 0, }; in sw_crypto_acipher_rsanopad_decrypt()
349 rsa_key ltc_key = { 0, }; in sw_crypto_acipher_rsaes_decrypt()
466 rsa_key ltc_key = { in sw_crypto_acipher_rsaes_encrypt()
538 rsa_key ltc_key = { 0, }; in sw_crypto_acipher_rsassa_sign()
638 rsa_key ltc_key = { in sw_crypto_acipher_rsassa_verify()
H A Dsub.mk291 srcs-$(_CFG_CORE_LTC_RSA) += src/pk/rsa/rsa_key.c
/optee_os/scripts/
H A Dsign_rproc_fw.py341 def rsa_key(key_file, key_pwd): function
350 1: rsa_key,
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
H A Dcrypt_sizes.c233 SZ_STRINGIFY_T(rsa_key),