Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h22 int64_t carry3; in fe25519_frombytes() local
36 carry3 = (h3 + (int64_t)(1L << 24)) >> 25; in fe25519_frombytes()
37 h4 += carry3; in fe25519_frombytes()
38 h3 -= carry3 * ((uint64_t) 1L << 25); in fe25519_frombytes()
114 int32_t carry0, carry1, carry2, carry3, carry4, carry5, carry6, carry7, carry8, carry9; in fe25519_reduce() local
141 carry3 = h3 >> 25; in fe25519_reduce()
142 h4 += carry3; in fe25519_reduce()
143 h3 -= carry3 * ((uint32_t) 1L << 25); in fe25519_reduce()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c46 uint64_t carry3; in fe_frombytes() local
56 carry3 = h3 >> 25; h4 += carry3; h3 &= 0x1FFFFFF; in fe_frombytes()
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dia64.S621 #define carry3 r34 macro
961 mov carry3=0 }
979 { .mii; (p7) add carry3=1,carry3
988 { .mii; (p7) add carry3=1,carry3
996 { .mii; (p7) add carry3=1,carry3
1004 { .mii; (p7) add carry3=1,carry3
1008 { .mii; (p7) add carry3=1,carry3
1012 { .mii; (p7) add carry3=1,carry3
1016 { .mii; (p7) add carry3=1,carry3
1022 (p7) add carry2=1,carry3
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h532 int64_t carry3; in fe25519_mul() local
580 carry3 = (h3 + (int64_t)(1L << 24)) >> 25; in fe25519_mul()
581 h4 += carry3; in fe25519_mul()
582 h3 -= carry3 * ((uint64_t) 1L << 25); in fe25519_mul()
735 int64_t carry3; in fe25519_sq() local
764 carry3 = (h3 + (int64_t)(1L << 24)) >> 25; in fe25519_sq()
765 h4 += carry3; in fe25519_sq()
766 h3 -= carry3 * ((uint64_t) 1L << 25); in fe25519_sq()
907 int64_t carry3; in fe25519_sq2() local
947 carry3 = (h3 + (int64_t)(1L << 24)) >> 25; in fe25519_sq2()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c816 int64_t carry3; in fe_frombytes() local
826 carry3 = h3 + (1 << 24); h4 += carry3 >> 25; h3 -= carry3 & kTop39Bits; in fe_frombytes()
1194 int64_t carry3; in fe_mul() local
1228 carry3 = h3 + (1 << 24); h4 += carry3 >> 25; h3 -= carry3 & kTop39Bits; in fe_mul()
1368 int64_t carry3; in fe_sq() local
1385 carry3 = h3 + (1 << 24); h4 += carry3 >> 25; h3 -= carry3 & kTop39Bits; in fe_sq()
1677 int64_t carry3; in fe_sq2() local
1705 carry3 = h3 + (1 << 24); h4 += carry3 >> 25; h3 -= carry3 & kTop39Bits; in fe_sq2()
4345 int64_t carry3; in fe_mul121666() local
4355 carry3 = h3 + (1 << 24); h4 += carry3 >> 25; h3 -= carry3 & kTop39Bits; in fe_mul121666()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1140 int64_t carry3; in sc25519_muladd() local
1237 carry3 = (s3 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1238 s4 += carry3; in sc25519_muladd()
1239 s3 -= carry3 * ((uint64_t) 1L << 21); in sc25519_muladd()
1410 carry3 = (s3 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1411 s4 += carry3; in sc25519_muladd()
1412 s3 -= carry3 * ((uint64_t) 1L << 21); in sc25519_muladd()
1443 carry3 = s3 >> 21; in sc25519_muladd()
1444 s4 += carry3; in sc25519_muladd()
1445 s3 -= carry3 * ((uint64_t) 1L << 21); in sc25519_muladd()
[all …]