/openssl/crypto/poly1305/ |
H A D | poly1305_base2_44.c | 24 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 D | poly1305.c | 103 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 D | poly1305_ieee754.c | 57 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 D | modes.h | 15 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]; 160 u64 u[2]; 163 u64 blocks; 171 u64 a[2]; 199 u64 blocks_hashed; [all …]
|
H A D | aes_platform.h | 82 u64 *Xi); 85 u64 *Xi); 88 unsigned char ivec[16], u64 *Xi); 91 unsigned char ivec[16], u64 *Xi); 96 void gcm_ghash_p8(u64 Xi[2],const u128 Htable[16],const u8 *inp, size_t len); 153 unsigned char ivec[16], u64 *Xi); 155 unsigned char ivec[16], u64 *Xi); 156 void gcm_ghash_v8(u64 Xi[2],const u128 Htable[16],const u8 *inp, size_t len); 253 const void *key, unsigned char ivec[16], u64 *Xi); 255 const void *key, unsigned char ivec[16], u64 *Xi); [all …]
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_gcm_hw_ppc.inc | 28 const void *key, unsigned char ivec[16], u64 *Xi); 30 const void *key, unsigned char ivec[16], u64 *Xi); 51 const void *key, unsigned char ivec[16], u64 *Xi, int encrypt) 56 u64 blocks_unused; 57 u64 nb = len / 16; 58 u64 next_ctr = 0; 64 blocks_unused = (u64) 0xffffffffU + 1 - (u64) UTO32 (ivec + 12); 94 const void *key, unsigned char ivec[16], u64 *Xi) 100 const void *key, unsigned char ivec[16], u64 *Xi)
|
H A D | cipher_aes_gcm_siv_polyval.c | 74 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 D | cipher_aes_gcm_hw_armv8.inc | 16 const void *key, unsigned char ivec[16], u64 *Xi) 50 const void *key, unsigned char ivec[16], u64 *Xi)
|
H A D | cipher_aes_gcm_hw_vaes_avx512.inc | 42 void ossl_gcm_gmult_avx512(u64 Xi[2], const void *gcm128ctx); 90 u64 alen = gcmctx->len.u[0]; 150 u64 mlen = gcmctx->len.u[1];
|
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 115 u64 iv[2]; 132 u64 q[16]; in tls1_multi_block_encrypt() 142 u64 seqnum; in tls1_multi_block_encrypt()
|
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 119 u64 iv[2]; 136 u64 q[16]; in tls1_multi_block_encrypt() 146 u64 seqnum; in tls1_multi_block_encrypt()
|
/openssl/crypto/modes/ |
H A D | gcm128.c | 187 Z.hi ^= (u64)rem_4bit[rem] << 32; in gcm_gmult_4bit() 533 u64 tmp[2]; in ossl_gcm_ghash_4bit() 567 u64 hi, lo; in CRYPTO_gcm128_init() 599 u64 len0 = len; in CRYPTO_gcm128_setiv() 671 u64 alen = ctx->len.u[0]; in CRYPTO_gcm128_aad() 727 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_encrypt() 952 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_decrypt() 1188 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_encrypt_ctr32() 1342 u64 mlen = ctx->len.u[1]; in CRYPTO_gcm128_decrypt_ctr32() 1497 u64 alen = ctx->len.u[0] << 3; in CRYPTO_gcm128_finish() [all …]
|
H A D | xts128.c | 17 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 D | ccm128.c | 16 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 D | ocb128.c | 20 static u32 ocb_ntz(u64 n) in ocb_ntz() 271 u64 i, all_num_blocks; in CRYPTO_ocb128_aad() 333 u64 i, all_num_blocks; in CRYPTO_ocb128_encrypt() 425 u64 i, all_num_blocks; in CRYPTO_ocb128_decrypt()
|
/openssl/crypto/ec/ |
H A D | ecp_nistp256.c | 55 typedef uint64_t u64; typedef 381 u64 a, b, mask; in felem_shrink() 382 u64 high, low; in felem_shrink() 488 u64 high, low; in smallfelem_square() 566 u64 small[4]; in felem_square() 583 u64 high, low; in smallfelem_mul() 833 static void subtract_u64(u64 *result, u64 *carry, u64 v) in subtract_u64() 861 u64 equal; in felem_contract() 938 u64 is_p; in smallfelem_is_zero() 1645 const u64 *inlimbs = (u64 *)&pre_comp[i][0][0]; in select_point() [all …]
|
H A D | ecp_nistp224.c | 53 typedef uint64_t u64; typedef 1104 static void select_point(const u64 idx, unsigned int size, in select_point() 1113 u64 mask = i ^ idx; in select_point() 1149 u64 bits; in batch_mul()
|
/openssl/test/ |
H A D | params_conversion_test.c | 28 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 D | params_api_test.c | 527 uint64_t u64; in test_param_construct() local 539 params[n++] = OSSL_PARAM_construct_uint64("uint64", &u64); in test_param_construct() 584 || !TEST_true(OSSL_PARAM_get_uint64(cp, &u64)) in test_param_construct() 586 || !TEST_size_t_eq((size_t)u64, 3 + j)) { in test_param_construct()
|
/openssl/crypto/ |
H A D | params.c | 409 uint64_t u64; in OSSL_PARAM_get_int32() local 422 if (u64 <= INT32_MAX) { in OSSL_PARAM_get_int32() 423 *val = (int32_t)u64; in OSSL_PARAM_get_int32() 533 uint64_t u64; in OSSL_PARAM_get_uint32() local 541 if (u64 <= UINT32_MAX) { in OSSL_PARAM_get_uint32() 692 uint64_t u64; in OSSL_PARAM_get_int64() local 700 if (u64 <= INT64_MAX) { in OSSL_PARAM_get_int64() 701 *val = (int64_t)u64; in OSSL_PARAM_get_int64() 736 uint64_t u64; in OSSL_PARAM_set_int64() local 1109 uint64_t u64; in OSSL_PARAM_get_double() local [all …]
|
/openssl/crypto/whrlpool/ |
H A D | wp_block.c | 51 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/aes/ |
H A D | aes_core.c | 66 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 D | aes_x86core.c | 84 typedef unsigned __int64 u64; typedef 87 typedef unsigned long u64; typedef 90 typedef unsigned long long u64; typedef 118 #define Te0 (u32)((u64*)((u8*)Te+0)) 119 #define Te1 (u32)((u64*)((u8*)Te+3)) 120 #define Te2 (u32)((u64*)((u8*)Te+2)) 121 #define Te3 (u32)((u64*)((u8*)Te+1)) 130 #define Td0 (u32)((u64*)((u8*)Td+0)) 131 #define Td1 (u32)((u64*)((u8*)Td+3)) 135 static const u64 Te[256] = { [all …]
|
H A D | aes_local.h | 27 typedef uint64_t u64; typedef
|
/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha1.c | 156 u64 iv[2]; 170 u64 q[16]; in tls1_1_multi_block_encrypt() 180 u64 seqnum; in tls1_1_multi_block_encrypt()
|