/openssl/crypto/aes/ |
H A D | aes_x86core.c | 476 u32 *rk; in AES_set_encrypt_key() 478 u32 temp; in AES_set_encrypt_key() 578 u32 *rk; in AES_set_decrypt_key() 580 u32 temp; in AES_set_decrypt_key() 660 const u32 *rk; in AES_encrypt() 814 *(u32*)(out+0) = in AES_encrypt() 820 *(u32*)(out+4) = in AES_encrypt() 826 *(u32*)(out+8) = in AES_encrypt() 839 *(u32*)(out+0) = in AES_encrypt() 845 *(u32*)(out+4) = in AES_encrypt() [all …]
|
H A D | aes_local.h | 20 # define GETU32(p) SWAP(*((u32 *)(p))) 21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } 23 # define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(p… 29 typedef unsigned long u32; typedef 31 typedef unsigned int u32; typedef
|
H A D | aes_core.c | 65 u32 w[2]; 75 u32 a, b; in XtimeWord() 602 u32 rcon; in KeyExpansion() 604 u32 temp; in KeyExpansion() 1282 u32 *rk; in AES_set_encrypt_key() 1284 u32 temp; in AES_set_encrypt_key() 1384 u32 *rk; in AES_set_decrypt_key() 1386 u32 temp; in AES_set_decrypt_key() 1860 u32 *rk; in AES_set_encrypt_key() 1862 u32 temp; in AES_set_encrypt_key() [all …]
|
/openssl/crypto/chacha/ |
H A D | chacha_enc.c | 18 typedef unsigned int u32; typedef 21 u32 u[16]; 67 u32 x[16]; in chacha20_core() 101 u32 input[16]; in ChaCha20_ctr32_c() 106 input[0] = ((u32)ossl_toascii('e')) | ((u32)ossl_toascii('x') << 8) in ChaCha20_ctr32_c() 107 | ((u32)ossl_toascii('p') << 16) in ChaCha20_ctr32_c() 109 input[1] = ((u32)ossl_toascii('n')) | ((u32)ossl_toascii('d') << 8) in ChaCha20_ctr32_c() 110 | ((u32)ossl_toascii(' ') << 16) in ChaCha20_ctr32_c() 112 input[2] = ((u32)ossl_toascii('2')) | ((u32)ossl_toascii('-') << 8) in ChaCha20_ctr32_c() 113 | ((u32)ossl_toascii('b') << 16) in ChaCha20_ctr32_c() [all …]
|
/openssl/crypto/poly1305/ |
H A D | poly1305.c | 66 typedef unsigned int u32; typedef 258 u32 h[5]; 259 u32 r[4]; 293 u32 r0, r1, r2, r3; in poly1305_blocks() 294 u32 s1, s2, s3; in poly1305_blocks() 295 u32 h0, h1, h2, h3, h4, c; in poly1305_blocks() 345 h0 = (u32)d0; in poly1305_blocks() 383 u32 h0, h1, h2, h3, h4; in poly1305_emit() 384 u32 g0, g1, g2, g3, g4; in poly1305_emit() 386 u32 mask; in poly1305_emit() [all …]
|
H A D | poly1305_ieee754.c | 56 typedef unsigned int u32; typedef 81 # define U8TOU32(p) ((u32)(p)[0] | (u32)(p)[1]<<8 | \ 82 (u32)(p)[2]<<16 | (u32)(p)[3]<<24 ) 101 static const u32 fpc = 1; 133 u32 mxcsr_orig; in poly1305_init() 143 u32 fpc_orig; in poly1305_init() 153 u32 fcsr_orig; in poly1305_init() 255 u32 mxcsr_orig; in poly1305_blocks() 265 u32 fpc_orig; in poly1305_blocks() 275 u32 fcsr_orig; in poly1305_blocks() [all …]
|
H A D | poly1305_base2_44.c | 19 typedef unsigned int u32; typedef 82 u32 padbit) in poly1305_blocks() 135 void poly1305_emit(void *ctx, unsigned char mac[16], const u32 nonce[4]) in poly1305_emit()
|
/openssl/include/crypto/ |
H A D | modes.h | 27 typedef unsigned int u32; typedef 47 # define BSWAP4(x) ({ u32 ret_=(x); \ 51 # define BSWAP8(x) ({ u32 lo_=(u64)(x)>>32,hi_=(x); \ 55 # define BSWAP4(x) ({ u32 ret_=(x); \ 69 # define BSWAP8(x) ({ u32 lo_=(u64)(x)>>32,hi_=(x); \ 90 # define BSWAP4(x) _byteswap_ulong((u32)(x)) 92 __inline u32 _bswap4(u32 val) in _bswap4() 100 # define GETU32(p) BSWAP4(*(const u32 *)(p)) 101 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) 103 # define GETU32(p) ((u32)(p)[0]<<24|(u32)(p)[1]<<16|(u32)(p)[2]<<8|(u32)(p)[3]) [all …]
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_gcm_hw_ppc.inc | 26 static inline u32 UTO32(unsigned char *buf) 28 return ((u32) buf[0] << 24) | ((u32) buf[1] << 16) | ((u32) buf[2] << 8) | ((u32) buf[3]); 31 static inline u32 add32TOU(unsigned char buf[4], u32 n) 33 u32 r; 74 add32TOU(ivec + 12, (u32) next_ctr);
|
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 133 u32 d[32]; in tls1_multi_block_encrypt()
|
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 137 u32 d[32]; in tls1_multi_block_encrypt()
|
/openssl/crypto/camellia/ |
H A D | camellia.c | 56 #define GETU32(p) (((u32)(p)[0] << 24) ^ ((u32)(p)[1] << 16) ^ ((u32)(p)[2] << 8) ^ ((u32)(p)[3]… 64 static const u32 Camellia_SBOX[][256] = { 240 static const u32 SIGMA[] = { 254 register u32 _t0,_t1,_t2,_t3;\ 279 u32 _t0=_s0>>(32-_n);\ 288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() 407 register u32 s0, s1, s2, s3; in Camellia_EncryptBlock_Rounds() 408 const u32 *k = keyTable, *kend = keyTable + grandRounds * 16; in Camellia_EncryptBlock_Rounds() 460 u32 s0, s1, s2, s3; in Camellia_DecryptBlock_Rounds() 461 const u32 *k = keyTable + grandRounds * 16, *kend = keyTable + 4; in Camellia_DecryptBlock_Rounds()
|
H A D | cmll_local.h | 28 typedef unsigned int u32; typedef
|
/openssl/test/ |
H A D | params_conversion_test.c | 27 uint32_t u32; member 96 pc->u32 = (uint32_t)strtoumax(pp->value, &p, 10); in param_conversion_load_stanza() 155 datum_u32 = ref_u32 = pc->u32; in param_conversion_load_stanza() 188 uint32_t u32; in param_conversion_test() local 235 if (!TEST_false(OSSL_PARAM_get_uint32(pc->param, &u32)) in param_conversion_test() 241 if (!TEST_true(OSSL_PARAM_get_uint32(pc->param, &u32)) in param_conversion_test() 242 || !TEST_true(u32 == pc->u32)) { in param_conversion_test() 247 if (!TEST_true(OSSL_PARAM_set_uint32(pc->param, u32)) in param_conversion_test()
|
H A D | params_api_test.c | 607 uint32_t u32; in test_param_construct() local 620 params[n++] = OSSL_PARAM_construct_uint32("uint32", &u32); in test_param_construct()
|
/openssl/crypto/modes/ |
H A D | ctr128.c | 29 u32 n = 16, c = 1; in ctr128_inc() 140 u32 n = 12, c = 1; in ctr96_inc() 182 ctr32 += (u32)blocks; in CRYPTO_ctr128_encrypt_ctr32()
|
H A D | gcm128.c | 44 u32 T = 0xe1000000U & (0-(u32)(V.lo&1)); \ 218 u32 v; in gcm_gmult_4bit() 219 v = (u32)(Z.hi >> 32); in gcm_gmult_4bit() 221 v = (u32)(Z.hi); in gcm_gmult_4bit() 223 v = (u32)(Z.lo >> 32); in gcm_gmult_4bit() 225 v = (u32)(Z.lo); in gcm_gmult_4bit() 301 u32 v; in gcm_ghash_4bit() 302 v = (u32)(Z.hi >> 32); in gcm_ghash_4bit() 304 v = (u32)(Z.hi); in gcm_ghash_4bit() 306 v = (u32)(Z.lo >> 32); in gcm_ghash_4bit() [all …]
|
H A D | xts128.c | 31 u32 d[4]; in CRYPTO_xts128_encrypt()
|
H A D | ocb128.c | 20 static u32 ocb_ntz(u64 n) in ocb_ntz() 22 u32 cnt = 0; in ocb_ntz()
|
H A D | xts128gb.c | 31 u32 d[4]; in ossl_crypto_xts128gb_encrypt()
|
/openssl/crypto/ |
H A D | params.c | 424 uint32_t u32; in OSSL_PARAM_get_int32() local 429 u32 = *(const uint32_t *)p->data; in OSSL_PARAM_get_int32() 430 if (u32 <= INT32_MAX) { in OSSL_PARAM_get_int32() 431 *val = (int32_t)u32; in OSSL_PARAM_get_int32() 511 uint32_t u32; in OSSL_PARAM_set_int32() local 521 u32 = val < 0 ? -val : val; in OSSL_PARAM_set_int32() 522 if ((u32 >> shift) != 0) { in OSSL_PARAM_set_int32()
|
/openssl/providers/implementations/rands/ |
H A D | drbg_ctr.c | 63 u32 n = 16, c = 1; in inc_128() 378 u32 n = 12, c = 1; in ctr96_inc()
|
/openssl/util/ |
H A D | indent.pro | 502 -T u32
|
/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha1.c | 171 u32 d[32]; in tls1_1_multi_block_encrypt()
|
H A D | e_aes_cbc_hmac_sha256.c | 165 u32 d[32]; in tls1_1_multi_block_encrypt()
|