Home
last modified time | relevance | path

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

12345678910>>...36

/external/boringssl/
Dsources.mk19 src/crypto/asn1/a_bitstr.c\
20 src/crypto/asn1/a_bool.c\
21 src/crypto/asn1/a_d2i_fp.c\
22 src/crypto/asn1/a_dup.c\
23 src/crypto/asn1/a_enum.c\
24 src/crypto/asn1/a_gentm.c\
25 src/crypto/asn1/a_i2d_fp.c\
26 src/crypto/asn1/a_int.c\
27 src/crypto/asn1/a_mbstr.c\
28 src/crypto/asn1/a_object.c\
[all …]
Deureka.mk19 src/crypto/asn1/a_bitstr.c\
20 src/crypto/asn1/a_bool.c\
21 src/crypto/asn1/a_d2i_fp.c\
22 src/crypto/asn1/a_dup.c\
23 src/crypto/asn1/a_enum.c\
24 src/crypto/asn1/a_gentm.c\
25 src/crypto/asn1/a_i2d_fp.c\
26 src/crypto/asn1/a_int.c\
27 src/crypto/asn1/a_mbstr.c\
28 src/crypto/asn1/a_object.c\
[all …]
Dsources.bp21 "src/crypto/asn1/a_bitstr.c",
22 "src/crypto/asn1/a_bool.c",
23 "src/crypto/asn1/a_d2i_fp.c",
24 "src/crypto/asn1/a_dup.c",
25 "src/crypto/asn1/a_enum.c",
26 "src/crypto/asn1/a_gentm.c",
27 "src/crypto/asn1/a_i2d_fp.c",
28 "src/crypto/asn1/a_int.c",
29 "src/crypto/asn1/a_mbstr.c",
30 "src/crypto/asn1/a_object.c",
[all …]
Drules.mk39 MODULE_SRCDEPS += $(LOCAL_DIR)/crypto-sources.mk
40 include $(LOCAL_DIR)/crypto-sources.mk
47 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/connect.c,$(LOCAL_SRC_FILES))
48 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/fd.c,$(LOCAL_SRC_FILES))
49 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/file.c,$(LOCAL_SRC_FILES))
50 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/socket.c,$(LOCAL_SRC_FILES))
51 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/socket_helper.c,$(LOCAL_SRC_FILES))
52 LOCAL_SRC_FILES := $(filter-out src/crypto/asn1/time_support.c,$(LOCAL_SRC_FILES))
53 LOCAL_SRC_FILES := $(filter-out src/crypto/x509/by_dir.c,$(LOCAL_SRC_FILES))
72 LOCAL_C_INCLUDES := src/crypto src/include
/external/boringssl/src/
Dsources.cmake9 crypto/cipher_extra/test/aes_128_cbc_sha1_ssl3_tests.txt
10 crypto/cipher_extra/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt
11 crypto/cipher_extra/test/aes_128_cbc_sha1_tls_tests.txt
12 crypto/cipher_extra/test/aes_128_cbc_sha256_tls_tests.txt
13 crypto/cipher_extra/test/aes_128_ctr_hmac_sha256.txt
14 crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt
15 crypto/cipher_extra/test/aes_128_gcm_tests.txt
16 crypto/cipher_extra/test/aes_256_cbc_sha1_ssl3_tests.txt
17 crypto/cipher_extra/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt
18 crypto/cipher_extra/test/aes_256_cbc_sha1_tls_tests.txt
[all …]
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc15 std::unique_ptr<crypto::SymmetricKey> key( in TEST()
16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
24 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
25 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
34 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
35 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
40 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
41 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key1)); in TEST()
51 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
52 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST()
[all …]
Dsecure_hash_unittest.cc24 uint8_t output3[crypto::kSHA256Length]; in TEST()
26 std::unique_ptr<crypto::SecureHash> ctx( in TEST()
27 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); in TEST()
32 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()
40 const uint8_t kExpectedHashOfInput1[crypto::kSHA256Length] = { in TEST()
44 const uint8_t kExpectedHashOfInput1And2[crypto::kSHA256Length] = { in TEST()
49 uint8_t output1[crypto::kSHA256Length]; in TEST()
50 uint8_t output2[crypto::kSHA256Length]; in TEST()
51 uint8_t output3[crypto::kSHA256Length]; in TEST()
53 std::unique_ptr<crypto::SecureHash> ctx1( in TEST()
[all …]
Dsignature_creator_unittest.cc21 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST()
22 crypto::RSAPrivateKey::Create(1024)); in TEST()
27 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()
28 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
31 std::unique_ptr<crypto::SignatureCreator> signer( in TEST()
32 crypto::SignatureCreator::Create(key.get(), in TEST()
33 crypto::SignatureCreator::SHA1)); in TEST()
46 crypto::SignatureVerifier verifier; in TEST()
48 crypto::SignatureVerifier::RSA_PKCS1_SHA1, &signature.front(), in TEST()
58 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST()
[all …]
Drsa_private_key_unittest.cc75 std::unique_ptr<crypto::RSAPrivateKey> keypair1( in TEST()
76 crypto::RSAPrivateKey::Create(1024)); in TEST()
77 std::unique_ptr<crypto::RSAPrivateKey> keypair2( in TEST()
78 crypto::RSAPrivateKey::Create(2048)); in TEST()
92 std::unique_ptr<crypto::RSAPrivateKey> keypair3( in TEST()
93 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST()
94 std::unique_ptr<crypto::RSAPrivateKey> keypair4( in TEST()
95 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST()
115 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST()
116 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
[all …]
Dsha2_unittest.cc24 uint8_t output1[crypto::kSHA256Length]; in TEST()
25 crypto::SHA256HashString(input1, output1, sizeof(output1)); in TEST()
26 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()
30 crypto::SHA256HashString(input1, in TEST()
49 std::string output1 = crypto::SHA256HashString(input1); in TEST()
50 ASSERT_EQ(crypto::kSHA256Length, output1.size()); in TEST()
51 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()
68 uint8_t output2[crypto::kSHA256Length]; in TEST()
69 crypto::SHA256HashString(input2, output2, sizeof(output2)); in TEST()
70 for (size_t i = 0; i < crypto::kSHA256Length; i++) in TEST()
[all …]
Dhmac_unittest.cc80 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
149 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
175 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST()
216 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
232 crypto::HMAC hmac2(crypto::HMAC::SHA256); in TEST()
241 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
255 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
289 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
/external/llvm/test/MC/ARM/
Ddirective-arch_extension-crypto.s12 .arch_extension crypto
14 @ CHECK-V7-NEXT: .arch_extension crypto
17 .type crypto,%function
18 crypto: label
20 @ CHECK-V7: error: instruction requires: crypto armv8
23 @ CHECK-V7: error: instruction requires: crypto armv8
25 @ CHECK-V7: error: instruction requires: crypto armv8
27 @ CHECK-V7: error: instruction requires: crypto armv8
29 @ CHECK-V7: error: instruction requires: crypto armv8
32 @ CHECK-V7: error: instruction requires: crypto armv8
[all …]
Dneon-crypto.s1 @ RUN: llvm-mc -triple armv8 -mattr=+neon,+crypto -show-encoding < %s | FileCheck %s
12 @ CHECK-V7: instruction requires: crypto armv8
13 @ CHECK-V7: instruction requires: crypto armv8
14 @ CHECK-V7: instruction requires: crypto armv8
15 @ CHECK-V7: instruction requires: crypto armv8
23 @ CHECK-V7: instruction requires: crypto armv8
24 @ CHECK-V7: instruction requires: crypto armv8
25 @ CHECK-V7: instruction requires: crypto armv8
41 @ CHECK-V7: instruction requires: crypto armv8
42 @ CHECK-V7: instruction requires: crypto armv8
[all …]
/external/scrypt/
Dscrypt.config18 lib/crypto/crypto_aesctr.c \
19 lib/crypto/crypto_aesctr.h \
20 lib/crypto/crypto_scrypt-nosse.c \
21 lib/crypto/sha256.c \
22 lib/crypto/sha256.h \
43 lib/crypto \
51 lib/crypto/crypto_scrypt-ref.c \
61 lib/crypto/crypto_scrypt-neon.c \
65 lib/crypto/crypto_scrypt-ref.c \
69 lib/crypto/crypto_scrypt-neon.c \
[all …]
Dsources.bp35 "lib/crypto",
43 "lib/crypto/crypto_scrypt-ref.c",
50 "lib/crypto/crypto_scrypt-neon.c",
53 "lib/crypto/crypto_scrypt-ref.c",
59 "lib/crypto/crypto_scrypt-neon.c",
62 "lib/crypto/crypto_scrypt-ref.c",
67 "lib/crypto/crypto_scrypt-sse.c",
70 "lib/crypto/crypto_scrypt-ref.c",
75 "lib/crypto/crypto_scrypt-sse.c",
78 "lib/crypto/crypto_scrypt-ref.c",
/external/boringssl/src/ssl/test/runner/
Dsign.go25 supportsKey(key crypto.PrivateKey) bool
26 signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error)
27 verifyMessage(key crypto.PublicKey, msg, sig []byte) error
30 func selectSignatureAlgorithm(version uint16, key crypto.PrivateKey, config *Config, peerSigAlgs []…
55 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, …
71 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,…
85 hash crypto.Hash
89 if r.hash == crypto.MD5SHA1 {
103 func (r *rsaPKCS1Signer) supportsKey(key crypto.PrivateKey) bool {
108 func (r *rsaPKCS1Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, er…
[all …]
Dhkdf_test.go26 hash crypto.Hash
30 crypto.SHA256,
38 crypto.SHA256,
46 crypto.SHA256,
56 crypto.SHA1,
64 crypto.SHA1,
72 crypto.SHA1,
80 crypto.SHA1,
/external/llvm/test/CodeGen/AArch64/
Darm64-crypto.ll1 ; RUN: llc -march=arm64 -mattr=crypto -aarch64-neon-syntax=apple -o - %s | FileCheck %s
3 declare <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data, <16 x i8> %key)
4 declare <16 x i8> @llvm.aarch64.crypto.aesd(<16 x i8> %data, <16 x i8> %key)
5 declare <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %data)
6 declare <16 x i8> @llvm.aarch64.crypto.aesimc(<16 x i8> %data)
11 %res = call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data, <16 x i8> %key)
18 %res = call <16 x i8> @llvm.aarch64.crypto.aesd(<16 x i8> %data, <16 x i8> %key)
25 %res = call <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %data)
32 %res = call <16 x i8> @llvm.aarch64.crypto.aesimc(<16 x i8> %data)
36 declare <4 x i32> @llvm.aarch64.crypto.sha1c(<4 x i32> %hash_abcd, i32 %hash_e, <4 x i32> %wk)
[all …]
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java15 import javax.crypto.BadPaddingException;
16 import javax.crypto.Cipher;
17 import javax.crypto.IllegalBlockSizeException;
18 import javax.crypto.NoSuchPaddingException;
19 import javax.crypto.SecretKey;
20 import javax.crypto.ShortBufferException;
21 import javax.crypto.interfaces.PBEKey;
22 import javax.crypto.spec.IvParameterSpec;
24 import javax.crypto.spec.PBEKeySpec;
26 import javax.crypto.spec.PBEParameterSpec;
[all …]
DBaseWrapCipher.java17 import javax.crypto.BadPaddingException;
18 import javax.crypto.Cipher;
19 import javax.crypto.CipherSpi;
20 import javax.crypto.IllegalBlockSizeException;
21 import javax.crypto.NoSuchPaddingException;
22 import javax.crypto.ShortBufferException;
23 import javax.crypto.spec.IvParameterSpec;
24 import javax.crypto.spec.PBEParameterSpec;
28 import javax.crypto.spec.SecretKeySpec;
31 import org.bouncycastle.crypto.CipherParameters;
[all …]
/external/syslinux/gpxe/src/net/80211/
Dsec80211.c102 struct net80211_crypto *crypto = *which; in sec80211_install() local
117 crypto = zalloc ( sizeof ( *crypto ) + in sec80211_install()
119 if ( ! crypto ) { in sec80211_install()
124 memcpy ( crypto, tbl_crypto, sizeof ( *crypto ) ); in sec80211_install()
125 crypto->priv = ( ( void * ) crypto + in sec80211_install()
126 sizeof ( *crypto ) ); in sec80211_install()
131 if ( ! crypto ) { in sec80211_install()
136 *which = crypto; in sec80211_install()
139 "length %d\n", crypt, crypto, len ); in sec80211_install()
141 return crypto->init ( crypto, key, len, rsc ); in sec80211_install()
[all …]
Dwep.c97 static int wep_init ( struct net80211_crypto *crypto, const void *key, in wep_init() argument
100 struct wep_ctx *ctx = crypto->priv; in wep_init()
117 static struct io_buffer * wep_encrypt ( struct net80211_crypto *crypto, in wep_encrypt() argument
120 struct wep_ctx *ctx = crypto->priv; in wep_encrypt()
166 static struct io_buffer * wep_decrypt ( struct net80211_crypto *crypto, in wep_decrypt() argument
169 struct wep_ctx *ctx = crypto->priv; in wep_decrypt()
201 DBGC ( crypto, "WEP %p CRC mismatch: expect %08x, get %08x\n", in wep_decrypt()
202 crypto, icv, crc ); in wep_decrypt()
235 dev->associating->crypto == NET80211_CRYPT_NONE ) in trivial_init()
256 rc = sec80211_install ( &dev->crypto, NET80211_CRYPT_WEP, key, len, in trivial_init()
[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;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DDES.java10 import javax.crypto.SecretKey;
11 import javax.crypto.spec.DESKeySpec;
12 import javax.crypto.spec.IvParameterSpec;
13 import javax.crypto.spec.PBEKeySpec;
14 import javax.crypto.spec.SecretKeySpec;
19 import org.bouncycastle.crypto.CipherParameters;
20 import org.bouncycastle.crypto.KeyGenerationParameters;
21 import org.bouncycastle.crypto.engines.DESEngine;
24 import org.bouncycastle.crypto.generators.DESKeyGenerator;
25 import org.bouncycastle.crypto.macs.CBCBlockCipherMac;
[all …]

12345678910>>...36