Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/bn/
Dshift.c139 size_t shift_words = shift / BN_BITS2; in bn_rshift_words() local
140 if (shift_words >= num) { in bn_rshift_words()
145 OPENSSL_memmove(r, a + shift_words, (num - shift_words) * sizeof(BN_ULONG)); in bn_rshift_words()
147 for (size_t i = shift_words; i < num - 1; i++) { in bn_rshift_words()
148 r[i - shift_words] = in bn_rshift_words()
151 r[num - 1 - shift_words] = a[num - 1] >> shift_bits; in bn_rshift_words()
153 OPENSSL_memset(r + num - shift_words, 0, shift_words * sizeof(BN_ULONG)); in bn_rshift_words()