/freebsd-11-stable/crypto/openssl/crypto/aes/ |
H A D | 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)((st) >> 8); (ct)[3] = (u8)(st); } macro
|
H A D | aes_core.c | 946 PUTU32(out , s0); 953 PUTU32(out + 4, s1); 960 PUTU32(out + 8, s2); 967 PUTU32(out + 12, s3); 1138 PUTU32(out , s0); 1145 PUTU32(out + 4, s1); 1152 PUTU32(out + 8, s2); 1159 PUTU32(out + 12, s3);
|
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | aes-internal-enc.c | 88 PUTU32(ct , s0); 90 PUTU32(ct + 4, s1); 92 PUTU32(ct + 8, s2); 94 PUTU32(ct + 12, s3);
|
H A D | aes-internal-dec.c | 141 PUTU32(pt , s0); 143 PUTU32(pt + 4, s1); 145 PUTU32(pt + 8, s2); 147 PUTU32(pt + 12, s3);
|
H A D | 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/evp/ |
H A D | e_aes_cbc_hmac_sha256.c | 356 PUTU32(blocks[i].c + 60, len); 363 PUTU32(blocks[i].c + 124, len); 395 PUTU32(blocks[i].c + 0, ctx->A[i]); 397 PUTU32(blocks[i].c + 4, ctx->B[i]); 399 PUTU32(blocks[i].c + 8, ctx->C[i]); 401 PUTU32(blocks[i].c + 12, ctx->D[i]); 403 PUTU32(blocks[i].c + 16, ctx->E[i]); 405 PUTU32(blocks[i].c + 20, ctx->F[i]); 407 PUTU32(blocks[i].c + 24, ctx->G[i]); 409 PUTU32(block [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 356 PUTU32(blocks[i].c + 60, len); 363 PUTU32(blocks[i].c + 124, len); 389 PUTU32(blocks[i].c + 0, ctx->A[i]); 391 PUTU32(blocks[i].c + 4, ctx->B[i]); 393 PUTU32(blocks[i].c + 8, ctx->C[i]); 395 PUTU32(blocks[i].c + 12, ctx->D[i]); 397 PUTU32(blocks[i].c + 16, ctx->E[i]); 400 PUTU32(blocks[i].c + 60, (64 + 20) * 8); 419 PUTU32(out + 0, ctx->A[i]); 420 PUTU32(ou [all...] |
/freebsd-11-stable/crypto/openssl/crypto/modes/ |
H A D | 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)(v)) macro
|
H A D | ctr128.c | 240 PUTU32(ivec + 12, ctr32); 253 PUTU32(ivec + 12, ctr32);
|
H A D | gcm128.c | 67 # undef PUTU32 macro 68 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) macro 249 PUTU32(p, v); 251 PUTU32(p + 4, v); 253 PUTU32(p + 8, v); 255 PUTU32(p + 12, v); 409 PUTU32(p, v); 411 PUTU32(p + 4, v); 413 PUTU32(p + 8, v); 415 PUTU32( [all...] |
/freebsd-11-stable/crypto/openssl/crypto/camellia/ |
H A D | 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), (p)[3] = (u8)(v)) macro 520 PUTU32(ciphertext, s2); 521 PUTU32(ciphertext + 4, s3); 522 PUTU32(ciphertext + 8, s0); 523 PUTU32(ciphertex [all...] |
/freebsd-11-stable/sys/crypto/camellia/ |
H A D | camellia.c | 72 #define PUTU32(ct, st) {(ct)[0] = (uint8_t)((st) >> 24); \ macro 1296 PUTU32(ciphertext, tmp[0]); 1297 PUTU32(ciphertext+4, tmp[1]); 1298 PUTU32(ciphertext+8, tmp[2]); 1299 PUTU32(ciphertext+12, tmp[3]); 1328 PUTU32(plaintext, tmp[0]); 1329 PUTU32(plaintext+4, tmp[1]); 1330 PUTU32(plaintext+8, tmp[2]); 1331 PUTU32(plaintext+12, tmp[3]);
|
/freebsd-11-stable/sys/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 728 #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } macro 1020 PUTU32(ct , s0); 1027 PUTU32(ct + 4, s1); 1034 PUTU32(ct + 8, s2); 1041 PUTU32(ct + 12, s3); 1201 PUTU32(pt , s0); 1208 PUTU32(pt + 4, s1); 1215 PUTU32(pt + 8, s2); 1222 PUTU32(pt + 12, s3);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | rijndael.c | 622 #define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } macro 921 PUTU32(ct , s0); 928 PUTU32(ct + 4, s1); 935 PUTU32(ct + 8, s2); 942 PUTU32(ct + 12, s3); 1106 PUTU32(pt , s0); 1113 PUTU32(pt + 4, s1); 1120 PUTU32(pt + 8, s2); 1127 PUTU32(pt + 12, s3);
|