Home
last modified time | relevance | path

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

12345678910>>...54

/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 …]
/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_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()
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 …]
Dsignature_verifier_unittest.cc190 crypto::SignatureVerifier verifier; in TEST()
194 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
201 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
213 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
222 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
231 EXPECT_FALSE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
238 EXPECT_FALSE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
375 crypto::SignatureVerifier verifier; in TEST()
376 ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256, in TEST()
382 ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256, 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/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 …]
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/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/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 …]
Dgrpc.gemspec771 s.files += %w( third_party/boringssl/crypto/asn1/asn1_locl.h )
772 s.files += %w( third_party/boringssl/crypto/bio/internal.h )
773 s.files += %w( third_party/boringssl/crypto/bytestring/internal.h )
774 s.files += %w( third_party/boringssl/crypto/cipher_extra/internal.h )
775 s.files += %w( third_party/boringssl/crypto/conf/conf_def.h )
776 s.files += %w( third_party/boringssl/crypto/conf/internal.h )
777 s.files += %w( third_party/boringssl/crypto/err/internal.h )
778 s.files += %w( third_party/boringssl/crypto/evp/internal.h )
779 s.files += %w( third_party/boringssl/crypto/fipsmodule/aes/aes.c )
780 s.files += %w( third_party/boringssl/crypto/fipsmodule/aes/internal.h )
[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 …]
Darm64-crypto.ll1 ; RUN: llc -mtriple=arm64-eabi -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/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 …]
/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/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/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 …]

12345678910>>...54