Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pk.h52 } rsa_key; typedef
54 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key);
57 int rsa_get_size(const rsa_key *key);
61 const rsa_key *key);
63 void rsa_free(rsa_key *key);
87 const rsa_key *key);
100 const rsa_key *key);
112 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key);
121 rsa_key *key);
124 rsa_key *key);
[all …]
A Dtomcrypt_math.h25 typedef void rsa_key; typedef
471 rsa_key *key);
485 const rsa_key *key);
A Dtomcrypt_private.h243 rsa_key *key); /* used by op-tee */
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c19 static int s_rsa_make_key(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in s_rsa_make_key()
99 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key) in rsa_make_key()
131 const unsigned char *e, unsigned long elen, rsa_key *key) in rsa_make_key_ubin_e()
157 int rsa_make_key_bn_e(prng_state *prng, int wprng, int size, void *e, rsa_key *key) in rsa_make_key_bn_e()
A Drsa_set.c30 rsa_key *key) in rsa_set_key()
72 rsa_key *key) in rsa_set_factors()
109 rsa_key *key) in rsa_set_crt_params()
A Drsa_import_x509.c19 static int _rsa_decode(const unsigned char *in, unsigned long inlen, rsa_key *key) in _rsa_decode()
35 int rsa_import_x509(const unsigned char *in, unsigned long inlen, rsa_key *key) in rsa_import_x509()
A Drsa_get_size.c24 int rsa_get_size(const rsa_key *key) in rsa_get_size()
A Drsa_free.c23 void rsa_free(rsa_key *key) in rsa_free()
A Drsa_sign_saltlen_get.c26 int rsa_sign_saltlen_get_max_ex(int padding, int hash_idx, const rsa_key *key) in rsa_sign_saltlen_get_max_ex()
A Drsa_decrypt_key.c37 int *stat, const rsa_key *key) in rsa_decrypt_key_ex()
A Drsa_encrypt_key.c39 const rsa_key *key) in rsa_encrypt_key_ex()
A Drsa_export.c27 int rsa_export(unsigned char *out, unsigned long *outlen, int type, const rsa_key *key) in rsa_export()
A Drsa_sign_hash.c38 const rsa_key *key) in rsa_sign_hash_ex()
A Drsa_import.c26 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key) in rsa_import()
A Drsa_import_pkcs8.c53 rsa_key *key) in rsa_import_pkcs8()
A Drsa_verify_hash.c36 int *stat, const rsa_key *key) in rsa_verify_hash_ex()
A Drsa_exptmod.c32 const rsa_key *key) in rsa_exptmod()
/optee_os/core/lib/libtomcrypt/
A Drsa.c151 rsa_key ltc_tmp_key; in crypto_acipher_gen_rsa_key()
180 static TEE_Result rsadorep(rsa_key *ltc_key, const uint8_t *src, in rsadorep()
246 rsa_key ltc_key = { 0, }; in crypto_acipher_rsanopad_encrypt()
261 rsa_key ltc_key = { 0, }; in crypto_acipher_rsanopad_decrypt()
289 rsa_key ltc_key = { 0, }; in crypto_acipher_rsaes_decrypt()
384 rsa_key ltc_key = { in crypto_acipher_rsaes_encrypt()
441 rsa_key ltc_key = { 0, }; in crypto_acipher_rsassa_sign()
533 rsa_key ltc_key = { in crypto_acipher_rsassa_verify()
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_sizes.c240 _SZ_STRINGIFY_T(rsa_key),

Completed in 17 milliseconds