Home
last modified time | relevance | path

Searched refs:aes (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/
DNISTObjectIdentifiers.java56 static final ASN1ObjectIdentifier aes = nistAlgorithm.branch("1"); field
59 static final ASN1ObjectIdentifier id_aes128_ECB = aes.branch("1");
61 static final ASN1ObjectIdentifier id_aes128_CBC = aes.branch("2");
63 static final ASN1ObjectIdentifier id_aes128_OFB = aes.branch("3");
65 static final ASN1ObjectIdentifier id_aes128_CFB = aes.branch("4");
67 static final ASN1ObjectIdentifier id_aes128_wrap = aes.branch("5");
69 static final ASN1ObjectIdentifier id_aes128_GCM = aes.branch("6");
71 static final ASN1ObjectIdentifier id_aes128_CCM = aes.branch("7");
73 static final ASN1ObjectIdentifier id_aes128_wrap_pad = aes.branch("8");
76 static final ASN1ObjectIdentifier id_aes192_ECB = aes.branch("21");
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/nist/
DNISTObjectIdentifiers.java58 static final ASN1ObjectIdentifier aes = nistAlgorithm.branch("1"); field
61 static final ASN1ObjectIdentifier id_aes128_ECB = aes.branch("1");
63 static final ASN1ObjectIdentifier id_aes128_CBC = aes.branch("2");
65 static final ASN1ObjectIdentifier id_aes128_OFB = aes.branch("3");
67 static final ASN1ObjectIdentifier id_aes128_CFB = aes.branch("4");
69 static final ASN1ObjectIdentifier id_aes128_wrap = aes.branch("5");
71 static final ASN1ObjectIdentifier id_aes128_GCM = aes.branch("6");
73 static final ASN1ObjectIdentifier id_aes128_CCM = aes.branch("7");
75 static final ASN1ObjectIdentifier id_aes128_wrap_pad = aes.branch("8");
78 static final ASN1ObjectIdentifier id_aes192_ECB = aes.branch("21");
[all …]
/external/wpa_supplicant_8/src/crypto/
Daes-ccm.c28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument
44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start()
54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start()
59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
64 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument
73 aes_encrypt(aes, x, x); in aes_ccm_auth()
79 aes_encrypt(aes, x, x); in aes_ccm_auth()
92 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument
102 aes_encrypt(aes, a, out); in aes_ccm_encr()
109 aes_encrypt(aes, a, out); in aes_ccm_encr()
[all …]
DMakefile22 aes-cbc.o \
23 aes-ccm.o \
24 aes-ctr.o \
25 aes-eax.o \
26 aes-encblock.o \
27 aes-gcm.o \
28 aes-internal.o \
29 aes-internal-dec.o \
30 aes-internal-enc.o \
31 aes-omac1.o \
[all …]
Daes-gcm.c143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument
158 aes_encrypt(aes, cb, ypos); in aes_gctr()
168 aes_encrypt(aes, cb, tmp); in aes_gctr()
177 void *aes; in aes_gcm_init_hash_subkey() local
179 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey()
180 if (aes == NULL) in aes_gcm_init_hash_subkey()
185 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey()
188 return aes; in aes_gcm_init_hash_subkey()
215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument
225 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr()
[all …]
Dcrypto_internal-cipher.c29 } aes; member
65 ctx->u.aes.ctx_enc = aes_encrypt_init(key, key_len); in crypto_cipher_init()
66 if (ctx->u.aes.ctx_enc == NULL) { in crypto_cipher_init()
70 ctx->u.aes.ctx_dec = aes_decrypt_init(key, key_len); in crypto_cipher_init()
71 if (ctx->u.aes.ctx_dec == NULL) { in crypto_cipher_init()
72 aes_encrypt_deinit(ctx->u.aes.ctx_enc); in crypto_cipher_init()
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
124 ctx->u.aes.cbc); in crypto_cipher_encrypt()
[all …]
Dcrypto_wolfssl.c310 Aes *aes; in aes_encrypt_init() local
315 aes = os_malloc(sizeof(Aes)); in aes_encrypt_init()
316 if (!aes) in aes_encrypt_init()
319 if (wc_AesSetKey(aes, key, len, NULL, AES_ENCRYPTION) < 0) { in aes_encrypt_init()
320 os_free(aes); in aes_encrypt_init()
324 return aes; in aes_encrypt_init()
343 Aes *aes; in aes_decrypt_init() local
348 aes = os_malloc(sizeof(Aes)); in aes_decrypt_init()
349 if (!aes) in aes_decrypt_init()
352 if (wc_AesSetKey(aes, key, len, NULL, AES_DECRYPTION) < 0) { in aes_decrypt_init()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ARM/
Daes-intrinsics.ll6 ; CHECK-NEXT: %data.aes = tail call <16 x i8> @llvm.arm.neon.aese(<16 x i8> %data, <16 x i8> %ke…
7 ; CHECK-NEXT: ret <16 x i8> %data.aes
9 …%data.aes = tail call <16 x i8> @llvm.arm.neon.aese(<16 x i8> %data.xor, <16 x i8> zeroinitializer)
10 ret <16 x i8> %data.aes
16 ; CHECK-NEXT: %data.aes = tail call <16 x i8> @llvm.arm.neon.aese(<16 x i8> %data.xor, <16 x i8>…
17 ; CHECK-NEXT: ret <16 x i8> %data.aes
19 …%data.aes = tail call <16 x i8> @llvm.arm.neon.aese(<16 x i8> %data.xor, <16 x i8> <i8 -1, i8 -1, …
20 ret <16 x i8> %data.aes
25 ; CHECK-NEXT: %data.aes = tail call <16 x i8> @llvm.arm.neon.aesd(<16 x i8> %data, <16 x i8> %ke…
26 ; CHECK-NEXT: ret <16 x i8> %data.aes
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/AArch64/
Daes-intrinsics.ll6 ; CHECK-NEXT: %data.aes = tail call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data, <16 x i…
7 ; CHECK-NEXT: ret <16 x i8> %data.aes
9 …%data.aes = tail call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data.xor, <16 x i8> zeroiniti…
10 ret <16 x i8> %data.aes
16 ; CHECK-NEXT: %data.aes = tail call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data.xor, <16…
17 ; CHECK-NEXT: ret <16 x i8> %data.aes
19 …%data.aes = tail call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data.xor, <16 x i8> <i8 -1, i…
20 ret <16 x i8> %data.aes
25 ; CHECK-NEXT: %data.aes = tail call <16 x i8> @llvm.aarch64.crypto.aesd(<16 x i8> %data, <16 x i…
26 ; CHECK-NEXT: ret <16 x i8> %data.aes
[all …]
/external/boringssl/src/crypto/fipsmodule/
DCMakeLists.txt9 aes-x86_64.${ASM_EXT}
30 aes-586.${ASM_EXT}
49 aes-armv4.${ASM_EXT}
85 perlasm(aes-586.${ASM_EXT} aes/asm/aes-586.pl)
86 perlasm(aes-armv4.${ASM_EXT} aes/asm/aes-armv4.pl)
88 perlasm(aesni-x86_64.${ASM_EXT} aes/asm/aesni-x86_64.pl)
89 perlasm(aesni-x86.${ASM_EXT} aes/asm/aesni-x86.pl)
90 perlasm(aesp8-ppc.${ASM_EXT} aes/asm/aesp8-ppc.pl)
91 perlasm(aesv8-armx.${ASM_EXT} aes/asm/aesv8-armx.pl)
92 perlasm(aes-x86_64.${ASM_EXT} aes/asm/aes-x86_64.pl)
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp252 CRYPT_aes_context aes; in Revision6_Hash() local
253 memset(&aes, 0, sizeof(aes)); in Revision6_Hash()
271 CRYPT_AESSetKey(&aes, 16, key, 16, true); in Revision6_Hash()
272 CRYPT_AESSetIV(&aes, iv); in Revision6_Hash()
273 CRYPT_AESEncrypt(&aes, E, content.data(), iBufLen); in Revision6_Hash()
356 CRYPT_aes_context aes; in AES256_CheckPassword() local
357 memset(&aes, 0, sizeof(aes)); in AES256_CheckPassword()
358 CRYPT_AESSetKey(&aes, 16, digest, 32, false); in AES256_CheckPassword()
361 CRYPT_AESSetIV(&aes, iv); in AES256_CheckPassword()
362 CRYPT_AESDecrypt(&aes, key, ekey.raw_str(), 32); in AES256_CheckPassword()
[all …]
/external/conscrypt/openjdk-integ-tests/src/test/resources/crypto/
Dbuild_test_files.sh15 cat "$1"/CBC*.rsp | ./parse_records.py > aes-cbc.csv
16 cat "$1"/CFB8*.rsp | ./parse_records.py > aes-cfb8.csv
17 cat "$1"/CFB128*.rsp | ./parse_records.py > aes-cfb128.csv
18 cat "$1"/ECB*.rsp | ./parse_records.py > aes-ecb.csv
19 cat "$1"/OFB*.rsp | ./parse_records.py > aes-ofb.csv
25 cat "$1"/gcm*.rsp | ./parse_records.py > aes-gcm.csv
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Daesni-x86.pl142 eval"&aes${p} ($inout,$rndkey1)";
147 eval"&aes${p}last ($inout,$rndkey1)";
164 eval"&aes${p} ($inout,$rndkey1)";
166 eval"&aes${p} ($inout,$rndkey0)";
169 eval"&aes${p} ($inout,$rndkey1)";
171 eval"&aes${p} ($inout,$rndkey0)";
174 eval"&aes${p} ($inout,$rndkey1)";
176 eval"&aes${p} ($inout,$rndkey0)";
178 eval"&aes${p} ($inout,$rndkey1)";
180 eval"&aes${p} ($inout,$rndkey0)";
[all …]
/external/boringssl/src/ssl/test/runner/
Dticket.go162 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size)
163 iv := encrypted[:aes.BlockSize]
169 block, err := aes.NewCipher(c.config.SessionTicketKey[:16])
173 cipher.NewCTR(block, iv).XORKeyStream(encrypted[aes.BlockSize:], serialized)
183 if len(encrypted) < aes.BlockSize+sha256.Size {
187 iv := encrypted[:aes.BlockSize]
198 block, err := aes.NewCipher(c.config.SessionTicketKey[:16])
202 ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
/external/boringssl/src/crypto/fipsmodule/aes/
Daes_test.cc153 AES_KEY aes; in TEST() local
154 ASSERT_EQ(0, AES_set_decrypt_key(key.data(), 8 * key.size(), &aes)); in TEST()
156 int len = AES_unwrap_key(&aes, nullptr, out.data(), ct.data(), ct.size()); in TEST()
161 ASSERT_EQ(0, AES_set_encrypt_key(key.data(), 8 * key.size(), &aes)); in TEST()
162 len = AES_wrap_key(&aes, nullptr, out.data(), msg.data(), msg.size()); in TEST()
166 AES_KEY aes; in TEST() local
167 ASSERT_EQ(0, AES_set_decrypt_key(key.data(), 8 * key.size(), &aes)); in TEST()
169 int len = AES_unwrap_key(&aes, nullptr, out.data(), ct.data(), ct.size()); in TEST()
177 AES_KEY aes; in TEST() local
178 ASSERT_EQ(0, AES_set_encrypt_key(key, 128, &aes)); in TEST()
[all …]
/external/boringssl/src/crypto/obj/
Dobjects.txt849 !Alias aes nistAlgorithms 1
851 aes 1 : AES-128-ECB : aes-128-ecb
852 aes 2 : AES-128-CBC : aes-128-cbc
853 !Cname aes-128-ofb128
854 aes 3 : AES-128-OFB : aes-128-ofb
855 !Cname aes-128-cfb128
856 aes 4 : AES-128-CFB : aes-128-cfb
857 aes 5 : id-aes128-wrap
858 aes 6 : id-aes128-GCM : aes-128-gcm
859 aes 7 : id-aes128-CCM : aes-128-ccm
[all …]
/external/tcpdump/tests/
Dikev2four.out5 (t: #1 type=encr id=aes (type=keylen value=0080))
6 (t: #2 type=encr id=aes (type=keylen value=0100))
7 (t: #3 type=encr id=aes (type=keylen value=00c0))
14 (t: #10 type=integ id=aes-xcbc )
29 (t: #1 type=encr id=aes (type=keylen value=0080))
30 (t: #2 type=encr id=aes (type=keylen value=0100))
31 (t: #3 type=encr id=aes (type=keylen value=00c0))
38 (t: #10 type=integ id=aes-xcbc )
49 (t: #1 type=encr id=aes (type=keylen value=0080))
Dikev2fourv.out5 (t: #1 type=encr id=aes (type=keylen value=0080))
6 (t: #2 type=encr id=aes (type=keylen value=0100))
7 (t: #3 type=encr id=aes (type=keylen value=00c0))
14 (t: #10 type=integ id=aes-xcbc )
29 (t: #1 type=encr id=aes (type=keylen value=0080))
30 (t: #2 type=encr id=aes (type=keylen value=0100))
31 (t: #3 type=encr id=aes (type=keylen value=00c0))
38 (t: #10 type=integ id=aes-xcbc )
49 (t: #1 type=encr id=aes (type=keylen value=0080))
Dikev2fourv4.out5 (t: #1 type=encr id=aes (type=keylen value=0080))
6 (t: #2 type=encr id=aes (type=keylen value=0100))
7 (t: #3 type=encr id=aes (type=keylen value=00c0))
14 (t: #10 type=integ id=aes-xcbc )
29 (t: #1 type=encr id=aes (type=keylen value=0080))
30 (t: #2 type=encr id=aes (type=keylen value=0100))
31 (t: #3 type=encr id=aes (type=keylen value=00c0))
38 (t: #10 type=integ id=aes-xcbc )
49 (t: #1 type=encr id=aes (type=keylen value=0080))
/external/lzma/C/
DAes.h23 typedef void (MY_FAST_CALL *AES_SET_KEY_FUNC)(UInt32 *aes, const Byte *key, unsigned keySize);
24 void MY_FAST_CALL Aes_SetKey_Enc(UInt32 *aes, const Byte *key, unsigned keySize);
25 void MY_FAST_CALL Aes_SetKey_Dec(UInt32 *aes, const Byte *key, unsigned keySize);
/external/python/oauth2client/scripts/
Drun_system_tests.sh27 openssl aes-256-cbc -K ${OAUTH2CLIENT_KEY} \
32 openssl aes-256-cbc -K ${OAUTH2CLIENT_KEY} \
37 openssl aes-256-cbc -K ${OAUTH2CLIENT_KEY} \
/external/u-boot/arch/x86/cpu/intel_common/
Dreport_platform.c19 int vt, txt, aes; in report_cpu_info() local
33 aes = (cpuidr.ecx & (1 << 25)) ? 1 : 0; in report_cpu_info()
37 mode[aes], mode[txt], mode[vt]); in report_cpu_info()
/external/v8/tools/perf/
Dstatistics-for-json.R61 hist <- ggplot(data=data.frame(x=as.integer(patch_res)), aes(x)) +
69 hist <- ggplot(data=data.frame(x=as.integer(nopatch_res)), aes(x)) +
96 speedup <- ggplot(df2, aes(x = x, y = E, colour=p.value.sig)) +
97 geom_errorbar(aes(ymax = L, ymin = R), colour="black") +
/external/wpa_supplicant_8/wpa_supplicant/
Dnmake.mak69 $(OBJDIR)\aes-cbc.obj \
70 $(OBJDIR)\aes-ctr.obj \
71 $(OBJDIR)\aes-eax.obj \
72 $(OBJDIR)\aes-encblock.obj \
73 $(OBJDIR)\aes-omac1.obj \
74 $(OBJDIR)\aes-unwrap.obj \
75 $(OBJDIR)\aes-wrap.obj \
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dracoon.conf19 encryption_algorithm aes;
30 encryption_algorithm aes;

1234567891011