/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_verify_key.c | 30 int dsa_verify_key(const dsa_key *key, int *stat) in dsa_verify_key() 51 int dsa_int_validate_pqg(const dsa_key *key, int *stat) in dsa_int_validate_pqg() 105 int dsa_int_validate_primes(const dsa_key *key, int *stat) in dsa_int_validate_primes() 140 int dsa_int_validate_xy(const dsa_key *key, int *stat) in dsa_int_validate_xy()
|
A D | dsa_set.c | 29 dsa_key *key) in dsa_set_pqg() 74 int dsa_set_key(const unsigned char *in, unsigned long inlen, int type, dsa_key *key) in dsa_set_key()
|
/optee_os/core/drivers/crypto/crypto_api/acipher/ |
A D | rsa.c | 15 TEE_Result crypto_acipher_alloc_rsa_keypair(struct rsa_keypair *key, in crypto_acipher_alloc_rsa_keypair() 37 TEE_Result crypto_acipher_alloc_rsa_public_key(struct rsa_public_key *key, in crypto_acipher_alloc_rsa_public_key() 58 void crypto_acipher_free_rsa_public_key(struct rsa_public_key *key) in crypto_acipher_free_rsa_public_key() 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() 145 TEE_Result crypto_acipher_rsanopad_encrypt(struct rsa_public_key *key, in crypto_acipher_rsanopad_encrypt() 198 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt() 259 struct rsa_public_key *key, in crypto_acipher_rsaes_encrypt() 343 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign() [all …]
|
A D | ecc.c | 77 static void ecc_free_public_key(struct ecc_public_key *key) in ecc_free_public_key() 96 static TEE_Result ecc_generate_keypair(struct ecc_keypair *key, in ecc_generate_keypair() 131 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign() 203 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify() 326 TEE_Result drvcrypt_asym_alloc_ecc_keypair(struct ecc_keypair *key, in drvcrypt_asym_alloc_ecc_keypair() 363 TEE_Result drvcrypt_asym_alloc_ecc_public_key(struct ecc_public_key *key, in drvcrypt_asym_alloc_ecc_public_key()
|
A D | dsa.c | 37 TEE_Result crypto_acipher_alloc_dsa_keypair(struct dsa_keypair *key, in crypto_acipher_alloc_dsa_keypair() 65 TEE_Result crypto_acipher_alloc_dsa_public_key(struct dsa_public_key *key, in crypto_acipher_alloc_dsa_public_key() 93 TEE_Result crypto_acipher_gen_dsa_key(struct dsa_keypair *key, size_t key_size) in crypto_acipher_gen_dsa_key() 121 TEE_Result crypto_acipher_dsa_sign(uint32_t algo, struct dsa_keypair *key, in crypto_acipher_dsa_sign() 181 TEE_Result crypto_acipher_dsa_verify(uint32_t algo, struct dsa_public_key *key, in crypto_acipher_dsa_verify()
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_make_key.c | 28 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key) in ecc_make_key() 37 int ecc_make_key_ex(prng_state *prng, int wprng, ecc_key *key, const ltc_ecc_curve *cu) in ecc_make_key_ex() 45 int ecc_generate_key(prng_state *prng, int wprng, ecc_key *key) in ecc_generate_key()
|
A D | ecc_set_curve.c | 15 int ecc_set_curve(const ltc_ecc_curve *cu, ecc_key *key) in ecc_set_curve() 51 int ecc_set_curve_by_size(int size, ecc_key *key) in ecc_set_curve_by_size()
|
A D | ecc_ansi_x963_import.c | 25 int ecc_ansi_x963_import(const unsigned char *in, unsigned long inlen, ecc_key *key) in ecc_ansi_x963_import() 30 int ecc_ansi_x963_import_ex(const unsigned char *in, unsigned long inlen, ecc_key *key, const ltc_e… in ecc_ansi_x963_import_ex()
|
A D | ecc_set_curve_internal.c | 22 static void _ecc_oid_lookup(ecc_key *key) in _ecc_oid_lookup() 46 int ecc_copy_curve(const ecc_key *srckey, ecc_key *key) in ecc_copy_curve() 86 …id *a, void *b, void *prime, void *order, void *gx, void *gy, unsigned long cofactor, ecc_key *key) in ecc_set_curve_from_mpis()
|
A D | ecc_import.c | 27 int ecc_import(const unsigned char *in, unsigned long inlen, ecc_key *key) in ecc_import() 40 int ecc_import_ex(const unsigned char *in, unsigned long inlen, ecc_key *key, const ltc_ecc_curve *… in ecc_import_ex()
|
A D | ecc_import_x509.c | 14 static int _ecc_import_x509_with_oid(const unsigned char *in, unsigned long inlen, ecc_key *key) in _ecc_import_x509_with_oid() 40 static int _ecc_import_x509_with_curve(const unsigned char *in, unsigned long inlen, ecc_key *key) in _ecc_import_x509_with_curve() 93 int ecc_import_subject_public_key_info(const unsigned char *in, unsigned long inlen, ecc_key *key) in ecc_import_subject_public_key_info() 114 int ecc_import_x509(const unsigned char *in, unsigned long inlen, ecc_key *key) in ecc_import_x509()
|
/optee_os/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_set.c | 27 dh_key *key) in dh_set_pg() 57 int dh_set_pg_groupsize(int groupsize, dh_key *key) in dh_set_pg_groupsize() 92 int dh_set_key(const unsigned char *in, unsigned long inlen, int type, dh_key *key) in dh_set_key()
|
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_import_x509.c | 19 static int _ed25519_decode(const unsigned char *in, unsigned long inlen, curve25519_key *key) in _ed25519_decode() 33 int ed25519_import_x509(const unsigned char *in, unsigned long inlen, curve25519_key *key) in ed25519_import_x509()
|
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_import_x509.c | 19 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 D | rsa_make_key.c | 19 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 D | rsa_set.c | 30 rsa_key *key) in rsa_set_key() 72 rsa_key *key) in rsa_set_factors() 109 rsa_key *key) in rsa_set_crt_params()
|
/optee_os/core/lib/libtomcrypt/src/pk/x25519/ |
A D | x25519_import_x509.c | 19 static int _x25519_decode(const unsigned char *in, unsigned long inlen, curve25519_key *key) in _x25519_decode() 33 int x25519_import_x509(const unsigned char *in, unsigned long inlen, curve25519_key *key) in x25519_import_x509()
|
/optee_os/lib/libmbedtls/core/ |
A D | aes.c | 16 TEE_Result crypto_aes_expand_enc_key(const void *key, size_t key_len, in crypto_aes_expand_enc_key() 73 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc() 88 int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_dec()
|
A D | rsa.c | 96 struct rsa_keypair *key) in rsa_init_from_key_pair() 202 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t key_size) in crypto_acipher_gen_rsa_key() 242 TEE_Result crypto_acipher_rsanopad_encrypt(struct rsa_public_key *key, in crypto_acipher_rsanopad_encrypt() 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() 439 struct rsa_public_key *key, in crypto_acipher_rsaes_encrypt() 509 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign() 597 struct rsa_public_key *key, in crypto_acipher_rsassa_verify()
|
/optee_os/core/lib/libtomcrypt/src/ciphers/safer/ |
A D | safer.c | 105 safer_key_t key) in _Safer_Expand_Userkey() 174 safer_key_t key) in Safer_Expand_Userkey() 181 int safer_k64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_k64_setup() 198 int safer_sk64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_sk64_setup() 215 int safer_k128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_k128_setup() 232 int safer_sk128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_sk128_setup() 260 const unsigned char *key; in _safer_ecb_encrypt() local 314 const unsigned char *key; in _safer_ecb_decrypt() local
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | rsa.c | 87 struct rsa_public_key *key) in se050_inject_public_key() 129 struct rsa_keypair *key) in se050_inject_keypair() 188 static TEE_Result decrypt_es(uint32_t algo, struct rsa_keypair *key, in decrypt_es() 243 static TEE_Result encrypt_es(uint32_t algo, struct rsa_public_key *key, in encrypt_es() 278 static TEE_Result decrypt_nopad(struct rsa_keypair *key, const uint8_t *src, in decrypt_nopad() 342 static TEE_Result encrypt_nopad(struct rsa_public_key *key, const uint8_t *src, in encrypt_nopad() 402 static TEE_Result sign_ssa(uint32_t algo, struct rsa_keypair *key, in sign_ssa() 441 static TEE_Result verify_ssa(uint32_t algo, struct rsa_public_key *key, in verify_ssa() 555 static TEE_Result do_gen_keypair(struct rsa_keypair *key, size_t kb) in do_gen_keypair()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | aesni.c | 275 const unsigned char *key ) in aesni_setkey_enc_128() 325 const unsigned char *key ) in aesni_setkey_enc_192() 382 const unsigned char *key ) in aesni_setkey_enc_256() 448 const unsigned char *key, in mbedtls_aesni_setkey_enc()
|
/optee_os/core/arch/arm/crypto/ |
A D | aes_armv8a_ce.c | 120 TEE_Result crypto_accel_aes_expand_keys(const void *key, size_t key_len, in crypto_accel_aes_expand_keys() 156 void crypto_accel_aes_ecb_enc(void *out, const void *in, const void *key, in crypto_accel_aes_ecb_enc() 169 void crypto_accel_aes_ecb_dec(void *out, const void *in, const void *key, in crypto_accel_aes_ecb_dec() 182 void crypto_accel_aes_cbc_enc(void *out, const void *in, const void *key, in crypto_accel_aes_cbc_enc() 195 void crypto_accel_aes_cbc_dec(void *out, const void *in, const void *key, in crypto_accel_aes_cbc_dec() 208 void crypto_accel_aes_ctr_be_enc(void *out, const void *in, const void *key, in crypto_accel_aes_ctr_be_enc()
|
/optee_os/core/drivers/crypto/caam/acipher/ |
A D | caam_rsa.c | 87 static void do_free_keypair(struct rsa_keypair *key) in do_free_keypair() 104 static void do_keypair_free(struct caam_rsa_keypair *key) in do_keypair_free() 352 static TEE_Result do_allocate_keypair(struct rsa_keypair *key, size_t size_bits) in do_allocate_keypair() 415 static TEE_Result do_allocate_publickey(struct rsa_public_key *key, in do_allocate_publickey() 449 static void do_free_publickey(struct rsa_public_key *key) in do_free_publickey() 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() 1163 struct caam_rsa_keypair key = { }; in do_caam_encrypt() local 1266 struct caam_rsa_keypair key = { }; in do_caam_decrypt() local
|
/optee_os/core/lib/libtomcrypt/ |
A D | rsa.c | 148 TEE_Result crypto_acipher_gen_rsa_key(struct rsa_keypair *key, size_t key_size) in crypto_acipher_gen_rsa_key() 241 TEE_Result crypto_acipher_rsanopad_encrypt(struct rsa_public_key *key, in crypto_acipher_rsanopad_encrypt() 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() 376 struct rsa_public_key *key, in crypto_acipher_rsaes_encrypt() 432 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign() 524 struct rsa_public_key *key, in crypto_acipher_rsassa_verify()
|