Home
last modified time | relevance | path

Searched refs:dh_key (Results 1 – 15 of 15) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/dh/
H A Ddh_set.c20 dh_key *key) in dh_set_pg()
50 int dh_set_pg_groupsize(int groupsize, dh_key *key) in dh_set_pg_groupsize()
85 int dh_set_key(const unsigned char *in, unsigned long inlen, int type, dh_key *key) in dh_set_key()
H A Ddh_shared_secret.c16 int dh_shared_secret(const dh_key *private_key, const dh_key *public_key, in dh_shared_secret()
H A Ddh_free.c12 void dh_free(dh_key *key) in dh_free()
H A Ddh.c221 int dh_get_groupsize(const dh_key *key) in dh_get_groupsize()
H A Ddh_export_key.c16 int dh_export_key(void *out, unsigned long *outlen, int type, const dh_key *key) in dh_export_key()
H A Ddh_set_pg_dhparam.c18 int dh_set_pg_dhparam(const unsigned char *dhparam, unsigned long dhparamlen, dh_key *key) in dh_set_pg_dhparam()
H A Ddh_export.c16 int dh_export(unsigned char *out, unsigned long *outlen, int type, const dh_key *key) in dh_export()
H A Ddh_check_pubkey.c13 int dh_check_pubkey(const dh_key *key) in dh_check_pubkey()
H A Ddh_generate_key.c37 int dh_generate_key(prng_state *prng, int wprng, dh_key *key) in dh_generate_key()
H A Ddh_import.c15 int dh_import(const unsigned char *in, unsigned long inlen, dh_key *key) in dh_import()
H A Ddh_make_key.c49 int dh_make_key(prng_state *prng, int wprng, void *q, int xbits, dh_key *key) in dh_make_key()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_pk.h135 } dh_key; typedef
137 int dh_get_groupsize(const dh_key *key);
139 int dh_export(unsigned char *out, unsigned long *outlen, int type, const dh_key *key);
140 int dh_import(const unsigned char *in, unsigned long inlen, dh_key *key);
144 dh_key *key);
145 int dh_set_pg_dhparam(const unsigned char *dhparam, unsigned long dhparamlen, dh_key *key);
146 int dh_set_pg_groupsize(int groupsize, dh_key *key);
148 int dh_set_key(const unsigned char *in, unsigned long inlen, int type, dh_key *key);
149 int dh_generate_key(prng_state *prng, int wprng, dh_key *key);
150 int dh_make_key(prng_state *prng, int wprng, void *q, int xbits, dh_key *key); /* OP-TEE */
[all …]
H A Dtomcrypt_private.h303 int dh_check_pubkey(const dh_key *key);
/optee_os/core/lib/libtomcrypt/
H A Ddh.c42 dh_key ltc_tmp_key = { }; in crypto_acipher_gen_dh_key()
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
H A Dcrypt_sizes.c239 SZ_STRINGIFY_T(dh_key),