| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_pk.h | 45 } 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 D | tomcrypt_math.h | 18 typedef void rsa_key; typedef 464 rsa_key *key); 478 const rsa_key *key);
|
| H A D | tomcrypt_private.h | 292 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 D | rsa_key.c | 76 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 D | rsa_import_x509.c | 12 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 D | rsa_set.c | 23 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 D | rsa_make_key.c | 12 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 D | rsa_get_size.c | 17 int rsa_get_size(const rsa_key *key) in rsa_get_size()
|
| H A D | rsa_import.c | 24 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 D | rsa_sign_saltlen_get.c | 19 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 D | rsa_decrypt_key.c | 32 int *stat, const rsa_key *key) in rsa_decrypt_key_ex()
|
| H A D | rsa_encrypt_key.c | 33 const rsa_key *key) in rsa_encrypt_key_ex()
|
| H A D | rsa_export.c | 20 int rsa_export(unsigned char *out, unsigned long *outlen, int type, const rsa_key *key) in rsa_export()
|
| H A D | rsa_import_pkcs8.c | 46 rsa_key *key) in rsa_import_pkcs8()
|
| H A D | rsa_sign_hash.c | 31 const rsa_key *key) in rsa_sign_hash_ex()
|
| H A D | rsa_verify_hash.c | 30 int *stat, const rsa_key *key) in rsa_verify_hash_ex()
|
| H A D | rsa_exptmod.c | 25 const rsa_key *key) in rsa_exptmod()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | rsa.c | 184 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 D | sub.mk | 291 srcs-$(_CFG_CORE_LTC_RSA) += src/pk/rsa/rsa_key.c
|
| /optee_os/scripts/ |
| H A D | sign_rproc_fw.py | 341 def rsa_key(key_file, key_pwd): function 350 1: rsa_key,
|
| /optee_os/core/lib/libtomcrypt/src/misc/crypt/ |
| H A D | crypt_sizes.c | 233 SZ_STRINGIFY_T(rsa_key),
|