/freebsd/crypto/libecc/src/examples/sig/common/ |
H A D | common.h | 21 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 D | sdsa.c | 134 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 D | prj_pt.c | 1346 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 D | nn_logical.h | 31 ATTRIBUTE_WARN_UNUSED_RET int nn_bitlen(nn_src_t A, bitcnt_t *blen);
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_logical.c | 109 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 D | nn_rand.c | 104 ret = nn_bitlen(q, &q_bit_len); EG(ret, err); in nn_get_random_mod()
|
H A D | nn_mod_pow.c | 58 ret = nn_bitlen(exp, &explen); EG(ret, err); in _nn_exp_monty_ladder_ltr()
|
H A D | nn_div.c | 828 ret = nn_bitlen(&p, &p_bitlen); EG(ret, err); in nn_compute_div_coefs()
|
/freebsd/crypto/libecc/src/examples/sig/kcdsa/ |
H A D | kcdsa.c | 182 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 D | gostr34_10_94.c | 130 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 D | dsa.c | 238 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 D | nn_miller_rabin.c | 151 ret = nn_bitlen(&r, &blen); EG(ret, err); in miller_rabin()
|
/freebsd/crypto/libecc/src/fp/ |
H A D | fp.c | 116 ret = nn_bitlen(p_in, &p_bitlen); EG(ret, err); in fp_ctx_init_from_p()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | ec_key.c | 92 ret = nn_bitlen(&(priv_key->x), &blen); EG(ret, err); in ec_priv_key_export_to_buf()
|
H A D | eddsa.c | 272 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);
|