/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/ |
H A D | ed25519_ref10_fe_51.h | 246 uint128_t r0, r1, r2, r3, r4, carry; in fe25519_mul() 269 r0 = ((uint128_t) f0 ) * ((uint128_t) g0); in fe25519_mul() 270 r0 += ((uint128_t) f1_19) * ((uint128_t) g4); in fe25519_mul() 271 r0 += ((uint128_t) f2_19) * ((uint128_t) g3); in fe25519_mul() 272 r0 += ((uint128_t) f3_19) * ((uint128_t) g2); in fe25519_mul() 273 r0 += ((uint128_t) f4_19) * ((uint128_t) g1); in fe25519_mul() 275 r1 = ((uint128_t) f0 ) * ((uint128_t) g1); in fe25519_mul() 276 r1 += ((uint128_t) f1 ) * ((uint128_t) g0); in fe25519_mul() 277 r1 += ((uint128_t) f2_19) * ((uint128_t) g4); in fe25519_mul() 278 r1 += ((uint128_t) f3_19) * ((uint128_t) g3); in fe25519_mul() [all …]
|
H A D | common.h | 12 typedef unsigned __int128 uint128_t; typedef 14 typedef unsigned uint128_t __attribute__((mode(TI))); typedef
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp521.c | 134 typedef uint128_t largefelem[NLIMBS]; 381 static const uint128_t two127m70 = in felem_diff128() 382 (((uint128_t) 1) << 127) - (((uint128_t) 1) << 70); in felem_diff128() 383 static const uint128_t two127m69 = in felem_diff128() 384 (((uint128_t) 1) << 127) - (((uint128_t) 1) << 69); in felem_diff128() 421 out[0] = ((uint128_t) in[0]) * in[0]; in felem_square_ref() 422 out[1] = ((uint128_t) in[0]) * inx2[1]; in felem_square_ref() 423 out[2] = ((uint128_t) in[0]) * inx2[2] + ((uint128_t) in[1]) * in[1]; in felem_square_ref() 424 out[3] = ((uint128_t) in[0]) * inx2[3] + ((uint128_t) in[1]) * inx2[2]; in felem_square_ref() 425 out[4] = ((uint128_t) in[0]) * inx2[4] + in felem_square_ref() [all …]
|
H A D | ecp_nistp256.c | 115 typedef uint128_t limb; 490 a = ((uint128_t) small[0]) * small[0]; in smallfelem_square() 496 a = ((uint128_t) small[0]) * small[1]; in smallfelem_square() 503 a = ((uint128_t) small[0]) * small[2]; in smallfelem_square() 510 a = ((uint128_t) small[0]) * small[3]; in smallfelem_square() 516 a = ((uint128_t) small[1]) * small[2]; in smallfelem_square() 523 a = ((uint128_t) small[1]) * small[1]; in smallfelem_square() 529 a = ((uint128_t) small[1]) * small[3]; in smallfelem_square() 536 a = ((uint128_t) small[2]) * small[3]; in smallfelem_square() 544 a = ((uint128_t) small[2]) * small[2]; in smallfelem_square() [all …]
|
/freebsd/sys/dev/random/ |
H A D | uint128.h | 42 typedef __uint128_t uint128_t; typedef 49 } uint128_t; typedef 50 static const uint128_t very_long_zero = {0UL,0UL}; 55 uint128_increment(uint128_t *big_uintp) in uint128_increment() 67 uint128_add64(uint128_t *big_uintp, uint64_t add) in uint128_add64() 82 uint128_equals(uint128_t a, uint128_t b) in uint128_equals() 93 uint128_is_zero(uint128_t big_uint) in uint128_is_zero() 98 static __inline uint128_t 104 return (((uint128_t)le64dec(p + 8) << 64) | le64dec(p)); in le128dec() 106 return ((uint128_t){ in le128dec() [all …]
|
H A D | fortuna.c | 90 CTASSERT(RANDOM_BLOCKSIZE == sizeof(uint128_t)); 110 uint128_t fs_counter; /* C */ 552 uint8_t newkey[static RANDOM_KEYSIZE], uint128_t *p_counter, in random_fortuna_genbytes() 680 uint128_t counter_copy; in random_fortuna_read_concurrent()
|
H A D | hash.c | 134 randomdev_keystream(union randomdev_key *context, uint128_t *ctr, in randomdev_keystream() 140 uint128_t lectr; in randomdev_keystream()
|
H A D | hash.h | 66 void randomdev_keystream(union randomdev_key *context, uint128_t *, void *, size_t);
|
/freebsd/sbin/nvmecontrol/ |
H A D | nvmecontrol.h | 104 typedef unsigned _BitInt(128) uint128_t; typedef 106 typedef __uint128_t uint128_t; typedef 108 typedef uint64_t uint128_t; typedef 111 static __inline uint128_t 119 return ((uint128_t)hi << 64 | lo); in to128() 126 char * uint128_to_str(uint128_t u, char *buf, size_t buflen);
|
H A D | nc_util.c | 33 uint128_to_str(uint128_t u, char *buf, size_t buflen) in uint128_to_str()
|
/freebsd/tests/sys/devrandom/ |
H A D | uint128_test.c | 65 formatu128(char buf[static 52], uint128_t x) in formatu128() 88 u128_check_equality(uint128_t a, uint128_t b, const char *descr) in u128_check_equality() 139 uint128_t a; in ATF_TC_BODY() 195 uint128_t a; in ATF_TC_BODY() 254 uint128_t a; in ATF_TC_BODY()
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | uuid-private.h | 36 extern uint128_t uuid_base; 37 extern uint128_t uuid_public_browse_group;
|
H A D | uuid.c | 38 uint128_t uuid_base = { 48 uint128_t uuid_public_browse_group = {
|
H A D | ssar.c | 52 server_search_uuid_sub(uint8_t *buf, uint8_t const * const eob, const uint128_t *uuid) in server_search_uuid_sub() 155 server_search_uuid(provider_p const provider, const uint128_t *uuid) in server_search_uuid() 190 uint128_t uuid, puuid; in server_prepare_service_search_attribute_response()
|
/freebsd/crypto/openssl/crypto/ec/curve448/arch_64/ |
H A D | arch_intrinsics.h | 22 static ossl_inline uint128_t widemul(uint64_t a, uint64_t b) in widemul() 24 return ((uint128_t) a) * b; in widemul()
|
H A D | f_impl64.c | 28 uint128_t accum0 = 0, accum1 = 0, accum2; 80 uint128_t accum0 = 0, accum4 = 0; 106 uint128_t accum0 = 0, accum1 = 0, accum2;
|
/freebsd/crypto/openssl/include/internal/ |
H A D | numbers.h | 67 typedef __uint128_t uint128_t; typedef 70 # define UINT128_MAX __MAXUINT__(uint128_t)
|
/freebsd/sys/dev/random/fenestrasX/ |
H A D | fx_rng.c | 86 uint128_t ctr; /* Native-endian. */ in fxrng_chacha_nonce_add64() 88 uint128_t lectr; in fxrng_chacha_nonce_add64()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/ |
H A D | poly1305_sse2.c | 107 uint128_t d[3]; in poly1305_init_ext() 162 d[0] = ((uint128_t) rt0 * rt0) + ((uint128_t)(rt1 * 2) * st2); in poly1305_init_ext() 163 d[1] = ((uint128_t) rt2 * st2) + ((uint128_t)(rt0 * 2) * rt1); in poly1305_init_ext() 164 d[2] = ((uint128_t) rt1 * rt1) + ((uint128_t)(rt2 * 2) * rt0); in poly1305_init_ext() 846 uint128_t h; in poly1305_finish_ext() 849 h += ((uint128_t) h1 << 64) | h0; in poly1305_finish_ext()
|
/freebsd/crypto/openssl/crypto/ec/curve448/ |
H A D | curve448utils.h | 46 typedef uint128_t c448_dword_t;
|
H A D | word.h | 30 typedef uint128_t dword_t;
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
H A D | poly1305_donna64.h | 8 #define MUL(out, x, y) out = ((uint128_t) x * y) 71 uint128_t d0, d1, d2, d; in poly1305_blocks()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_local.h | 386 # define BN_UMULT_HIGH(a,b) (((uint128_t)(a)*(b))>>64) 388 uint128_t ret=(uint128_t)(a)*(b); \
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/ |
H A D | fe.h | 28 uint128_t t[5]; in fe25519_reduce()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
H A D | blake2b-ref.c | 65 uint128_t t = ((uint128_t) S->t[1] << 64) | S->t[0]; in blake2b_increment_counter()
|