Home
last modified time | relevance | path

Searched refs:BSWAP4 (Results 1 – 6 of 6) sorted by relevance

/openssl/include/crypto/
H A Dmodes.h47 # define BSWAP4(x) ({ u32 ret_=(x); \ macro
55 # define BSWAP4(x) ({ u32 ret_=(x); \ macro
64 # define BSWAP4(x) ({ u32 ret_; \ macro
73 # define BSWAP4(x) ({ u32 ret_; \ macro
81 # define BSWAP4(x) ({ u32 ret_=(x); \ macro
90 # define BSWAP4(x) _byteswap_ulong((u32)(x)) macro
95 # define BSWAP4(x) _bswap4(x) macro
99 #if defined(BSWAP4) && !defined(STRICT_ALIGNMENT)
100 # define GETU32(p) BSWAP4(*(const u32 *)(p))
101 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v)
/openssl/crypto/modes/
H A Dgcm128.c690 #ifdef BSWAP4 in CRYPTO_gcm128_setiv()
709 #ifdef BSWAP4 in CRYPTO_gcm128_setiv()
809 #ifdef BSWAP4 in CRYPTO_gcm128_encrypt()
939 # ifdef BSWAP4 in CRYPTO_gcm128_encrypt()
970 #ifdef BSWAP4 in CRYPTO_gcm128_encrypt()
1034 #ifdef BSWAP4 in CRYPTO_gcm128_decrypt()
1167 # ifdef BSWAP4 in CRYPTO_gcm128_decrypt()
1201 #ifdef BSWAP4 in CRYPTO_gcm128_decrypt()
1269 # ifdef BSWAP4 in CRYPTO_gcm128_encrypt_ctr32()
1337 # ifdef BSWAP4 in CRYPTO_gcm128_encrypt_ctr32()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha256_hw.c276 # ifdef BSWAP4 in tls1_multi_block_encrypt()
277 blocks[i].d[15] = BSWAP4(len); in tls1_multi_block_encrypt()
283 # ifdef BSWAP4 in tls1_multi_block_encrypt()
284 blocks[i].d[31] = BSWAP4(len); in tls1_multi_block_encrypt()
298 # ifdef BSWAP4 in tls1_multi_block_encrypt()
299 blocks[i].d[0] = BSWAP4(mctx->A[i]); in tls1_multi_block_encrypt()
301 blocks[i].d[1] = BSWAP4(mctx->B[i]); in tls1_multi_block_encrypt()
303 blocks[i].d[2] = BSWAP4(mctx->C[i]); in tls1_multi_block_encrypt()
548 # ifdef BSWAP4 in aesni_cbc_hmac_sha256_cipher()
549 bitlen = BSWAP4(bitlen); in aesni_cbc_hmac_sha256_cipher()
[all …]
H A Dcipher_aes_cbc_hmac_sha1_hw.c268 # ifdef BSWAP4 in tls1_multi_block_encrypt()
269 blocks[i].d[15] = BSWAP4(len); in tls1_multi_block_encrypt()
275 # ifdef BSWAP4 in tls1_multi_block_encrypt()
276 blocks[i].d[31] = BSWAP4(len); in tls1_multi_block_encrypt()
290 # ifdef BSWAP4 in tls1_multi_block_encrypt()
291 blocks[i].d[0] = BSWAP4(mctx->A[i]); in tls1_multi_block_encrypt()
293 blocks[i].d[1] = BSWAP4(mctx->B[i]); in tls1_multi_block_encrypt()
295 blocks[i].d[2] = BSWAP4(mctx->C[i]); in tls1_multi_block_encrypt()
512 # ifdef BSWAP4 in aesni_cbc_hmac_sha1_cipher()
513 bitlen = BSWAP4(bitlen); in aesni_cbc_hmac_sha1_cipher()
[all …]
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c304 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
305 blocks[i].d[15] = BSWAP4(len); in tls1_1_multi_block_encrypt()
311 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
312 blocks[i].d[31] = BSWAP4(len); in tls1_1_multi_block_encrypt()
326 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
327 blocks[i].d[0] = BSWAP4(ctx->A[i]); in tls1_1_multi_block_encrypt()
329 blocks[i].d[1] = BSWAP4(ctx->B[i]); in tls1_1_multi_block_encrypt()
331 blocks[i].d[2] = BSWAP4(ctx->C[i]); in tls1_1_multi_block_encrypt()
579 # ifdef BSWAP4 in aesni_cbc_hmac_sha256_cipher()
580 bitlen = BSWAP4(bitlen); in aesni_cbc_hmac_sha256_cipher()
[all …]
H A De_aes_cbc_hmac_sha1.c306 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
307 blocks[i].d[15] = BSWAP4(len); in tls1_1_multi_block_encrypt()
313 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
314 blocks[i].d[31] = BSWAP4(len); in tls1_1_multi_block_encrypt()
328 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
329 blocks[i].d[0] = BSWAP4(ctx->A[i]); in tls1_1_multi_block_encrypt()
331 blocks[i].d[1] = BSWAP4(ctx->B[i]); in tls1_1_multi_block_encrypt()
333 blocks[i].d[2] = BSWAP4(ctx->C[i]); in tls1_1_multi_block_encrypt()
598 # ifdef BSWAP4 in aesni_cbc_hmac_sha1_cipher()
599 bitlen = BSWAP4(bitlen); in aesni_cbc_hmac_sha1_cipher()
[all …]

Completed in 24 milliseconds