Home
last modified time | relevance | path

Searched refs:u64 (Results 1 – 25 of 34) sorted by relevance

12

/openssl/crypto/poly1305/
H A Dpoly1305_base2_44.c24 u64 h[3];
25 u64 s[2];
26 u64 r[3];
60 u64 r0, r1; in poly1305_init()
85 u64 r0, r1, r2; in poly1305_blocks()
86 u64 s1, s2; in poly1305_blocks()
89 u64 pad = (u64)padbit << 40; in poly1305_blocks()
103 u64 m0, m1; in poly1305_blocks()
120 h1 = (u64)(d1 += (u64)(d0 >> 44)) & 0x0fffffffffff; in poly1305_blocks()
141 u64 mask; in poly1305_emit()
[all …]
H A Dpoly1305.c103 u64 h[3];
104 u64 r[2];
151 u64 r0, r1; in poly1305_blocks()
152 u64 s1; in poly1305_blocks()
153 u64 h0, h1, h2, c; in poly1305_blocks()
185 h0 = (u64)d0; in poly1305_blocks()
217 u64 h0, h1, h2; in poly1305_emit()
218 u64 g0, g1, g2; in poly1305_emit()
220 u64 mask; in poly1305_emit()
240 h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1]<<32)); in poly1305_emit()
[all …]
H A Dpoly1305_ieee754.c57 typedef unsigned long long u64; typedef
58 typedef union { double d; u64 u; } elem64;
99 static const u64 one = 1;
103 static const u64 fsr = 1ULL<<30;
148 u64 fsr_orig; in poly1305_init()
229 u64 pad = (u64)padbit<<32; in poly1305_blocks()
270 u64 fsr_orig; in poly1305_blocks()
433 u64 h0, h1, h2, h3, h4; in poly1305_emit()
435 u64 t; in poly1305_emit()
479 g0 = (u32)(t = (u64)g0 + nonce[0]); in poly1305_emit()
[all …]
/openssl/include/crypto/
H A Dmodes.h15 typedef unsigned __int64 u64; typedef
19 typedef unsigned long u64; typedef
23 typedef unsigned long long u64; typedef
89 # define BSWAP8(x) _byteswap_uint64((u64)(x))
107 u64 hi, lo;
122 u64 u[2];
166 u64 u[2];
169 u64 blocks;
177 u64 a[2];
205 u64 blocks_hashed;
[all …]
H A Daes_platform.h85 u64 *Xi);
88 u64 *Xi);
91 void gcm_ghash_p8(u64 Xi[2],const u128 Htable[16],const u8 *inp, size_t len);
155 unsigned char ivec[16], u64 *Xi);
157 unsigned char ivec[16], u64 *Xi);
158 void gcm_ghash_v8(u64 Xi[2],const u128 Htable[16],const u8 *inp, size_t len);
262 const void *key, unsigned char ivec[16], u64 *Xi);
264 const void *key, unsigned char ivec[16], u64 *Xi);
265 void gcm_ghash_avx(u64 Xi[2], const u128 Htable[16], const u8 *in, size_t len);
487 unsigned char ivec[16], u64 *Xi);
[all …]
/openssl/crypto/modes/
H A Dxts128gb.c17 typedef u64 u64_a1 __attribute((__aligned__(1)));
19 typedef u64 u64_a1;
30 u64 u[2]; in ossl_crypto_xts128gb_encrypt()
73 u64 hi, lo; in ossl_crypto_xts128gb_encrypt()
80 hi = (u64)GETU32(p) << 32 | GETU32(p + 4); in ossl_crypto_xts128gb_encrypt()
81 lo = (u64)GETU32(p + 8) << 32 | GETU32(p + 12); in ossl_crypto_xts128gb_encrypt()
94 hi = (u64)GETU32(p) << 32 | GETU32(p + 4); in ossl_crypto_xts128gb_encrypt()
125 u64 u[2]; in ossl_crypto_xts128gb_encrypt()
131 u64 hi, lo; in ossl_crypto_xts128gb_encrypt()
138 hi = (u64)GETU32(p) << 32 | GETU32(p + 4); in ossl_crypto_xts128gb_encrypt()
[all …]
H A Dgcm128.c188 Z.hi ^= (u64)rem_4bit[rem] << 32; in gcm_gmult_4bit()
585 u64 tmp[2]; in ossl_gcm_ghash_4bit()
619 u64 hi, lo; in CRYPTO_gcm128_init()
651 u64 len0 = len; in CRYPTO_gcm128_setiv()
723 u64 alen = ctx->len.u[0]; in CRYPTO_gcm128_aad()
779 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_encrypt()
1004 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_decrypt()
1240 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_encrypt_ctr32()
1394 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_decrypt_ctr32()
1549 u64 alen = ctx->len.u[0] << 3; in CRYPTO_gcm128_finish()
[all …]
H A Dxts128.c17 typedef u64 u64_a1 __attribute((__aligned__(1)));
19 typedef u64 u64_a1;
30 u64 u[2]; in CRYPTO_xts128_encrypt()
106 u64 u[2]; in CRYPTO_xts128_encrypt()
H A Dccm128.c16 typedef u64 u64_a1 __attribute((__aligned__(1)));
18 typedef u64 u64_a1;
147 u64 u[2]; in CRYPTO_ccm128_encrypt()
173 u64 u[2]; in CRYPTO_ccm128_encrypt()
231 u64 u[2]; in CRYPTO_ccm128_decrypt()
253 u64 u[2]; in CRYPTO_ccm128_decrypt()
320 u64 u[2]; in CRYPTO_ccm128_encrypt_ccm64()
384 u64 u[2]; in CRYPTO_ccm128_decrypt_ccm64()
H A Docb128.c20 static u32 ocb_ntz(u64 n) in ocb_ntz()
267 u64 i, all_num_blocks; in CRYPTO_ocb128_aad()
329 u64 i, all_num_blocks; in CRYPTO_ocb128_encrypt()
421 u64 i, all_num_blocks; in CRYPTO_ocb128_decrypt()
/openssl/crypto/ec/
H A Decp_nistp256.c55 typedef uint64_t u64; typedef
383 u64 a, b, mask; in felem_shrink()
384 u64 high, low; in felem_shrink()
490 u64 high, low; in smallfelem_square()
568 u64 small[4]; in felem_square()
585 u64 high, low; in smallfelem_mul()
835 static void subtract_u64(u64 *result, u64 *carry, u64 v) in subtract_u64()
863 u64 equal; in felem_contract()
940 u64 is_p; in smallfelem_is_zero()
1647 const u64 *inlimbs = (u64 *)&pre_comp[i][0][0]; in select_point()
[all …]
/openssl/test/
H A Dparams_conversion_test.c28 uint64_t u64; member
105 pc->u64 = (uint64_t)strtoumax(pp->value, &p, 10); in param_conversion_load_stanza()
164 datum_u64 = ref_u64 = pc->u64; in param_conversion_load_stanza()
189 uint64_t u64; in param_conversion_test() local
256 if (!TEST_false(OSSL_PARAM_get_uint64(pc->param, &u64)) in param_conversion_test()
262 if (!TEST_true(OSSL_PARAM_get_uint64(pc->param, &u64)) in param_conversion_test()
263 || !TEST_true(u64 == pc->u64)) { in param_conversion_test()
268 if (!TEST_true(OSSL_PARAM_set_uint64(pc->param, u64)) in param_conversion_test()
H A Djson_test.c60 uint64_t u64; member
556 #define GET_U64() (GET_WORD().u64) in run_script()
622 uint64_t u64; in run_script() local
628 u64 = GET_U64(); in run_script()
629 f(&h.j, p, (size_t)u64); in run_script()
H A Dparams_api_test.c609 uint64_t u64; in test_param_construct() local
621 params[n++] = OSSL_PARAM_construct_uint64("uint64", &u64); in test_param_construct()
666 || !TEST_true(OSSL_PARAM_get_uint64(cp, &u64)) in test_param_construct()
668 || !TEST_size_t_eq((size_t)u64, 3 + j)) { in test_param_construct()
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_ppc.inc45 const void *key, unsigned char ivec[16], u64 *Xi, int encrypt)
50 u64 blocks_unused;
51 u64 nb = len / 16;
52 u64 next_ctr = 0;
58 blocks_unused = (u64) 0xffffffffU + 1 - (u64) UTO32 (ivec + 12);
H A Dcipher_aes_gcm_siv_polyval.c74 ossl_gcm_init_4bit(Htable, (u64*)tmp); in ossl_polyval_ghash_init()
92 ossl_gcm_ghash_4bit((u64*)out, Htable, (uint8_t *)tmp, 16); in ossl_polyval_ghash_hash()
H A Dcipher_aes_gcm_hw_armv8.inc16 const void *key, unsigned char ivec[16], u64 *Xi)
50 const void *key, unsigned char ivec[16], u64 *Xi)
H A Dcipher_aes_gcm_hw_vaes_avx512.inc42 void ossl_gcm_gmult_avx512(u64 Xi[2], const void *gcm128ctx);
89 u64 alen = gcmctx->len.u[0];
149 u64 mlen = gcmctx->len.u[1];
H A Dcipher_aes_cbc_hmac_sha1_hw.c115 u64 iv[2];
132 u64 q[16]; in tls1_multi_block_encrypt()
142 u64 seqnum; in tls1_multi_block_encrypt()
/openssl/crypto/whrlpool/
H A Dwp_block.c51 typedef unsigned __int64 u64; typedef
53 typedef unsigned long u64; typedef
55 typedef unsigned long long u64; typedef
75 typedef u64 u64_a1 __attribute((__aligned__(1)));
77 typedef u64 u64_a1;
84 typedef u64 u64_aX;
225 u8 c[(256 * N + ROUNDS) * sizeof(u64)];
226 u64 q[(256 * N + ROUNDS)];
504 u64 q[8]; in whirlpool_block()
513 u64 L[8]; in whirlpool_block()
[all …]
/openssl/crypto/
H A Dparams.c425 uint64_t u64; in OSSL_PARAM_get_int32() local
438 if (u64 <= INT32_MAX) { in OSSL_PARAM_get_int32()
439 *val = (int32_t)u64; in OSSL_PARAM_get_int32()
558 uint64_t u64; in OSSL_PARAM_get_uint32() local
566 if (u64 <= UINT32_MAX) { in OSSL_PARAM_get_uint32()
726 uint64_t u64; in OSSL_PARAM_get_int64() local
734 if (u64 <= INT64_MAX) { in OSSL_PARAM_get_int64()
735 *val = (int64_t)u64; in OSSL_PARAM_get_int64()
821 uint64_t u64; in OSSL_PARAM_set_int64() local
1162 uint64_t u64; in OSSL_PARAM_get_double() local
[all …]
/openssl/crypto/aes/
H A Daes_core.c66 u64 d;
86 static void XtimeLong(u64 *w) in XtimeLong()
88 u64 a, b; in XtimeLong()
236 static void SubLong(u64 *w) in SubLong()
527 static void AddRoundKey(u64 *state, const u64 *w) in AddRoundKey()
536 u64 state[2]; in Cipher()
563 u64 state[2]; in InvCipher()
634 u64 *rk; in AES_set_encrypt_key()
641 rk = (u64*)key->rd_key; in AES_set_encrypt_key()
670 const u64 *rk; in AES_encrypt()
[all …]
H A Daes_x86core.c115 #define Te0 (u32)((u64*)((u8*)Te+0))
116 #define Te1 (u32)((u64*)((u8*)Te+3))
117 #define Te2 (u32)((u64*)((u8*)Te+2))
118 #define Te3 (u32)((u64*)((u8*)Te+1))
127 #define Td0 (u32)((u64*)((u8*)Td+0))
128 #define Td1 (u32)((u64*)((u8*)Td+3))
129 #define Td2 (u32)((u64*)((u8*)Td+2))
130 #define Td3 (u32)((u64*)((u8*)Td+1))
132 static const u64 Te[256] = {
298 static const u64 Td[256] = {
H A Daes_local.h27 typedef uint64_t u64; typedef
/openssl/include/internal/
H A Dring_buf.h43 OSSL_SAFE_MATH_UNSIGNED(u64, uint64_t) in OSSL_SAFE_MATH_UNSIGNED() argument

Completed in 105 milliseconds

12