Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_pka.h34 struct stm32_pka_bn { struct
40 struct stm32_pka_bn x; argument
41 struct stm32_pka_bn y;
46 TEE_Result stm32_pka_compute_montgomery(const struct stm32_pka_bn *n,
48 struct stm32_pka_bn *r2modn);
49 TEE_Result stm32_pka_ecc_compute_montgomery(struct stm32_pka_bn *r2modn,
52 const struct stm32_pka_bn *r2modn,
54 TEE_Result stm32_pka_ecc_scalar_mul(const struct stm32_pka_bn *k,
58 TEE_Result stm32_pka_edac_gen_pubkey(const struct stm32_pka_bn *k,
62 struct stm32_pka_bn *sig_r,
[all …]
H A Dstm32_pka.c247 struct stm32_pka_bn a;
248 struct stm32_pka_bn b;
249 struct stm32_pka_bn p;
252 struct stm32_pka_bn n;
937 static bool is_zero(const struct stm32_pka_bn *d) in is_zero()
958 static bool is_smaller(const struct stm32_pka_bn *a, in is_smaller()
959 const struct stm32_pka_bn *b) in is_smaller()
997 struct stm32_pka_bn *v, in stm32_pka_compute_r2modn_ret()
1015 TEE_Result stm32_pka_compute_montgomery(const struct stm32_pka_bn *n, in stm32_pka_compute_montgomery()
1017 struct stm32_pka_bn *r2modn) in stm32_pka_compute_montgomery()
[all …]
H A Decc.c73 struct stm32_pka_bn d = { }; in stm32_gen_keypair()
152 struct stm32_pka_bn d = { }; in sign()
153 struct stm32_pka_bn k = { }; in sign()
154 struct stm32_pka_bn sig_r = { }; in sign()
155 struct stm32_pka_bn sig_s = { }; in sign()
226 struct stm32_pka_bn sig_r = { }; in verify()
227 struct stm32_pka_bn sig_s = { }; in verify()
365 struct stm32_pka_bn r2modn = { }; in is_point_on_curve()
392 struct stm32_pka_bn d = { }; in shared_secret()