Home
last modified time | relevance | path

Searched refs:dh_keypair (Results 1 – 9 of 9) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Ddh.c15 TEE_Result crypto_acipher_alloc_dh_keypair(struct dh_keypair *s, in crypto_acipher_alloc_dh_keypair()
38 TEE_Result crypto_acipher_gen_dh_key(struct dh_keypair *key, struct bignum *q, in crypto_acipher_gen_dh_key()
69 TEE_Result crypto_acipher_dh_shared_secret(struct dh_keypair *private_key, in crypto_acipher_dh_shared_secret()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Ddh.c12 TEE_Result crypto_acipher_alloc_dh_keypair(struct dh_keypair *key, in crypto_acipher_alloc_dh_keypair()
33 TEE_Result crypto_acipher_gen_dh_key(struct dh_keypair *key, struct bignum *q, in crypto_acipher_gen_dh_key()
57 TEE_Result crypto_acipher_dh_shared_secret(struct dh_keypair *private_key, in crypto_acipher_dh_shared_secret()
/optee_os/lib/libmbedtls/core/
H A Ddh.c17 TEE_Result crypto_acipher_alloc_dh_keypair(struct dh_keypair *s, in crypto_acipher_alloc_dh_keypair()
45 TEE_Result crypto_acipher_gen_dh_key(struct dh_keypair *key, in crypto_acipher_gen_dh_key()
97 TEE_Result crypto_acipher_dh_shared_secret(struct dh_keypair *private_key, in crypto_acipher_dh_shared_secret()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.c20 static TEE_Result hpre_dh_alloc_keypair(struct dh_keypair *key, in hpre_dh_alloc_keypair()
207 struct dh_keypair *key, in hpre_dh_params_bn2bin()
250 struct dh_keypair *key, in hpre_dh_request_init()
278 static TEE_Result hpre_dh_gen_keypair(struct dh_keypair *key, in hpre_dh_gen_keypair()
333 struct dh_keypair *key = NULL; in hpre_dh_do_shared_secret()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_dh.c59 const struct dh_keypair *inkey) in do_keypair_conv_p_g()
97 const struct dh_keypair *inkey) in do_keypriv_conv()
161 static TEE_Result do_allocate_keypair(struct dh_keypair *key, size_t size_bits) in do_allocate_keypair()
216 static TEE_Result do_gen_keypair(struct dh_keypair *key, in do_gen_keypair()
398 struct dh_keypair *inkeypair = sdata->key_priv; in do_shared_secret()
/optee_os/core/drivers/crypto/crypto_api/include/
H A Ddrvcrypt_acipher.h190 TEE_Result (*alloc_keypair)(struct dh_keypair *key, size_t size_bits);
192 TEE_Result (*gen_keypair)(struct dh_keypair *key, struct bignum *q,
/optee_os/core/include/crypto/
H A Dcrypto.h142 struct dh_keypair { struct
202 TEE_Result crypto_acipher_alloc_dh_keypair(struct dh_keypair *s,
226 TEE_Result crypto_acipher_gen_dh_key(struct dh_keypair *key, struct bignum *q,
252 TEE_Result crypto_acipher_dh_shared_secret(struct dh_keypair *private_key,
/optee_os/core/crypto/
H A Dcrypto.c687 TEE_Result crypto_acipher_alloc_dh_keypair(struct dh_keypair *s __unused, in crypto_acipher_alloc_dh_keypair()
693 TEE_Result crypto_acipher_gen_dh_key(struct dh_keypair *key __unused, in crypto_acipher_gen_dh_key()
702 crypto_acipher_dh_shared_secret(struct dh_keypair *private_key __unused, in crypto_acipher_dh_shared_secret()
/optee_os/core/tee/
H A Dtee_svc_cryp.c267 RAW_DATA(struct dh_keypair, p)
274 RAW_DATA(struct dh_keypair, g)
281 RAW_DATA(struct dh_keypair, y)
288 RAW_DATA(struct dh_keypair, x)
295 RAW_DATA(struct dh_keypair, q)
302 RAW_DATA(struct dh_keypair, xbits)
615 sizeof(struct dh_keypair),
2184 struct dh_keypair *tee_dh_key; in tee_svc_obj_generate_key_dh()
2194 tee_dh_key = (struct dh_keypair *)o->attr; in tee_svc_obj_generate_key_dh()