Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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
/external/openssh/
Drijndael.c621 #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)… macro
635 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
636 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
637 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
638 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
657 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc()
658 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc()
679 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc()
680 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
774 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
[all …]
/external/boringssl/src/crypto/aes/
Daes.c559 rk[0] = GETU32(key); in AES_set_encrypt_key()
560 rk[1] = GETU32(key + 4); in AES_set_encrypt_key()
561 rk[2] = GETU32(key + 8); in AES_set_encrypt_key()
562 rk[3] = GETU32(key + 12); in AES_set_encrypt_key()
579 rk[4] = GETU32(key + 16); in AES_set_encrypt_key()
580 rk[5] = GETU32(key + 20); in AES_set_encrypt_key()
599 rk[6] = GETU32(key + 24); in AES_set_encrypt_key()
600 rk[7] = GETU32(key + 28); in AES_set_encrypt_key()
689 s0 = GETU32(in) ^ rk[0]; in AES_encrypt()
690 s1 = GETU32(in + 4) ^ rk[1]; in AES_encrypt()
[all …]
Dinternal.h62 #define GETU32(p) SWAP(*((uint32_t *)(p))) macro
66 #define GETU32(pt) \
/external/boringssl/src/crypto/modes/
Dgcm.c69 #undef GETU32
70 #define GETU32(p) BSWAP4(*(const uint32_t *)(p)) macro
437 hi = (uint64_t)GETU32(p) << 32 | GETU32(p + 4); in CRYPTO_gcm128_init()
438 lo = (uint64_t)GETU32(p + 8) << 32 | GETU32(p + 12); in CRYPTO_gcm128_init()
553 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_setiv()
665 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_encrypt()
825 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_decrypt()
991 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_encrypt_ctr32()
1101 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_decrypt_ctr32()
1210 alen = (uint64_t)GETU32(p) << 32 | GETU32(p + 4); in CRYPTO_gcm128_finish()
[all …]
Dinternal.h141 #define GETU32(p) BSWAP4(*(const uint32_t *)(p)) macro
144 #define GETU32(p) \
Dctr.c179 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()