/system/extras/crypto-perf/ |
D | Android.mk | 5 LOCAL_CFLAGS := -O0 -march=armv8-a+crypto 6 LOCAL_SRC_FILES := crypto.cpp 10 LOCAL_MODULE := crypto
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 151 if (!crypto::SecureMemEqual(mac.data(), encrypted_pb.mac().data(), in DecryptData() 168 crypto::ScopedRSA rsa( in GetRSASubjectPublicKeyInfo() 182 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); in GetRSASubjectPublicKeyInfo() 191 crypto::ScopedRSA rsa( in GetRSAPublicKey() 205 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); in GetRSAPublicKey() 242 crypto::ScopedRSA rsa( in EncryptIdentityCredential() 279 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in EncryptForUnbind() 296 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in VerifySignature() 302 std::string digest = crypto::SHA256HashString(data); in VerifySignature()
|
/system/tpm/trunks/ |
D | session_manager_impl.cc | 55 crypto::EnsureOpenSSLInit(); in SessionManagerImpl() 163 crypto::ScopedRSA salting_key_rsa(RSA_new()); in EncryptSalt() 177 crypto::ScopedEVP_PKEY salting_key(EVP_PKEY_new()); in EncryptSalt() 189 crypto::ScopedEVP_PKEY_CTX salt_encrypt_context( in EncryptSalt()
|
D | trunks_client_test.cc | 65 crypto::EnsureOpenSSLInit(); in TrunksClientTest() 386 std::string hashed_extend_data = crypto::SHA256HashString(extend_data); in PCRTest() 388 crypto::SHA256HashString(old_data + hashed_extend_data); in PCRTest() 528 std::string hashed_extend_data = crypto::SHA256HashString(pcr_extend_data); in PolicyAndTest() 529 next_pcr_value = crypto::SHA256HashString(pcr_value + hashed_extend_data); in PolicyAndTest() 1020 crypto::ScopedRSA rsa(RSA_new()); in GenerateRSAKeyPair() 1021 crypto::ScopedBIGNUM exponent(BN_new()); in GenerateRSAKeyPair() 1026 crypto::ScopedRSA rsa(RSA_generate_key(2048, 0x10001, nullptr, nullptr)); in GenerateRSAKeyPair() 1039 crypto::ScopedOpenSSLBytes scoped_buffer(buffer); in GenerateRSAKeyPair() 1048 crypto::ScopedRSA rsa( in VerifyRSASignature() [all …]
|
D | policy_session_impl.cc | 132 pcr_digest = Make_TPM2B_DIGEST(crypto::SHA256HashString(pcr_value)); in PolicyPCR()
|
D | Android.mk | 32 libchrome-crypto \
|
D | tpm_utility_impl.cc | 65 return crypto::SHA256HashString(plaintext); in HashString() 77 crypto::EnsureOpenSSLInit(); in TpmUtilityImpl() 323 std::string digest = crypto::SHA256HashString(entropy_data); in StirRandom() 361 crypto::SHA256HashString(extend_data, digests.digests[0].digest.sha256, in ExtendPCR() 362 crypto::kSHA256Length); in ExtendPCR() 1762 crypto::SHA256HashString(serialized_public_area)); in ComputeKeyName() 1790 crypto::SHA256HashString(serialized_public_area)); in ComputeNVSpaceName() 1815 crypto::SHA256HashString(serialized_sensitive_data + object_name)); in EncryptPrivateData()
|
D | hmac_authorization_delegate.cc | 162 if (!crypto::SecureMemEqual(digest.data(), auth_response.hmac.buffer, in CheckResponseAuthorization()
|
D | policy_session_test.cc | 173 crypto::SHA256HashString(pcr_digest)); in TEST_F()
|
/system/nvram/core/ |
D | crypto.h | 26 namespace crypto {
|
D | crypto_boringssl.cpp | 27 namespace crypto { namespace
|
D | nvram_manager.cpp | 239 request.size != crypto::kSHA256DigestSize) { in CreateSpace() 241 crypto::kSHA256DigestSize); in CreateSpace() 424 crypto::SHA256(sha256_input.data(), sha256_input.size(), contents.data(), in WriteSpace()
|
/system/tpm/attestation/client/ |
D | main.cc | 354 CryptoUtilityImpl crypto(nullptr); in EncryptForActivate3() local 356 if (!crypto.EncryptIdentityCredential( in EncryptForActivate3() 393 CryptoUtilityImpl crypto(nullptr); in Encrypt2() local 395 if (!crypto.EncryptForUnbind(key_info.public_key(), input, &output)) { in Encrypt2() 448 CryptoUtilityImpl crypto(nullptr); in VerifySignature2() local 449 if (crypto.VerifySignature(key_info.public_key(), input, signature)) { in VerifySignature2()
|
/system/core/gatekeeperd/tests/ |
D | Android.mk | 25 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
|
/system/gatekeeper/tests/ |
D | Android.mk | 25 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
|
/system/core/gatekeeperd/ |
D | Android.mk | 43 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
|
/system/extras/verity/ |
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/core/bootstat/ |
D | bootstat.rc | 11 # property:ro.crypto.type=block: FDE device 12 on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block
|
/system/tpm/attestation/server/ |
D | database_impl.cc | 50 DatabaseImpl::DatabaseImpl(CryptoUtility* crypto) in DatabaseImpl() argument 51 : io_(this), crypto_(crypto) {} in DatabaseImpl()
|
D | database_impl.h | 48 explicit DatabaseImpl(CryptoUtility* crypto);
|
D | pkcs11_key_store.cc | 50 typedef crypto::ScopedOpenSSL<X509, X509_free> ScopedX509; 243 crypto::ScopedRSA public_key( in Register() 573 crypto::ScopedOpenSSLBytes scoped_subject_buffer(subject_buffer); in GetCertificateFields() 582 crypto::ScopedOpenSSLBytes scoped_issuer_buffer(issuer_buffer); in GetCertificateFields() 592 crypto::ScopedOpenSSLBytes scoped_serial_number_buffer(serial_number_buffer); in GetCertificateFields()
|
/system/tpm/tpm_manager/client/ |
D | main.cc | 404 request.set_authorization_value(crypto::SHA256HashString(password)); in HandleDefineSpace() 432 request.set_authorization_value(crypto::SHA256HashString(password)); in HandleWriteSpace() 454 request.set_authorization_value(crypto::SHA256HashString(password)); in HandleReadSpace() 470 request.set_authorization_value(crypto::SHA256HashString(password)); in HandleLockSpace()
|
/system/vold/ |
D | Android.mk | 37 external/scrypt/lib/crypto \
|
/system/tpm/tpm_manager/ |
D | Android.mk | 34 libchrome-crypto \
|
/system/core/trusty/keymaster/ |
D | Makefile | 52 LDLIBS=-L$(BASE)/../boringssl/build/crypto -lcrypto -lpthread -lstdc++
|