Home
last modified time | relevance | path

Searched refs:nn_rshift (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/libecc/src/fp/
H A Dfp_sqrt.c56 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 Dnn_logical.h21 ATTRIBUTE_WARN_UNUSED_RET int nn_rshift(nn_t out, nn_src_t in, bitcnt_t cnt);
/freebsd/crypto/libecc/src/nn/
H A Dnn_logical.c211 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 Dnn_div.c842 …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 Decdsa_common.c91 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 Deddsa.c843 ret = nn_rshift(&s, &s, 2); EG(ret, err); in eddsa_init_pub_key()
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c650 GENERIC_TEST_NN(nn_rshift, NN_SHIFT_RIGHT, ">>", nn_rshift, "nnu", "oii",