Home
last modified time | relevance | path

Searched refs:GETU32 (Results 1 – 17 of 17) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes-internal.c784 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
785 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
786 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
787 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
802 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc()
803 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc()
821 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc()
822 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
Daes-internal-enc.c34 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
35 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
36 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
37 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
Daes-internal-dec.c87 s0 = GETU32(ct ) ^ rk[0]; in rijndaelDecrypt()
88 s1 = GETU32(ct + 4) ^ rk[1]; in rijndaelDecrypt()
89 s2 = GETU32(ct + 8) ^ rk[2]; in rijndaelDecrypt()
90 s3 = GETU32(ct + 12) ^ rk[3]; in rijndaelDecrypt()
Daes_i.h110 #define GETU32(p) SWAP(*((u32 *)(p))) macro
113 #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ \ macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes-internal.c784 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
785 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
786 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
787 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
802 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc()
803 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc()
821 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc()
822 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
Daes-internal-enc.c34 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
35 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
36 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
37 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
Daes-internal-dec.c87 s0 = GETU32(ct ) ^ rk[0]; in rijndaelDecrypt()
88 s1 = GETU32(ct + 4) ^ rk[1]; in rijndaelDecrypt()
89 s2 = GETU32(ct + 8) ^ rk[2]; in rijndaelDecrypt()
90 s3 = GETU32(ct + 12) ^ rk[3]; in rijndaelDecrypt()
Daes_i.h110 #define GETU32(p) SWAP(*((u32 *)(p))) macro
113 #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ \ macro
/third_party/openssl/crypto/camellia/
Dcamellia.c50 #define GETU32(p) (((u32)(p)[0] << 24) ^ ((u32)(p)[1] << 16) ^ ((u32)(p)[2] << 8) ^ ((u32)(p)[3]… macro
284 k[0] = s0 = GETU32(rawKey); in Camellia_Ekeygen()
285 k[1] = s1 = GETU32(rawKey + 4); in Camellia_Ekeygen()
286 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen()
287 k[3] = s3 = GETU32(rawKey + 12); in Camellia_Ekeygen()
290 k[8] = s0 = GETU32(rawKey + 16); in Camellia_Ekeygen()
291 k[9] = s1 = GETU32(rawKey + 20); in Camellia_Ekeygen()
296 k[10] = s2 = GETU32(rawKey + 24); in Camellia_Ekeygen()
297 k[11] = s3 = GETU32(rawKey + 28); in Camellia_Ekeygen()
404 s0 = GETU32(plaintext) ^ k[0]; in Camellia_EncryptBlock_Rounds()
[all …]
/third_party/FreeBSD/sys/crypto/rijndael/
Drijndael-alg-fst.c727 #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)… macro
741 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
742 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
743 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
744 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
763 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc()
764 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc()
785 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc()
786 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
873 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
[all …]
/third_party/openssl/crypto/aes/
Daes_x86core.c79 #undef GETU32
80 #define GETU32(p) (*((u32*)(p))) macro
496 rk[0] = GETU32(userKey ); in AES_set_encrypt_key()
497 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key()
498 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key()
499 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
518 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key()
519 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key()
540 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key()
541 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key()
[all …]
Daes_core.c1284 rk[0] = GETU32(userKey ); in AES_set_encrypt_key()
1285 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key()
1286 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key()
1287 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
1306 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key()
1307 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key()
1328 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key()
1329 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key()
1433 s0 = GETU32(in ) ^ rk[0]; in AES_encrypt()
1434 s1 = GETU32(in + 4) ^ rk[1]; in AES_encrypt()
[all …]
Daes_local.h20 # define GETU32(p) SWAP(*((u32 *)(p))) macro
23 # define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(p… macro
/third_party/openssl/crypto/modes/
Dgcm128.c22 # undef GETU32
23 # define GETU32(p) BSWAP4(*(const u32 *)(p)) macro
593 X = (long)((u64)GETU32(p) << 32 | GETU32(p + 4));
597 X = (long)GETU32(p);
740 hi = (u64)GETU32(p) << 32 | GETU32(p + 4);
741 lo = (u64)GETU32(p + 8) << 32 | GETU32(p + 12);
901 ctr = GETU32(ctx->Xi.c + 12);
1037 ctr = GETU32(ctx->Yi.c + 12);
1272 ctr = GETU32(ctx->Yi.c + 12);
1517 ctr = GETU32(ctx->Yi.c + 12);
[all …]
Dmodes_local.h100 # define GETU32(p) BSWAP4(*(const u32_a1 *)(p)) macro
103 # define GETU32(p) ((u32)(p)[0]<<24|(u32)(p)[1]<<16|(u32)(p)[2]<<8|(u32)(p)[3]) macro
Dctr128.c170 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()
/third_party/openssl/crypto/rand/
Ddrbg_ctr.c367 ctr32 = GETU32(ctr->V + 12) + blocks; in drbg_ctr_generate()