Home
last modified time | relevance | path

Searched refs:privkey (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_montgomery.c228 uint8_t *privkey, uint8_t *pubkey) in hpre_montgomery_params_fill() argument
238 memcpy(k, privkey, msg->curve_bytes); in hpre_montgomery_params_fill()
275 uint8_t *privkey, in hpre_montgomery_request_init() argument
296 ret = hpre_montgomery_params_fill(curve, msg, privkey, pubkey); in hpre_montgomery_request_init()
H A Dhpre_ecc.c755 struct hpre_ecc_msg *msg, struct bignum *privkey, in hpre_ecc_dh_params_fill() argument
769 crypto_bignum_bn2bin(privkey, d); in hpre_ecc_dh_params_fill()
770 ecc_dh->d_bytes = crypto_bignum_num_bytes(privkey); in hpre_ecc_dh_params_fill()