Home
last modified time | relevance | path

Searched refs:ecc_sign (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_ecc.c484 struct hpre_ecc_sign *ecc_sign = &msg->param_size.ecc_sign; in ecc_sign_out_to_crypto_bin() local
490 ecc_sign->r_bytes); in ecc_sign_out_to_crypto_bin()
497 ecc_sign->s_bytes); in ecc_sign_out_to_crypto_bin()
1022 struct hpre_ecc_sign *ecc_sign = &msg->param_size.ecc_sign; in hpre_ecc_sign_params_fill() local
1037 ecc_sign->d_bytes = crypto_bignum_num_bytes(ecc_key->d); in hpre_ecc_sign_params_fill()
1043 ecc_sign->k_bytes = crypto_bignum_num_bytes(rand_k); in hpre_ecc_sign_params_fill()
1045 ecc_sign->e_bytes = MIN(sdata->message.length, msg->curve_bytes); in hpre_ecc_sign_params_fill()
1046 memcpy(e, sdata->message.data, ecc_sign->e_bytes); in hpre_ecc_sign_params_fill()
1047 if (is_all_zero(e, ecc_sign->e_bytes, "ecc sign msg_e")) in hpre_ecc_sign_params_fill()
1056 ecc_sign->d_bytes); in hpre_ecc_sign_params_fill()
[all …]
H A Dhpre_ecc.h78 struct hpre_ecc_sign ecc_sign; member
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c161 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign() function
497 .sign = ecc_sign,
/optee_os/lib/libmbedtls/core/
H A Decc.c164 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign() function
357 .sign = ecc_sign,