Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c667 signed char bslide[256]; in ge25519_double_scalarmult_vartime() local
675 slide_vartime(bslide, b); in ge25519_double_scalarmult_vartime()
713 if (aslide[i] || bslide[i]) { in ge25519_double_scalarmult_vartime()
729 if (bslide[i] > 0) { in ge25519_double_scalarmult_vartime()
731 ge25519_madd(&t, &u, &Bi[bslide[i] / 2]); in ge25519_double_scalarmult_vartime()
732 } else if (bslide[i] < 0) { in ge25519_double_scalarmult_vartime()
734 ge25519_msub(&t, &u, &Bi[(-bslide[i]) / 2]); in ge25519_double_scalarmult_vartime()
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c4547 signed char bslide[256]; in ge_double_scalarmult_vartime() local
4555 slide(bslide, b); in ge_double_scalarmult_vartime()
4585 if (aslide[i] || bslide[i]) { in ge_double_scalarmult_vartime()
4601 if (bslide[i] > 0) { in ge_double_scalarmult_vartime()
4603 ge_madd(&t, &u, &Bi[bslide[i] / 2]); in ge_double_scalarmult_vartime()
4604 } else if (bslide[i] < 0) { in ge_double_scalarmult_vartime()
4606 ge_msub(&t, &u, &Bi[(-bslide[i]) / 2]); in ge_double_scalarmult_vartime()