| /freebsd-11-stable/crypto/openssl/crypto/camellia/ |
| HD | camellia.c | 101 # define PUTU32(p,v) (*((u32 *)(p)) = SWAP((v))) macro 108 # define PUTU32(p,v) (*(u32 *)(p)=(v)) macro 111 # define PUTU32(p,v) ({u32 r=(v); asm("bswapl %0":"=r"(r):"0"(r)); *(u32 *)(p)=r; }) macro 121 # define PUTU32(p,v) (*(u32 *)(p)=(v)) macro 131 #if !defined(GETU32) && !defined(PUTU32) 133 # define PUTU32(p,v) ((p)[0] = (u8)((v) >> 24), (p)[1] = (u8)((v) >> 16), (p)[2] = (u8)((v) >> 8),… macro 520 PUTU32(ciphertext, s2); in Camellia_EncryptBlock_Rounds() 521 PUTU32(ciphertext + 4, s3); in Camellia_EncryptBlock_Rounds() 522 PUTU32(ciphertext + 8, s0); in Camellia_EncryptBlock_Rounds() 523 PUTU32(ciphertext + 12, s1); in Camellia_EncryptBlock_Rounds() [all …]
|
| /freebsd-11-stable/crypto/openssl/crypto/evp/ |
| HD | e_aes_cbc_hmac_sha256.c | 356 PUTU32(blocks[i].c + 60, len); in tls1_1_multi_block_encrypt() 363 PUTU32(blocks[i].c + 124, len); in tls1_1_multi_block_encrypt() 395 PUTU32(blocks[i].c + 0, ctx->A[i]); in tls1_1_multi_block_encrypt() 397 PUTU32(blocks[i].c + 4, ctx->B[i]); in tls1_1_multi_block_encrypt() 399 PUTU32(blocks[i].c + 8, ctx->C[i]); in tls1_1_multi_block_encrypt() 401 PUTU32(blocks[i].c + 12, ctx->D[i]); in tls1_1_multi_block_encrypt() 403 PUTU32(blocks[i].c + 16, ctx->E[i]); in tls1_1_multi_block_encrypt() 405 PUTU32(blocks[i].c + 20, ctx->F[i]); in tls1_1_multi_block_encrypt() 407 PUTU32(blocks[i].c + 24, ctx->G[i]); in tls1_1_multi_block_encrypt() 409 PUTU32(blocks[i].c + 28, ctx->H[i]); in tls1_1_multi_block_encrypt() [all …]
|
| HD | e_aes_cbc_hmac_sha1.c | 356 PUTU32(blocks[i].c + 60, len); in tls1_1_multi_block_encrypt() 363 PUTU32(blocks[i].c + 124, len); in tls1_1_multi_block_encrypt() 389 PUTU32(blocks[i].c + 0, ctx->A[i]); in tls1_1_multi_block_encrypt() 391 PUTU32(blocks[i].c + 4, ctx->B[i]); in tls1_1_multi_block_encrypt() 393 PUTU32(blocks[i].c + 8, ctx->C[i]); in tls1_1_multi_block_encrypt() 395 PUTU32(blocks[i].c + 12, ctx->D[i]); in tls1_1_multi_block_encrypt() 397 PUTU32(blocks[i].c + 16, ctx->E[i]); in tls1_1_multi_block_encrypt() 400 PUTU32(blocks[i].c + 60, (64 + 20) * 8); in tls1_1_multi_block_encrypt() 419 PUTU32(out + 0, ctx->A[i]); in tls1_1_multi_block_encrypt() 420 PUTU32(out + 4, ctx->B[i]); in tls1_1_multi_block_encrypt() [all …]
|
| /freebsd-11-stable/crypto/openssl/crypto/modes/ |
| HD | gcm128.c | 67 # undef PUTU32 68 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) macro 249 PUTU32(p, v); in gcm_gmult_8bit() 251 PUTU32(p + 4, v); in gcm_gmult_8bit() 253 PUTU32(p + 8, v); in gcm_gmult_8bit() 255 PUTU32(p + 12, v); in gcm_gmult_8bit() 409 PUTU32(p, v); in gcm_gmult_4bit() 411 PUTU32(p + 4, v); in gcm_gmult_4bit() 413 PUTU32(p + 8, v); in gcm_gmult_4bit() 415 PUTU32(p + 12, v); in gcm_gmult_4bit() [all …]
|
| HD | modes_lcl.h | 87 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) macro 90 # define PUTU32(p,v) ((p)[0]=(u8)((v)>>24),(p)[1]=(u8)((v)>>16),(p)[2]=(u8)((v)>>8),(p)[3]=(u8)… macro
|
| HD | ctr128.c | 240 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32() 253 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
|
| /freebsd-11-stable/contrib/wpa/src/crypto/ |
| HD | aes-internal-enc.c | 88 PUTU32(ct , s0); in rijndaelEncrypt() 90 PUTU32(ct + 4, s1); in rijndaelEncrypt() 92 PUTU32(ct + 8, s2); in rijndaelEncrypt() 94 PUTU32(ct + 12, s3); in rijndaelEncrypt()
|
| HD | aes-internal-dec.c | 141 PUTU32(pt , s0); in rijndaelDecrypt() 143 PUTU32(pt + 4, s1); in rijndaelDecrypt() 145 PUTU32(pt + 8, s2); in rijndaelDecrypt() 147 PUTU32(pt + 12, s3); in rijndaelDecrypt()
|
| HD | aes_i.h | 111 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } macro 115 #define PUTU32(ct, st) { \ macro
|
| /freebsd-11-stable/crypto/openssl/crypto/aes/ |
| HD | aes_locl.h | 68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } macro 71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((… macro
|
| HD | aes_core.c | 946 PUTU32(out , s0); in AES_encrypt() 953 PUTU32(out + 4, s1); in AES_encrypt() 960 PUTU32(out + 8, s2); in AES_encrypt() 967 PUTU32(out + 12, s3); in AES_encrypt() 1138 PUTU32(out , s0); in AES_decrypt() 1145 PUTU32(out + 4, s1); in AES_decrypt() 1152 PUTU32(out + 8, s2); in AES_decrypt() 1159 PUTU32(out + 12, s3); in AES_decrypt()
|
| /freebsd-11-stable/crypto/openssh/ |
| HD | rijndael.c | 622 #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st… macro 921 PUTU32(ct , s0); in rijndaelEncrypt() 928 PUTU32(ct + 4, s1); in rijndaelEncrypt() 935 PUTU32(ct + 8, s2); in rijndaelEncrypt() 942 PUTU32(ct + 12, s3); in rijndaelEncrypt() 1106 PUTU32(pt , s0); 1113 PUTU32(pt + 4, s1); 1120 PUTU32(pt + 8, s2); 1127 PUTU32(pt + 12, s3);
|
| /freebsd-11-stable/sys/crypto/rijndael/ |
| HD | rijndael-alg-fst.c | 728 #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st… macro 1020 PUTU32(ct , s0); in rijndaelEncrypt() 1027 PUTU32(ct + 4, s1); in rijndaelEncrypt() 1034 PUTU32(ct + 8, s2); in rijndaelEncrypt() 1041 PUTU32(ct + 12, s3); in rijndaelEncrypt() 1201 PUTU32(pt , s0); in rijndaelDecrypt() 1208 PUTU32(pt + 4, s1); in rijndaelDecrypt() 1215 PUTU32(pt + 8, s2); in rijndaelDecrypt() 1222 PUTU32(pt + 12, s3); in rijndaelDecrypt()
|
| /freebsd-11-stable/sys/crypto/camellia/ |
| HD | camellia.c | 72 #define PUTU32(ct, st) {(ct)[0] = (uint8_t)((st) >> 24); \ macro 1296 PUTU32(ciphertext, tmp[0]); in Camellia_EncryptBlock() 1297 PUTU32(ciphertext+4, tmp[1]); in Camellia_EncryptBlock() 1298 PUTU32(ciphertext+8, tmp[2]); in Camellia_EncryptBlock() 1299 PUTU32(ciphertext+12, tmp[3]); in Camellia_EncryptBlock() 1328 PUTU32(plaintext, tmp[0]); in Camellia_DecryptBlock() 1329 PUTU32(plaintext+4, tmp[1]); in Camellia_DecryptBlock() 1330 PUTU32(plaintext+8, tmp[2]); in Camellia_DecryptBlock() 1331 PUTU32(plaintext+12, tmp[3]); in Camellia_DecryptBlock()
|