Home
last modified time | relevance | path

Searched refs:crypto (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/external/openssl/
DCrypto.mk6 crypto/aes/asm/aes-armv4.s \
7 crypto/bn/asm/armv4-gf2m.s \
8 crypto/bn/asm/armv4-mont.s \
9 crypto/bn/bn_asm.c \
10 crypto/modes/asm/ghash-armv4.s \
11 crypto/sha/asm/sha1-armv4-large.s \
12 crypto/sha/asm/sha256-armv4.s \
13 crypto/sha/asm/sha512-armv4.s
16 crypto/aes/asm/aes-mips.s \
17 crypto/bn/asm/bn-mips.s \
[all …]
Dopenssl.config17 crypto/camellia \
18 crypto/cast \
19 crypto/cms \
20 crypto/idea \
21 crypto/md2 \
22 crypto/rc5 \
23 crypto/seed \
24 crypto/whrlpool \
71 crypto/LPdir_vms.c \
72 crypto/Makefile \
[all …]
Dimport_openssl.sh109 rm -f apps/CA.pl.bak crypto/opensslconf.h.bak
133 perl crypto/aes/asm/aes-armv4.pl > crypto/aes/asm/aes-armv4.s
134 perl crypto/bn/asm/armv4-gf2m.pl > crypto/bn/asm/armv4-gf2m.s
135 perl crypto/bn/asm/armv4-mont.pl > crypto/bn/asm/armv4-mont.s
136 perl crypto/modes/asm/ghash-armv4.pl > crypto/modes/asm/ghash-armv4.s
137 perl crypto/sha/asm/sha1-armv4-large.pl > crypto/sha/asm/sha1-armv4-large.s
138 perl crypto/sha/asm/sha256-armv4.pl > crypto/sha/asm/sha256-armv4.s
139 perl crypto/sha/asm/sha512-armv4.pl > crypto/sha/asm/sha512-armv4.s
145 CC=true perl crypto/aes/asm/aes-mips.pl o32 > crypto/aes/asm/aes-mips.s
146 CC=true perl crypto/bn/asm/mips.pl o32 > crypto/bn/asm/bn-mips.s
[all …]
/external/openssl/crypto/err/
Dopenssl.ec1 # crypto/err/openssl.ec
7 L BN crypto/bn/bn.h crypto/bn/bn_err.c
8 L RSA crypto/rsa/rsa.h crypto/rsa/rsa_err.c
9 L DH crypto/dh/dh.h crypto/dh/dh_err.c
10 L EVP crypto/evp/evp.h crypto/evp/evp_err.c
11 L BUF crypto/buffer/buffer.h crypto/buffer/buf_err.c
12 L OBJ crypto/objects/objects.h crypto/objects/obj_err.c
13 L PEM crypto/pem/pem.h crypto/pem/pem_err.c
14 L DSA crypto/dsa/dsa.h crypto/dsa/dsa_err.c
15 L X509 crypto/x509/x509.h crypto/x509/x509_err.c
[all …]
/external/chromium/crypto/
Dsymmetric_key_unittest.cc15 scoped_ptr<crypto::SymmetricKey> key( in TEST()
16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
24 scoped_ptr<crypto::SymmetricKey> key2( in TEST()
25 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
34 scoped_ptr<crypto::SymmetricKey> key1( in TEST()
35 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
40 scoped_ptr<crypto::SymmetricKey> key2( in TEST()
41 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key1)); in TEST()
51 scoped_ptr<crypto::SymmetricKey> key1( in TEST()
52 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST()
[all …]
Dencryptor_unittest.cc15 scoped_ptr<crypto::SymmetricKey> key( in TEST()
16 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST()
17 crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256)); in TEST()
20 crypto::Encryptor encryptor; in TEST()
24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); in TEST()
90 scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( in TEST()
91 crypto::SymmetricKey::AES, key)); in TEST()
94 crypto::Encryptor encryptor; in TEST()
98 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST()
123 scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( in TEST()
[all …]
Dsha2_unittest.cc22 uint8 output1[crypto::SHA256_LENGTH]; in TEST()
23 crypto::SHA256HashString(input1, output1, sizeof(output1)); in TEST()
24 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST()
28 crypto::SHA256HashString(input1, in TEST()
47 std::string output1 = crypto::SHA256HashString(input1); in TEST()
48 ASSERT_EQ(crypto::SHA256_LENGTH, output1.size()); in TEST()
49 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST()
66 uint8 output2[crypto::SHA256_LENGTH]; in TEST()
67 crypto::SHA256HashString(input2, output2, sizeof(output2)); in TEST()
68 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST()
[all …]
Drsa_private_key_unittest.cc13 scoped_ptr<crypto::RSAPrivateKey> keypair1( in TEST()
14 crypto::RSAPrivateKey::Create(1024)); in TEST()
15 scoped_ptr<crypto::RSAPrivateKey> keypair2( in TEST()
16 crypto::RSAPrivateKey::Create(2048)); in TEST()
30 scoped_ptr<crypto::RSAPrivateKey> keypair3( in TEST()
31 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST()
32 scoped_ptr<crypto::RSAPrivateKey> keypair4( in TEST()
33 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST()
165 scoped_ptr<crypto::RSAPrivateKey> key( in TEST()
166 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
[all …]
Dhmac_unittest.cc55 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
124 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
150 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST()
190 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
197 crypto::HMAC hmac2(crypto::HMAC::SHA256); in TEST()
228 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
/external/srtp/
DAndroid.mk9 crypto/cipher/cipher.c \
10 crypto/cipher/null_cipher.c \
11 crypto/cipher/aes.c \
12 crypto/cipher/aes_icm.c \
13 crypto/cipher/aes_cbc.c \
14 crypto/hash/null_auth.c \
15 crypto/hash/sha1.c \
16 crypto/hash/hmac.c \
17 crypto/hash/auth.c \
18 crypto/math/datatypes.c \
[all …]
DMakefile22 crypto/test/cipher_driver$(EXE) -v >/dev/null
23 crypto/test/kernel_driver$(EXE) -v >/dev/null
29 $(MAKE) -C crypto runtest
34 INCDIR = -Icrypto/include -I$(srcdir)/include -I$(srcdir)/crypto/include
75 ciphers = crypto/cipher/cipher.o crypto/cipher/null_cipher.o \
76 crypto/cipher/aes.o crypto/cipher/aes_icm.o \
77 crypto/cipher/aes_cbc.o
79 hashes = crypto/hash/null_auth.o crypto/hash/sha1.o \
80 crypto/hash/hmac.o crypto/hash/auth.o # crypto/hash/tmmhv2.o
82 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
[all …]
DMakefile.in22 crypto/test/cipher_driver$(EXE) -v >/dev/null
23 crypto/test/kernel_driver$(EXE) -v >/dev/null
31 $(MAKE) -C crypto runtest
36 INCDIR = -Icrypto/include -I$(srcdir)/include -I$(srcdir)/crypto/include
77 ciphers = crypto/cipher/cipher.o crypto/cipher/null_cipher.o \
78 crypto/cipher/aes.o crypto/cipher/aes_icm.o \
79 crypto/cipher/aes_cbc.o
81 hashes = crypto/hash/null_auth.o crypto/hash/sha1.o \
82 crypto/hash/hmac.o crypto/hash/auth.o # crypto/hash/tmmhv2.o
84 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
[all …]
/external/bouncycastle/
Dbouncycastle.config18 org/bouncycastle/crypto/agreement/kdf \
19 org/bouncycastle/crypto/agreement/srp \
20 org/bouncycastle/crypto/examples \
21 org/bouncycastle/crypto/prng \
22 org/bouncycastle/crypto/tls/ \
143 org/bouncycastle/crypto/BufferedAsymmetricBlockCipher.java \
144 org/bouncycastle/crypto/MaxBytesExceededException.java \
145 org/bouncycastle/crypto/agreement/DHAgreement.java \
146 org/bouncycastle/crypto/agreement/ECDHCBasicAgreement.java \
147 org/bouncycastle/crypto/agreement/ECMQVBasicAgreement.java \
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java12 import javax.crypto.BadPaddingException;
13 import javax.crypto.Cipher;
14 import javax.crypto.IllegalBlockSizeException;
15 import javax.crypto.NoSuchPaddingException;
16 import javax.crypto.SecretKey;
17 import javax.crypto.ShortBufferException;
18 import javax.crypto.spec.IvParameterSpec;
19 import javax.crypto.spec.PBEParameterSpec;
25 import org.bouncycastle.crypto.BufferedBlockCipher;
26 import org.bouncycastle.crypto.CipherParameters;
[all …]
DBaseMac.java8 import javax.crypto.MacSpi;
9 import javax.crypto.spec.IvParameterSpec;
10 import javax.crypto.spec.PBEParameterSpec;
12 import org.bouncycastle.crypto.CipherParameters;
13 import org.bouncycastle.crypto.Mac;
28 import org.bouncycastle.crypto.digests.AndroidDigestFactory;
30 import org.bouncycastle.crypto.engines.DESEngine;
31 import org.bouncycastle.crypto.engines.RC2Engine;
32 import org.bouncycastle.crypto.macs.CBCBlockCipherMac;
37 import org.bouncycastle.crypto.macs.HMac;
[all …]
/external/wpa_supplicant_8/hostapd/
DMakefile141 OBJS += ../src/crypto/md5.o
446 OBJS += ../src/crypto/ms_funcs.o
478 OBJS += ../src/crypto/tls_openssl.o
481 OBJS += ../src/crypto/crypto_openssl.o
482 HOBJS += ../src/crypto/crypto_openssl.o
484 OBJS += ../src/crypto/fips_prf_openssl.o
492 OBJS += ../src/crypto/tls_gnutls.o
495 OBJS += ../src/crypto/crypto_gnutls.o
496 HOBJS += ../src/crypto/crypto_gnutls.o
498 OBJS += ../src/crypto/fips_prf_gnutls.o
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCEBlockCipher.java12 import javax.crypto.BadPaddingException;
13 import javax.crypto.Cipher;
14 import javax.crypto.CipherSpi;
15 import javax.crypto.IllegalBlockSizeException;
16 import javax.crypto.NoSuchPaddingException;
17 import javax.crypto.SecretKey;
18 import javax.crypto.ShortBufferException;
19 import javax.crypto.spec.IvParameterSpec;
20 import javax.crypto.spec.PBEParameterSpec;
26 import org.bouncycastle.crypto.BlockCipher;
[all …]
DJCEMac.java8 import javax.crypto.MacSpi;
9 import javax.crypto.spec.IvParameterSpec;
10 import javax.crypto.spec.PBEParameterSpec;
12 import org.bouncycastle.crypto.CipherParameters;
13 import org.bouncycastle.crypto.Mac;
28 import org.bouncycastle.crypto.digests.AndroidDigestFactory;
30 import org.bouncycastle.crypto.engines.DESEngine;
34 import org.bouncycastle.crypto.macs.CBCBlockCipherMac;
38 import org.bouncycastle.crypto.macs.HMac;
43 import org.bouncycastle.crypto.paddings.ISO7816d4Padding;
[all …]
DJCEStreamCipher.java10 import javax.crypto.Cipher;
11 import javax.crypto.CipherSpi;
12 import javax.crypto.NoSuchPaddingException;
13 import javax.crypto.SecretKey;
14 import javax.crypto.ShortBufferException;
15 import javax.crypto.spec.IvParameterSpec;
16 import javax.crypto.spec.PBEParameterSpec;
22 import org.bouncycastle.crypto.BlockCipher;
23 import org.bouncycastle.crypto.CipherParameters;
24 import org.bouncycastle.crypto.DataLengthException;
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHBasicKeyPairGenerator.java1 package org.bouncycastle.crypto.generators;
3 import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
4 import org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator;
5 import org.bouncycastle.crypto.KeyGenerationParameters;
6 import org.bouncycastle.crypto.params.DHKeyGenerationParameters;
7 import org.bouncycastle.crypto.params.DHParameters;
8 import org.bouncycastle.crypto.params.DHPrivateKeyParameters;
9 import org.bouncycastle.crypto.params.DHPublicKeyParameters;
DECKeyPairGenerator.java1 package org.bouncycastle.crypto.generators;
6 import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
7 import org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator;
8 import org.bouncycastle.crypto.KeyGenerationParameters;
9 import org.bouncycastle.crypto.params.ECDomainParameters;
10 import org.bouncycastle.crypto.params.ECKeyGenerationParameters;
11 import org.bouncycastle.crypto.params.ECPrivateKeyParameters;
12 import org.bouncycastle.crypto.params.ECPublicKeyParameters;
DDSAKeyPairGenerator.java1 package org.bouncycastle.crypto.generators;
3 import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
4 import org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator;
5 import org.bouncycastle.crypto.KeyGenerationParameters;
6 import org.bouncycastle.crypto.params.DSAKeyGenerationParameters;
7 import org.bouncycastle.crypto.params.DSAParameters;
8 import org.bouncycastle.crypto.params.DSAPrivateKeyParameters;
9 import org.bouncycastle.crypto.params.DSAPublicKeyParameters;
/external/chromium/chrome/browser/password_manager/
Dencryptor_linux.cc35 crypto::SymmetricKey* GetEncryptionKey() { in GetEncryptionKey()
44 scoped_ptr<crypto::SymmetricKey> encryption_key( in GetEncryptionKey()
45 crypto::SymmetricKey::DeriveKeyFromPassword(crypto::SymmetricKey::AES, in GetEncryptionKey()
84 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); in EncryptString()
89 crypto::Encryptor encryptor; in EncryptString()
90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in EncryptString()
126 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); in DecryptString()
131 crypto::Encryptor encryptor; in DecryptString()
132 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in DecryptString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DDHBasicAgreement.java1 package org.bouncycastle.crypto.agreement;
5 import org.bouncycastle.crypto.BasicAgreement;
6 import org.bouncycastle.crypto.CipherParameters;
7 import org.bouncycastle.crypto.params.DHParameters;
8 import org.bouncycastle.crypto.params.DHPublicKeyParameters;
9 import org.bouncycastle.crypto.params.DHPrivateKeyParameters;
10 import org.bouncycastle.crypto.params.AsymmetricKeyParameter;
11 import org.bouncycastle.crypto.params.ParametersWithRandom;
/external/chromium/net/base/
Dkeygen_handler_mac.cc124 crypto::LogCSSMError("SecAccessCreate", err); in GenKeyAndSignChallenge()
138 crypto::LogCSSMError("SecKeychainItemExpor", err); in GenKeyAndSignChallenge()
146 crypto::LogCSSMError("SecAsn1CoderCreate", err); in GenKeyAndSignChallenge()
166 crypto::LogCSSMError("SecAsn1EncodeItem", err); in GenKeyAndSignChallenge()
184 crypto::LogCSSMError("SecAsn1EncodeItem", err); in GenKeyAndSignChallenge()
233 crypto::LogCSSMError("SecKeychainCopyDefault", err); in CreateRSAKeyPair()
238 base::AutoLock locked(crypto::GetMacSecurityServicesLock()); in CreateRSAKeyPair()
255 crypto::LogCSSMError("SecKeyCreatePair", err); in CreateRSAKeyPair()
265 base::AutoLock locked(crypto::GetMacSecurityServicesLock()); in CreateSignatureContext()
272 crypto::LogCSSMError("SecKeyGetCredentials", err); in CreateSignatureContext()
[all …]

12345678910>>...23