Searched refs:xbits (Results 1 – 10 of 10) sorted by relevance
| /optee_os/core/lib/libtomcrypt/src/pk/dh/ |
| H A D | dh_make_key.c | 49 int dh_make_key(prng_state *prng, int wprng, void *q, int xbits, dh_key *key) in dh_make_key() argument 71 if (xbits) { in dh_make_key() 72 LTC_ARGCHK((xbits % 8) == 0); in dh_make_key() 73 key_size = xbits / 8; in dh_make_key()
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | hpre_dh.c | 214 msg->xbytes = BITS_TO_BYTES(key->xbits); in hpre_dh_params_bn2bin() 300 key->xbits = p_bits; in hpre_dh_gen_keypair() 301 ret = hpre_dh_gen_privkey(key->x, key->xbits); in hpre_dh_gen_keypair() 307 key->xbits = key_size; in hpre_dh_gen_keypair() 342 key->xbits = crypto_bignum_num_bits(key->x); in hpre_dh_do_shared_secret() 343 if (!key->xbits) { in hpre_dh_do_shared_secret()
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | dh.c | 47 size_t xbits, size_t key_size) in crypto_acipher_gen_dh_key() argument 68 if (xbits == 0) in crypto_acipher_gen_dh_key() 71 xbytes = xbits / 8; in crypto_acipher_gen_dh_key()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | dh.c | 39 size_t xbits, size_t key_size) in crypto_acipher_gen_dh_key() argument 55 ltc_res = dh_make_key(NULL, find_prng("prng_crypto"), q, xbits, in crypto_acipher_gen_dh_key()
|
| /optee_os/core/drivers/crypto/crypto_api/acipher/ |
| H A D | dh.c | 34 size_t xbits, size_t key_size) in crypto_acipher_gen_dh_key() argument 49 ret = dh->gen_keypair(key, q, xbits); in crypto_acipher_gen_dh_key()
|
| /optee_os/core/drivers/crypto/caam/acipher/ |
| H A D | caam_dh.c | 100 size_t key_size = inkey->xbits / 8; in do_keypriv_conv() 370 key->xbits = n_bytes * 8; in do_gen_keypair()
|
| /optee_os/core/include/crypto/ |
| H A D | crypto.h | 153 uint32_t xbits; /* Number of bits in the private key */ member 227 size_t xbits, size_t key_size);
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_pk.h | 150 int dh_make_key(prng_state *prng, int wprng, void *q, int xbits, dh_key *key); /* OP-TEE */
|
| /optee_os/core/crypto/ |
| H A D | crypto.c | 695 size_t xbits __unused, in crypto_acipher_gen_dh_key()
|
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | 302 RAW_DATA(struct dh_keypair, xbits) 2199 dh_xbits = tee_dh_key->xbits; in tee_svc_obj_generate_key_dh()
|