Home
last modified time | relevance | path

Searched refs:xbytes (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libmbedtls/core/
H A Ddh.c53 size_t xbytes = 0; in crypto_acipher_gen_dh_key() local
69 xbytes = len; in crypto_acipher_gen_dh_key()
71 xbytes = xbits / 8; in crypto_acipher_gen_dh_key()
78 lmd_res = mbedtls_dhm_make_public(&dhm, (int)xbytes, buf, in crypto_acipher_gen_dh_key()
84 crypto_bignum_bin2bn(buf, xbytes, key->y); in crypto_acipher_gen_dh_key()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.h25 uint32_t xbytes; member
H A Dhpre_dh.c214 msg->xbytes = BITS_TO_BYTES(key->xbits); in hpre_dh_params_bn2bin()
229 ret = hpre_bin_from_crypto_bin(x, x, msg->key_bytes, msg->xbytes); in hpre_dh_params_bn2bin()