Home
last modified time | relevance | path

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

12345678910>>...52

/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 …]
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 …]
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 …]
Dandroid-sources.cmake21 ${BORINGSSL_ROOT}src/crypto/asn1/a_bitstr.c
22 ${BORINGSSL_ROOT}src/crypto/asn1/a_bool.c
23 ${BORINGSSL_ROOT}src/crypto/asn1/a_d2i_fp.c
24 ${BORINGSSL_ROOT}src/crypto/asn1/a_dup.c
25 ${BORINGSSL_ROOT}src/crypto/asn1/a_enum.c
26 ${BORINGSSL_ROOT}src/crypto/asn1/a_gentm.c
27 ${BORINGSSL_ROOT}src/crypto/asn1/a_i2d_fp.c
28 ${BORINGSSL_ROOT}src/crypto/asn1/a_int.c
29 ${BORINGSSL_ROOT}src/crypto/asn1/a_mbstr.c
30 ${BORINGSSL_ROOT}src/crypto/asn1/a_object.c
[all …]
/external/boringssl/src/
Dsources.cmake9 crypto/cipher_extra/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt
10 crypto/cipher_extra/test/aes_128_cbc_sha1_tls_tests.txt
11 crypto/cipher_extra/test/aes_128_cbc_sha256_tls_tests.txt
12 crypto/cipher_extra/test/aes_128_ccm_bluetooth_tests.txt
13 crypto/cipher_extra/test/aes_128_ccm_bluetooth_8_tests.txt
14 crypto/cipher_extra/test/aes_128_ctr_hmac_sha256.txt
15 crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt
16 crypto/cipher_extra/test/aes_128_gcm_tests.txt
17 crypto/cipher_extra/test/aes_192_gcm_tests.txt
18 crypto/cipher_extra/test/aes_256_cbc_sha1_tls_implicit_iv_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()
22 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
23 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
30 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
31 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
34 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
35 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key1->key())); in TEST()
42 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
43 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()
47 ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
56 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 …]
/external/swiftshader/third_party/llvm-7.0/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 …]
/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 …]
/external/libsrtp2/
DCMakeLists.txt50 set(ENABLE_OPENSSL OFF CACHE BOOL "Enable OpenSSL crypto engine")
73 crypto/cipher/cipher.c
74 crypto/cipher/null_cipher.c
79 crypto/cipher/aes_icm_ossl.c
80 crypto/cipher/aes_gcm_ossl.c
84 crypto/cipher/aes.c
85 crypto/cipher/aes_icm.c
90 crypto/hash/auth.c
91 crypto/hash/null_auth.c
96 crypto/hash/hmac_ossl.c
[all …]
DAndroid.bp5 "crypto/cipher/aes.c",
6 "crypto/cipher/aes_icm.c",
7 "crypto/cipher/cipher.c",
8 "crypto/cipher/null_cipher.c",
9 "crypto/hash/auth.c",
10 "crypto/hash/hmac.c",
11 "crypto/hash/null_auth.c",
12 "crypto/hash/sha1.c",
13 "crypto/kernel/alloc.c",
14 "crypto/kernel/crypto_kernel.c",
[all …]
DMakefile.in47 $(FIND_LIBRARIES) crypto/test/cipher_driver$(EXE) -v >/dev/null
48 $(FIND_LIBRARIES) crypto/test/kernel_driver$(EXE) -v >/dev/null
60 $(MAKE) -C crypto runtest
72 INCDIR = -Icrypto/include -I$(srcdir)/include -I$(srcdir)/crypto/include
137 ciphers = crypto/cipher/cipher.o crypto/cipher/null_cipher.o \
140 hashes = crypto/hash/null_auth.o crypto/hash/auth.o \
143 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
144 crypto/replay/ut_sim.o
146 math = crypto/math/datatypes.o crypto/math/stat.o
148 ust = crypto/ust/ust.o
[all …]
/external/grpc-grpc/
Dconfig.m4403 third_party/boringssl/crypto/asn1/a_bitstr.c \
404 third_party/boringssl/crypto/asn1/a_bool.c \
405 third_party/boringssl/crypto/asn1/a_d2i_fp.c \
406 third_party/boringssl/crypto/asn1/a_dup.c \
407 third_party/boringssl/crypto/asn1/a_enum.c \
408 third_party/boringssl/crypto/asn1/a_gentm.c \
409 third_party/boringssl/crypto/asn1/a_i2d_fp.c \
410 third_party/boringssl/crypto/asn1/a_int.c \
411 third_party/boringssl/crypto/asn1/a_mbstr.c \
412 third_party/boringssl/crypto/asn1/a_object.c \
[all …]
Dconfig.w32378 "third_party\\boringssl\\crypto\\asn1\\a_bitstr.c " +
379 "third_party\\boringssl\\crypto\\asn1\\a_bool.c " +
380 "third_party\\boringssl\\crypto\\asn1\\a_d2i_fp.c " +
381 "third_party\\boringssl\\crypto\\asn1\\a_dup.c " +
382 "third_party\\boringssl\\crypto\\asn1\\a_enum.c " +
383 "third_party\\boringssl\\crypto\\asn1\\a_gentm.c " +
384 "third_party\\boringssl\\crypto\\asn1\\a_i2d_fp.c " +
385 "third_party\\boringssl\\crypto\\asn1\\a_int.c " +
386 "third_party\\boringssl\\crypto\\asn1\\a_mbstr.c " +
387 "third_party\\boringssl\\crypto\\asn1\\a_object.c " +
[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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dmisched-fusion-aes.ll1 ; RUN: llc %s -o - -mtriple=aarch64-unknown -mattr=+fuse-aes,+crypto | FileCheck %s
2 ; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=generic -mattr=+crypto | FileCheck %s
12 declare <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %d, <16 x i8> %k)
13 declare <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %d)
14 declare <16 x i8> @llvm.aarch64.crypto.aesd(<16 x i8> %d, <16 x i8> %k)
15 declare <16 x i8> @llvm.aarch64.crypto.aesimc(<16 x i8> %d)
26 %e00 = call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %d0, <16 x i8> %k0)
27 %f00 = call <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %e00)
28 %e01 = call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %d1, <16 x i8> %k0)
29 %f01 = call <16 x i8> @llvm.aarch64.crypto.aesmc(<16 x i8> %e01)
[all …]
/external/boringssl/src/ssl/test/runner/
Dsign.go24 supportsKey(key crypto.PrivateKey) bool
25 signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error)
26 verifyMessage(key crypto.PublicKey, msg, sig []byte) error
29 func selectSignatureAlgorithm(version uint16, key crypto.PrivateKey, config *Config, peerSigAlgs []…
54 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, …
70 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,…
84 hash crypto.Hash
88 if r.hash == crypto.MD5SHA1 {
102 func (r *rsaPKCS1Signer) supportsKey(key crypto.PrivateKey) bool {
107 func (r *rsaPKCS1Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, er…
[all …]
/external/python/oauth2client/oauth2client/
D_openssl_crypt.py16 from OpenSSL import crypto
48 crypto.verify(self._pubkey, signature, message, 'sha256')
50 except crypto.Error:
70 pubkey = crypto.load_certificate(crypto.FILETYPE_PEM, key_pem)
72 pubkey = crypto.load_privatekey(crypto.FILETYPE_PEM, key_pem)
97 return crypto.sign(self._key, message, 'sha256')
116 pkey = crypto.load_privatekey(crypto.FILETYPE_PEM, parsed_pem_key)
119 pkey = crypto.load_pkcs12(key, password).get_privatekey()
134 pkcs12 = crypto.load_pkcs12(private_key_bytes, private_key_password)
135 return crypto.dump_privatekey(crypto.FILETYPE_PEM,
/external/exoplayer/tree/testdata/src/test/assets/mp4/
Dsample_ac4_protected.mp4.0.dump23 crypto mode = 1
29 crypto mode = 1
35 crypto mode = 1
41 crypto mode = 1
47 crypto mode = 1
53 crypto mode = 1
59 crypto mode = 1
65 crypto mode = 1
71 crypto mode = 1
77 crypto mode = 1
[all …]
Dsample_ac4_protected.mp4.unknown_length.dump23 crypto mode = 1
29 crypto mode = 1
35 crypto mode = 1
41 crypto mode = 1
47 crypto mode = 1
53 crypto mode = 1
59 crypto mode = 1
65 crypto mode = 1
71 crypto mode = 1
77 crypto mode = 1
[all …]
/external/libchrome/libchrome_tools/patch/
Dssl.patch3 --- a/crypto/openssl_util.cc
4 +++ b/crypto/openssl_util.cc
7 #include "crypto/openssl_util.h"
14 +#include <openssl/crypto.h>
23 -#include "third_party/boringssl/src/include/openssl/crypto.h"
26 namespace crypto {
41 --- a/crypto/rsa_private_key.h
42 +++ b/crypto/rsa_private_key.h
54 #include "crypto/crypto_export.h"
57 namespace crypto {
[all …]
/external/python/pyopenssl/examples/
Dmk_simple_certs.py7 from OpenSSL import crypto
14 cakey = createKeyPair(crypto.TYPE_RSA, 2048)
22 crypto.dump_privatekey(crypto.FILETYPE_PEM, cakey).decode('utf-8')
28 crypto.dump_certificate(crypto.FILETYPE_PEM, cacert).decode('utf-8')
33 pkey = createKeyPair(crypto.TYPE_RSA, 2048)
42 crypto.dump_privatekey(crypto.FILETYPE_PEM, pkey).decode('utf-8')
49 crypto.dump_certificate(crypto.FILETYPE_PEM, cert).decode('utf-8')

12345678910>>...52