Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_ecc.c462 struct hpre_ecc_dh *ecc_dh = &msg->param_size.ecc_dh; in ecc_dh_out_to_crypto_bin() local
468 ecc_dh->rx_bytes); in ecc_dh_out_to_crypto_bin()
475 ecc_dh->ry_bytes); in ecc_dh_out_to_crypto_bin()
712 struct hpre_ecc_dh *ecc_dh = &msg->param_size.ecc_dh; in hpre_ecc_dh_transfer_key() local
724 ret = hpre_bin_from_crypto_bin(d, d, msg->key_bytes, ecc_dh->d_bytes); in hpre_ecc_dh_transfer_key()
733 struct hpre_ecc_dh *ecc_dh = &msg->param_size.ecc_dh; in hpre_ecc_dh_transfer_in() local
739 ecc_dh->x_bytes); in hpre_ecc_dh_transfer_in()
746 ecc_dh->y_bytes); in hpre_ecc_dh_transfer_in()
758 struct hpre_ecc_dh *ecc_dh = &msg->param_size.ecc_dh; in hpre_ecc_dh_params_fill() local
770 ecc_dh->d_bytes = crypto_bignum_num_bytes(privkey); in hpre_ecc_dh_params_fill()
[all …]
H A Dhpre_ecc.h77 struct hpre_ecc_dh ecc_dh; member