Searched refs:nn_rshift (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/libecc/src/fp/ |
H A D | fp_sqrt.c | 56 ret = nn_rshift(&exp, &exp, 1); EG(ret, err); in legendre() 193 ret = nn_rshift(&tmp_nn, &tmp_nn, 2); EG(ret, err); in fp_sqrt() 207 ret = nn_rshift(&tmp_nn, &tmp_nn, 1); EG(ret, err); in fp_sqrt()
|
/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn_logical.h | 21 ATTRIBUTE_WARN_UNUSED_RET int nn_rshift(nn_t out, nn_src_t in, bitcnt_t cnt);
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_logical.c | 211 int nn_rshift(nn_t out, nn_src_t in, bitcnt_t cnt) in nn_rshift() function 291 ret = nn_rshift(out, in, cnt); EG(ret, err); in nn_rrot() 331 ret = nn_rshift(out, in, (bitcnt_t)(bitlen - cnt)); EG(ret, err); in nn_lrot()
|
H A D | nn_div.c | 842 …ret = nn_rshift(&tmp_nn, p_normalized, (bitcnt_t)(p_rounded_bitlen - (2 * WORDSIZE))); EG(ret, err… in nn_compute_div_coefs()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | ecdsa_common.c | 91 ret = nn_rshift(k, k, (bitcnt_t)((8 * hsize) - q_bit_len)); EG(ret, err); in __ecdsa_rfc6979_nonce() 147 ret = nn_rshift(k, k, (bitcnt_t)((8 * q_len) - q_bit_len)); EG(ret, err); in __ecdsa_rfc6979_nonce()
|
H A D | eddsa.c | 843 ret = nn_rshift(&s, &s, 2); EG(ret, err); in eddsa_init_pub_key()
|
/freebsd/crypto/libecc/src/arithmetic_tests/ |
H A D | arithmetic_tests.c | 650 GENERIC_TEST_NN(nn_rshift, NN_SHIFT_RIGHT, ">>", nn_rshift, "nnu", "oii",
|