Home
last modified time | relevance | path

Searched refs:GETU32 (Results 1 – 9 of 9) 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/boringssl/src/crypto/aes/
Daes.c562 rk[0] = GETU32(key); in AES_set_encrypt_key()
563 rk[1] = GETU32(key + 4); in AES_set_encrypt_key()
564 rk[2] = GETU32(key + 8); in AES_set_encrypt_key()
565 rk[3] = GETU32(key + 12); in AES_set_encrypt_key()
582 rk[4] = GETU32(key + 16); in AES_set_encrypt_key()
583 rk[5] = GETU32(key + 20); in AES_set_encrypt_key()
602 rk[6] = GETU32(key + 24); in AES_set_encrypt_key()
603 rk[7] = GETU32(key + 28); in AES_set_encrypt_key()
692 s0 = GETU32(in) ^ rk[0]; in AES_encrypt()
693 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.c68 #undef GETU32
69 #define GETU32(p) BSWAP4(*(const uint32_t *)(p)) macro
439 hi = (uint64_t)GETU32(p) << 32 | GETU32(p + 4); in CRYPTO_gcm128_init()
440 lo = (uint64_t)GETU32(p + 8) << 32 | GETU32(p + 12); in CRYPTO_gcm128_init()
556 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_setiv()
668 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_encrypt()
828 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_decrypt()
993 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_encrypt_ctr32()
1102 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_decrypt_ctr32()
1212 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.c181 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()