Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dgcd_extra.c204 size_t n_width = n->width, a_width = a->width; in bn_mod_inverse_consttime() local
205 if (a_width > n_width) { in bn_mod_inverse_consttime()
206 a_width = n_width; in bn_mod_inverse_consttime()
232 !bn_resize_words(B, a_width) || in bn_mod_inverse_consttime()
233 !bn_resize_words(D, a_width) || in bn_mod_inverse_consttime()
242 unsigned a_bits = a_width * BN_BITS2, n_bits = n_width * BN_BITS2; in bn_mod_inverse_consttime()
279 bn_add_words(tmp->d, B->d, D->d, a_width); in bn_mod_inverse_consttime()
280 bn_sub_words(tmp2->d, tmp->d, a->d, a_width); in bn_mod_inverse_consttime()
281 bn_select_words(tmp->d, carry, tmp->d, tmp2->d, a_width); in bn_mod_inverse_consttime()
282 bn_select_words(B->d, both_odd & v_less_than_u, tmp->d, B->d, a_width); in bn_mod_inverse_consttime()
[all …]
Dbn_test.cc454 int a_width = bn_minimal_width(a.get()); in TestSquare() local
455 if (a_width <= BN_SMALL_MAX_WORDS) { in TestSquare()
456 for (size_t num_a = a_width; num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestSquare()
516 int a_width = bn_minimal_width(a.get()); in TestProduct() local
518 if (a_width <= BN_SMALL_MAX_WORDS && b_width <= BN_SMALL_MAX_WORDS) { in TestProduct()
519 for (size_t num_a = static_cast<size_t>(a_width); in TestProduct()
/external/boringssl/src/crypto/fipsmodule/bn/
Dgcd_extra.c204 size_t n_width = n->width, a_width = a->width; in bn_mod_inverse_consttime() local
205 if (a_width > n_width) { in bn_mod_inverse_consttime()
206 a_width = n_width; in bn_mod_inverse_consttime()
232 !bn_resize_words(B, a_width) || in bn_mod_inverse_consttime()
233 !bn_resize_words(D, a_width) || in bn_mod_inverse_consttime()
242 unsigned a_bits = a_width * BN_BITS2, n_bits = n_width * BN_BITS2; in bn_mod_inverse_consttime()
279 bn_add_words(tmp->d, B->d, D->d, a_width); in bn_mod_inverse_consttime()
280 bn_sub_words(tmp2->d, tmp->d, a->d, a_width); in bn_mod_inverse_consttime()
281 bn_select_words(tmp->d, carry, tmp->d, tmp2->d, a_width); in bn_mod_inverse_consttime()
282 bn_select_words(B->d, both_odd & v_less_than_u, tmp->d, B->d, a_width); in bn_mod_inverse_consttime()
[all …]
Dbn_test.cc454 int a_width = bn_minimal_width(a.get()); in TestSquare() local
455 if (a_width <= BN_SMALL_MAX_WORDS) { in TestSquare()
456 for (size_t num_a = a_width; num_a <= BN_SMALL_MAX_WORDS; num_a++) { in TestSquare()
516 int a_width = bn_minimal_width(a.get()); in TestProduct() local
518 if (a_width <= BN_SMALL_MAX_WORDS && b_width <= BN_SMALL_MAX_WORDS) { in TestProduct()
519 for (size_t num_a = static_cast<size_t>(a_width); in TestProduct()
/external/webp/src/enc/
Dpicture_enc.c97 int a_width, a_stride; in WebPPictureAllocYUVA() local
111 a_width = has_alpha ? width : 0; in WebPPictureAllocYUVA()
112 a_stride = a_width; in WebPPictureAllocYUVA()