Home
last modified time | relevance | path

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

/openssl/crypto/aes/
H A Daes_x86core.c479 u32 *rk; in AES_set_encrypt_key()
481 u32 temp; in AES_set_encrypt_key()
581 u32 *rk; in AES_set_decrypt_key()
583 u32 temp; in AES_set_decrypt_key()
663 const u32 *rk; in AES_encrypt()
817 *(u32*)(out+0) = in AES_encrypt()
823 *(u32*)(out+4) = in AES_encrypt()
829 *(u32*)(out+8) = in AES_encrypt()
842 *(u32*)(out+0) = in AES_encrypt()
848 *(u32*)(out+4) = in AES_encrypt()
[all …]
H A Daes_local.h20 # 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 Daes_core.c65 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 Dchacha_enc.c18 typedef unsigned int u32; typedef
21 u32 u[16];
67 u32 x[16]; in chacha20_core()
97 u32 input[16]; in ChaCha20_ctr32()
102 input[0] = ((u32)ossl_toascii('e')) | ((u32)ossl_toascii('x') << 8) in ChaCha20_ctr32()
103 | ((u32)ossl_toascii('p') << 16) in ChaCha20_ctr32()
105 input[1] = ((u32)ossl_toascii('n')) | ((u32)ossl_toascii('d') << 8) in ChaCha20_ctr32()
106 | ((u32)ossl_toascii(' ') << 16) in ChaCha20_ctr32()
108 input[2] = ((u32)ossl_toascii('2')) | ((u32)ossl_toascii('-') << 8) in ChaCha20_ctr32()
109 | ((u32)ossl_toascii('b') << 16) in ChaCha20_ctr32()
[all …]
/openssl/include/crypto/
H A Dmodes.h27 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/crypto/poly1305/
H A Dpoly1305.c66 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 Dpoly1305_ieee754.c56 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 Dpoly1305_base2_44.c19 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/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_ppc.inc32 static inline u32 UTO32(unsigned char *buf)
34 return ((u32) buf[0] << 24) | ((u32) buf[1] << 16) | ((u32) buf[2] << 8) | ((u32) buf[3]);
37 static inline u32 add32TOU(unsigned char buf[4], u32 n)
39 u32 r;
80 add32TOU(ivec + 12, (u32) next_ctr);
H A Dcipher_aes_cbc_hmac_sha1_hw.c133 u32 d[32]; in tls1_multi_block_encrypt()
H A Dcipher_aes_cbc_hmac_sha256_hw.c137 u32 d[32]; in tls1_multi_block_encrypt()
/openssl/crypto/camellia/
H A Dcamellia.c56 #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 Dcmll_local.h28 typedef unsigned int u32; typedef
/openssl/test/
H A Dparams_conversion_test.c27 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 Dparams_api_test.c525 uint32_t u32; in test_param_construct() local
538 params[n++] = OSSL_PARAM_construct_uint32("uint32", &u32); in test_param_construct()
/openssl/crypto/modes/
H A Dctr128.c29 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 Dgcm128.c43 u32 T = 0xe1000000U & (0-(u32)(V.lo&1)); \
217 u32 v; in gcm_gmult_4bit()
218 v = (u32)(Z.hi >> 32); in gcm_gmult_4bit()
220 v = (u32)(Z.hi); in gcm_gmult_4bit()
222 v = (u32)(Z.lo >> 32); in gcm_gmult_4bit()
224 v = (u32)(Z.lo); in gcm_gmult_4bit()
300 u32 v; in gcm_ghash_4bit()
301 v = (u32)(Z.hi >> 32); in gcm_ghash_4bit()
303 v = (u32)(Z.hi); in gcm_ghash_4bit()
305 v = (u32)(Z.lo >> 32); in gcm_ghash_4bit()
[all …]
H A Dxts128.c31 u32 d[4]; in CRYPTO_xts128_encrypt()
H A Docb128.c20 static u32 ocb_ntz(u64 n) in ocb_ntz()
22 u32 cnt = 0; in ocb_ntz()
/openssl/crypto/
H A Dparams.c408 uint32_t u32; in OSSL_PARAM_get_int32() local
413 u32 = *(const uint32_t *)p->data; in OSSL_PARAM_get_int32()
414 if (u32 <= INT32_MAX) { in OSSL_PARAM_get_int32()
415 *val = (int32_t)u32; in OSSL_PARAM_get_int32()
452 uint32_t u32; in OSSL_PARAM_set_int32() local
500 u32 = val < 0 ? -val : val; in OSSL_PARAM_set_int32()
501 if ((u32 >> shift) != 0) { in OSSL_PARAM_set_int32()
/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c61 u32 n = 16, c = 1; in inc_128()
367 u32 n = 12, c = 1; in ctr96_inc()
/openssl/util/
H A Dindent.pro503 -T u32
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c171 u32 d[32]; in tls1_1_multi_block_encrypt()
H A De_aes_cbc_hmac_sha256.c165 u32 d[32]; in tls1_1_multi_block_encrypt()
/openssl/crypto/ec/
H A Decp_nistp256.c54 typedef uint32_t u32; typedef

Completed in 181 milliseconds