Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/include/crypto/
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
83 # define BSWAP4(x) _byteswap_ulong((u32)(x)) macro
88 # define BSWAP4(x) _bswap4(x) macro
92 #if defined(BSWAP4) && !defined(STRICT_ALIGNMENT)
93 # define GETU32(p) BSWAP4(*(const u32 *)(p))
94 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v)
/third_party/openssl/include/crypto/
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
83 # define BSWAP4(x) _byteswap_ulong((u32)(x)) macro
88 # define BSWAP4(x) _bswap4(x) macro
92 #if defined(BSWAP4) && !defined(STRICT_ALIGNMENT)
93 # define GETU32(p) BSWAP4(*(const u32 *)(p))
94 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v)
/third_party/node/deps/openssl/openssl/crypto/modes/
Dgcm128.c22 #if defined(BSWAP4) && defined(STRICT_ALIGNMENT)
25 # define GETU32(p) BSWAP4(*(const u32 *)(p))
27 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v)
877 #ifdef BSWAP4
878 ctr = BSWAP4(ctx->Xi.d[3]);
896 #ifdef BSWAP4
897 ctx->Yi.d[3] = BSWAP4(ctr);
1010 #ifdef BSWAP4
1011 ctr = BSWAP4(ctx->Yi.d[3]);
1071 # ifdef BSWAP4
[all …]
/third_party/openssl/crypto/modes/
Dgcm128.c22 #if defined(BSWAP4) && defined(STRICT_ALIGNMENT)
25 # define GETU32(p) BSWAP4(*(const u32 *)(p))
27 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v)
877 #ifdef BSWAP4
878 ctr = BSWAP4(ctx->Xi.d[3]);
896 #ifdef BSWAP4
897 ctx->Yi.d[3] = BSWAP4(ctr);
1010 #ifdef BSWAP4
1011 ctr = BSWAP4(ctx->Yi.d[3]);
1071 # ifdef BSWAP4
[all …]
/third_party/openssl/providers/implementations/ciphers/
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()
305 blocks[i].d[3] = BSWAP4(mctx->D[i]); in tls1_multi_block_encrypt()
307 blocks[i].d[4] = BSWAP4(mctx->E[i]); in tls1_multi_block_encrypt()
[all …]
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()
297 blocks[i].d[3] = BSWAP4(mctx->D[i]); in tls1_multi_block_encrypt()
299 blocks[i].d[4] = BSWAP4(mctx->E[i]); in tls1_multi_block_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
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()
305 blocks[i].d[3] = BSWAP4(mctx->D[i]); in tls1_multi_block_encrypt()
307 blocks[i].d[4] = BSWAP4(mctx->E[i]); in tls1_multi_block_encrypt()
[all …]
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()
297 blocks[i].d[3] = BSWAP4(mctx->D[i]); in tls1_multi_block_encrypt()
299 blocks[i].d[4] = BSWAP4(mctx->E[i]); in tls1_multi_block_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
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()
333 blocks[i].d[3] = BSWAP4(ctx->D[i]); in tls1_1_multi_block_encrypt()
335 blocks[i].d[4] = BSWAP4(ctx->E[i]); in tls1_1_multi_block_encrypt()
[all …]
De_aes_cbc_hmac_sha1.c305 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
306 blocks[i].d[15] = BSWAP4(len); in tls1_1_multi_block_encrypt()
312 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
313 blocks[i].d[31] = BSWAP4(len); in tls1_1_multi_block_encrypt()
327 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
328 blocks[i].d[0] = BSWAP4(ctx->A[i]); in tls1_1_multi_block_encrypt()
330 blocks[i].d[1] = BSWAP4(ctx->B[i]); in tls1_1_multi_block_encrypt()
332 blocks[i].d[2] = BSWAP4(ctx->C[i]); in tls1_1_multi_block_encrypt()
334 blocks[i].d[3] = BSWAP4(ctx->D[i]); in tls1_1_multi_block_encrypt()
336 blocks[i].d[4] = BSWAP4(ctx->E[i]); in tls1_1_multi_block_encrypt()
[all …]
/third_party/openssl/crypto/evp/
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()
333 blocks[i].d[3] = BSWAP4(ctx->D[i]); in tls1_1_multi_block_encrypt()
335 blocks[i].d[4] = BSWAP4(ctx->E[i]); in tls1_1_multi_block_encrypt()
[all …]
De_aes_cbc_hmac_sha1.c305 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
306 blocks[i].d[15] = BSWAP4(len); in tls1_1_multi_block_encrypt()
312 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
313 blocks[i].d[31] = BSWAP4(len); in tls1_1_multi_block_encrypt()
327 # ifdef BSWAP4 in tls1_1_multi_block_encrypt()
328 blocks[i].d[0] = BSWAP4(ctx->A[i]); in tls1_1_multi_block_encrypt()
330 blocks[i].d[1] = BSWAP4(ctx->B[i]); in tls1_1_multi_block_encrypt()
332 blocks[i].d[2] = BSWAP4(ctx->C[i]); in tls1_1_multi_block_encrypt()
334 blocks[i].d[3] = BSWAP4(ctx->D[i]); in tls1_1_multi_block_encrypt()
336 blocks[i].d[4] = BSWAP4(ctx->E[i]); in tls1_1_multi_block_encrypt()
[all …]