/system/extras/crypto-perf/ |
H A D | Android.mk | 5 LOCAL_CFLAGS := -O0 -march=armv8-a+crypto -Wall -Werror 6 LOCAL_SRC_FILES := crypto.cpp 10 LOCAL_MODULE := crypto
|
/system/nvram/core/ |
H A D | crypto.h | 26 namespace crypto { namespace in namespace:nvram 42 } // namespace crypto
|
H A D | crypto_boringssl.cpp | 17 #include "crypto.h" 27 namespace crypto { namespace in namespace:nvram 47 } // namespace crypto
|
H A D | nvram_manager.cpp | 26 #include "crypto.h" 239 request.size != crypto::kSHA256DigestSize) { 241 crypto::kSHA256DigestSize); 424 crypto::SHA256(sha256_input.data(), sha256_input.size(), contents.data(),
|
/system/core/gatekeeperd/tests/ |
H A D | Android.mk | 25 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
|
/system/core/gatekeeperd/ |
H A D | Android.mk | 43 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
|
/system/tpm/attestation/common/ |
H A D | crypto_utility_impl.cc | 25 #include <crypto/scoped_openssl_types.h> 26 #include <crypto/secure_util.h> 27 #include <crypto/sha2.h> 151 if (!crypto::SecureMemEqual(mac.data(), encrypted_pb.mac().data(), 168 crypto::ScopedRSA rsa( 182 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); 191 crypto::ScopedRSA rsa( 205 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); 242 crypto::ScopedRSA rsa( 279 crypto [all...] |
H A D | tpm_utility_v1.cc | 24 #include <crypto/scoped_openssl_types.h> 25 #include <crypto/sha2.h> 447 digest_to_sign += crypto::SHA256HashString(data_to_sign); 647 crypto::ScopedRSA rsa(RSA_new());
|
/system/tpm/attestation/server/ |
H A D | database_impl.h | 48 explicit DatabaseImpl(CryptoUtility* crypto);
|
H A D | database_impl.cc | 50 DatabaseImpl::DatabaseImpl(CryptoUtility* crypto) argument 51 : io_(this), crypto_(crypto) {}
|
H A D | pkcs11_key_store.cc | 32 #include <crypto/scoped_openssl_types.h> 50 typedef crypto::ScopedOpenSSL<X509, X509_free> ScopedX509; 243 crypto::ScopedRSA public_key( 573 crypto::ScopedOpenSSLBytes scoped_subject_buffer(subject_buffer); 582 crypto::ScopedOpenSSLBytes scoped_issuer_buffer(issuer_buffer); 592 crypto::ScopedOpenSSLBytes scoped_serial_number_buffer(serial_number_buffer);
|
/system/tpm/trunks/ |
H A D | tpm_generated.cc | 31 #include <crypto/secure_hash.h> 8120 std::unique_ptr<crypto::SecureHash> hash( 8121 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); 8219 std::unique_ptr<crypto::SecureHash> hash( 8220 crypto::SecureHash::Create(crypto::SecureHash::SHA256)); 8311 std::unique_ptr<crypto::SecureHash> hash( 8312 crypto::SecureHash::Create(crypto [all...] |
H A D | policy_session_impl.cc | 25 #include <crypto/sha2.h> 132 pcr_digest = Make_TPM2B_DIGEST(crypto::SHA256HashString(pcr_value));
|
H A D | hmac_authorization_delegate.h | 23 #include <crypto/secure_hash.h>
|
H A D | session_manager_impl.cc | 23 #include <crypto/openssl_util.h> 56 crypto::EnsureOpenSSLInit();
|
H A D | trunks_client_test.cc | 29 #include <crypto/openssl_util.h> 30 #include <crypto/sha2.h> 33 #include <openssl/crypto.h> 67 crypto::EnsureOpenSSLInit(); 388 std::string hashed_extend_data = crypto::SHA256HashString(extend_data); 390 crypto::SHA256HashString(old_data + hashed_extend_data); 530 std::string hashed_extend_data = crypto::SHA256HashString(pcr_extend_data); 531 next_pcr_value = crypto::SHA256HashString(pcr_value + hashed_extend_data); 1053 std::string digest = crypto::SHA256HashString(data);
|
H A D | hmac_authorization_delegate.cc | 21 #include <crypto/secure_util.h> 162 if (!crypto::SecureMemEqual(digest.data(), auth_response.hmac.buffer,
|
H A D | policy_session_test.cc | 19 #include <crypto/sha2.h> 173 crypto::SHA256HashString(pcr_digest));
|
H A D | tpm_utility_impl.cc | 24 #include <crypto/openssl_util.h> 25 #include <crypto/secure_hash.h> 26 #include <crypto/sha2.h> 65 return crypto::SHA256HashString(plaintext); 77 crypto::EnsureOpenSSLInit(); 323 std::string digest = crypto::SHA256HashString(entropy_data); 361 crypto::SHA256HashString(extend_data, digests.digests[0].digest.sha256, 362 crypto::kSHA256Length); 1762 crypto::SHA256HashString(serialized_public_area)); 1790 crypto [all...] |
/system/extras/verity/ |
H A D | Utils.java | 47 import javax.crypto.Cipher; 48 import javax.crypto.EncryptedPrivateKeyInfo; 49 import javax.crypto.SecretKeyFactory; 50 import javax.crypto.spec.PBEKeySpec;
|
/system/tpm/tpm_manager/client/ |
H A D | main.cc | 35 #include <crypto/sha2.h> 404 request.set_authorization_value(crypto::SHA256HashString(password)); 432 request.set_authorization_value(crypto::SHA256HashString(password)); 454 request.set_authorization_value(crypto::SHA256HashString(password)); 470 request.set_authorization_value(crypto::SHA256HashString(password));
|
/system/tpm/attestation/client/ |
H A D | main.cc | 354 CryptoUtilityImpl crypto(nullptr); 356 if (!crypto.EncryptIdentityCredential( 393 CryptoUtilityImpl crypto(nullptr); 395 if (!crypto.EncryptForUnbind(key_info.public_key(), input, &output)) { 448 CryptoUtilityImpl crypto(nullptr); 449 if (crypto.VerifySignature(key_info.public_key(), input, signature)) {
|
/system/tpm/tpm_manager/ |
H A D | Android.mk | 34 libchrome-crypto \
|
/system/core/trusty/keymaster/ |
H A D | Makefile | 52 LDLIBS=-L$(BASE)/../boringssl/build/crypto -lcrypto -lpthread -lstdc++
|
/system/sepolicy/prebuilts/api/26.0/private/ |
H A D | property_contexts | 80 ro.crypto. u:object_r:vold_prop:s0
|