Home
last modified time | relevance | path

Searched refs:PUTU32 (Results 1 – 11 of 11) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha256_hw.c279 PUTU32(blocks[i].c + 60, len); in tls1_multi_block_encrypt()
286 PUTU32(blocks[i].c + 124, len); in tls1_multi_block_encrypt()
318 PUTU32(blocks[i].c + 0, mctx->A[i]); in tls1_multi_block_encrypt()
354 PUTU32(out + 0, mctx->A[i]); in tls1_multi_block_encrypt()
355 PUTU32(out + 4, mctx->B[i]); in tls1_multi_block_encrypt()
356 PUTU32(out + 8, mctx->C[i]); in tls1_multi_block_encrypt()
357 PUTU32(out + 12, mctx->D[i]); in tls1_multi_block_encrypt()
358 PUTU32(out + 16, mctx->E[i]); in tls1_multi_block_encrypt()
359 PUTU32(out + 20, mctx->F[i]); in tls1_multi_block_encrypt()
360 PUTU32(out + 24, mctx->G[i]); in tls1_multi_block_encrypt()
[all …]
H A Dcipher_aes_cbc_hmac_sha1_hw.c271 PUTU32(blocks[i].c + 60, len); in tls1_multi_block_encrypt()
278 PUTU32(blocks[i].c + 124, len); in tls1_multi_block_encrypt()
304 PUTU32(blocks[i].c + 0, mctx->A[i]); in tls1_multi_block_encrypt()
306 PUTU32(blocks[i].c + 4, mctx->B[i]); in tls1_multi_block_encrypt()
308 PUTU32(blocks[i].c + 8, mctx->C[i]); in tls1_multi_block_encrypt()
310 PUTU32(blocks[i].c + 12, mctx->D[i]); in tls1_multi_block_encrypt()
334 PUTU32(out + 0, mctx->A[i]); in tls1_multi_block_encrypt()
335 PUTU32(out + 4, mctx->B[i]); in tls1_multi_block_encrypt()
336 PUTU32(out + 8, mctx->C[i]); in tls1_multi_block_encrypt()
337 PUTU32(out + 12, mctx->D[i]); in tls1_multi_block_encrypt()
[all …]
/openssl/crypto/camellia/
H A Dcamellia.c57 #define PUTU32(p,v) ((p)[0] = (u8)((v) >> 24), (p)[1] = (u8)((v) >> 16), (p)[2] = (u8)((v) >> 8), … macro
443 PUTU32(ciphertext, s2); in Camellia_EncryptBlock_Rounds()
444 PUTU32(ciphertext + 4, s3); in Camellia_EncryptBlock_Rounds()
445 PUTU32(ciphertext + 8, s0); in Camellia_EncryptBlock_Rounds()
446 PUTU32(ciphertext + 12, s1); in Camellia_EncryptBlock_Rounds()
496 PUTU32(plaintext, s2); in Camellia_DecryptBlock_Rounds()
497 PUTU32(plaintext + 4, s3); in Camellia_DecryptBlock_Rounds()
498 PUTU32(plaintext + 8, s0); in Camellia_DecryptBlock_Rounds()
499 PUTU32(plaintext + 12, s1); in Camellia_DecryptBlock_Rounds()
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c307 PUTU32(blocks[i].c + 60, len); in tls1_1_multi_block_encrypt()
314 PUTU32(blocks[i].c + 124, len); in tls1_1_multi_block_encrypt()
346 PUTU32(blocks[i].c + 0, ctx->A[i]); in tls1_1_multi_block_encrypt()
382 PUTU32(out + 0, ctx->A[i]); in tls1_1_multi_block_encrypt()
383 PUTU32(out + 4, ctx->B[i]); in tls1_1_multi_block_encrypt()
384 PUTU32(out + 8, ctx->C[i]); in tls1_1_multi_block_encrypt()
385 PUTU32(out + 12, ctx->D[i]); in tls1_1_multi_block_encrypt()
386 PUTU32(out + 16, ctx->E[i]); in tls1_1_multi_block_encrypt()
387 PUTU32(out + 20, ctx->F[i]); in tls1_1_multi_block_encrypt()
388 PUTU32(out + 24, ctx->G[i]); in tls1_1_multi_block_encrypt()
[all …]
H A De_aes_cbc_hmac_sha1.c309 PUTU32(blocks[i].c + 60, len); in tls1_1_multi_block_encrypt()
316 PUTU32(blocks[i].c + 124, len); in tls1_1_multi_block_encrypt()
342 PUTU32(blocks[i].c + 0, ctx->A[i]); in tls1_1_multi_block_encrypt()
344 PUTU32(blocks[i].c + 4, ctx->B[i]); in tls1_1_multi_block_encrypt()
346 PUTU32(blocks[i].c + 8, ctx->C[i]); in tls1_1_multi_block_encrypt()
348 PUTU32(blocks[i].c + 12, ctx->D[i]); in tls1_1_multi_block_encrypt()
372 PUTU32(out + 0, ctx->A[i]); in tls1_1_multi_block_encrypt()
373 PUTU32(out + 4, ctx->B[i]); in tls1_1_multi_block_encrypt()
374 PUTU32(out + 8, ctx->C[i]); in tls1_1_multi_block_encrypt()
375 PUTU32(out + 12, ctx->D[i]); in tls1_1_multi_block_encrypt()
[all …]
/openssl/crypto/modes/
H A Dgcm128.c26 # undef PUTU32
27 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) macro
220 PUTU32(p, v); in gcm_gmult_4bit()
222 PUTU32(p + 4, v); in gcm_gmult_4bit()
224 PUTU32(p + 8, v); in gcm_gmult_4bit()
226 PUTU32(p + 12, v); in gcm_gmult_4bit()
303 PUTU32(p, v); in gcm_ghash_4bit()
305 PUTU32(p + 4, v); in gcm_ghash_4bit()
307 PUTU32(p + 8, v); in gcm_ghash_4bit()
309 PUTU32(p + 12, v); in gcm_ghash_4bit()
[all …]
H A Dctr128.c189 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
202 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
/openssl/crypto/aes/
H A Daes_local.h21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } macro
24 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((… macro
H A Daes_core.c1596 PUTU32(out , s0); in AES_encrypt()
1603 PUTU32(out + 4, s1); in AES_encrypt()
1610 PUTU32(out + 8, s2); in AES_encrypt()
1617 PUTU32(out + 12, s3); in AES_encrypt()
1788 PUTU32(out , s0); in AES_decrypt()
1795 PUTU32(out + 4, s1); in AES_decrypt()
1802 PUTU32(out + 8, s2); in AES_decrypt()
1809 PUTU32(out + 12, s3); in AES_decrypt()
/openssl/include/crypto/
H A Dmodes.h101 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) macro
104 # define PUTU32(p,v) ((p)[0]=(u8)((v)>>24),(p)[1]=(u8)((v)>>16),(p)[2]=(u8)((v)>>8),(p)[3]=(u8)… macro
/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c447 PUTU32(ctr->V + 12, ctr32); in drbg_ctr_generate()

Completed in 26 milliseconds