Home
last modified time | relevance | path

Searched refs:nn_bitlen (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/libecc/src/examples/sig/common/
H A Dcommon.h21 ret = nn_bitlen(x, &blen); EG(ret, err); in _i2osp()
113 ret = nn_bitlen(&_m_msb_fixed, &msb_bit_len); EG(ret, err); in _fix_scalar_msb()
114 ret = nn_bitlen(q, &q_bitlen); EG(ret, err); in _fix_scalar_msb()
124 ret = nn_bitlen(&_m_msb_fixed, &msb_bit_len); EG(ret, err); in _fix_scalar_msb()
125 ret = nn_bitlen(&q_square, &q_square_bitlen); EG(ret, err); in _fix_scalar_msb()
195 ret = nn_bitlen(exp, &explen); EG(ret, err); in _nn_mod_pow_insecure()
/freebsd/crypto/libecc/src/examples/sig/sdsa/
H A Dsdsa.c134 ret = nn_bitlen(p, &alpha); EG(ret, err); in sdsa_sign()
136 ret = nn_bitlen(q, &beta); EG(ret, err); in sdsa_sign()
294 ret = nn_bitlen(p, &alpha); EG(ret, err); in sdsa_verify()
296 ret = nn_bitlen(q, &beta); EG(ret, err); in sdsa_verify()
/freebsd/crypto/libecc/src/curves/
H A Dprj_pt.c1346 ret = nn_bitlen(&m_msb_fixed, &msb_bit_len); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1347 ret = nn_bitlen(curve_order, &order_bitlen); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1357 ret = nn_bitlen(&m_msb_fixed, &msb_bit_len); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1358 ret = nn_bitlen(&curve_order_square, &curve_order_square_bitlen); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1366 ret = nn_bitlen(&m_msb_fixed, &mlen); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
1493 ret = nn_bitlen(&m_msb_fixed, &msb_bit_len); EG(ret, err1); in _prj_pt_mul_ltr_monty_dbl_add_always()
1494 ret = nn_bitlen(curve_order, &order_bitlen); EG(ret, err1); in _prj_pt_mul_ltr_monty_dbl_add_always()
1504 ret = nn_bitlen(&m_msb_fixed, &msb_bit_len); EG(ret, err1); in _prj_pt_mul_ltr_monty_dbl_add_always()
1505 ret = nn_bitlen(&curve_order_square, &curve_order_square_bitlen); EG(ret, err1); in _prj_pt_mul_ltr_monty_dbl_add_always()
1517 ret = nn_bitlen(&m_msb_fixed, &mlen); EG(ret, err); in _prj_pt_mul_ltr_monty_dbl_add_always()
[all …]
/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn_logical.h31 ATTRIBUTE_WARN_UNUSED_RET int nn_bitlen(nn_src_t A, bitcnt_t *blen);
/freebsd/crypto/libecc/src/nn/
H A Dnn_logical.c109 ret = nn_bitlen(in, &blen); EG(ret, err); in nn_lshift()
230 ret = nn_bitlen(in, &blen); EG(ret, err); in nn_rshift()
534 int nn_bitlen(nn_src_t in, bitcnt_t *blen) in nn_bitlen() function
H A Dnn_rand.c104 ret = nn_bitlen(q, &q_bit_len); EG(ret, err); in nn_get_random_mod()
H A Dnn_mod_pow.c58 ret = nn_bitlen(exp, &explen); EG(ret, err); in _nn_exp_monty_ladder_ltr()
H A Dnn_div.c828 ret = nn_bitlen(&p, &p_bitlen); EG(ret, err); in nn_compute_div_coefs()
/freebsd/crypto/libecc/src/examples/sig/kcdsa/
H A Dkcdsa.c182 ret = nn_bitlen(p, &alpha); EG(ret, err); in kcdsa_sign()
184 ret = nn_bitlen(q, &beta); EG(ret, err); in kcdsa_sign()
388 ret = nn_bitlen(p, &alpha); EG(ret, err); in kcdsa_verify()
390 ret = nn_bitlen(q, &beta); EG(ret, err); in kcdsa_verify()
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/
H A Dgostr34_10_94.c130 ret = nn_bitlen(q, &N); EG(ret, err); in gostr34_10_94_sign()
285 ret = nn_bitlen(q, &N); EG(ret, err); in gostr34_10_94_verify()
/freebsd/crypto/libecc/src/examples/sig/dsa/
H A Ddsa.c238 ret = nn_bitlen(q, &N); EG(ret, err); in dsa_sign()
387 ret = nn_bitlen(q, &N); EG(ret, err); in dsa_verify()
/freebsd/crypto/libecc/src/examples/basic/
H A Dnn_miller_rabin.c151 ret = nn_bitlen(&r, &blen); EG(ret, err); in miller_rabin()
/freebsd/crypto/libecc/src/fp/
H A Dfp.c116 ret = nn_bitlen(p_in, &p_bitlen); EG(ret, err); in fp_ctx_init_from_p()
/freebsd/crypto/libecc/src/sig/
H A Dec_key.c92 ret = nn_bitlen(&(priv_key->x), &blen); EG(ret, err); in ec_priv_key_export_to_buf()
H A Deddsa.c272 ret = nn_bitlen(nn_in, &blen); EG(ret, err); in eddsa_encode_integer()
761 ret = nn_bitlen(&(priv_key->x), &blen); EG(ret, err); in eddsa_import_priv_key()
1154 ret = nn_bitlen(&(key_pair->priv_key.x), &blen); EG(ret, err);
1625 ret = nn_bitlen(&(key_pair->priv_key.x), &blen); EG(ret, err);