Searched refs:crypto (Results 1 - 25 of 32) sorted by relevance

12

/system/extras/crypto-perf/
H A DAndroid.mk5 LOCAL_CFLAGS := -O0 -march=armv8-a+crypto -Wall -Werror
6 LOCAL_SRC_FILES := crypto.cpp
10 LOCAL_MODULE := crypto
/system/nvram/core/
H A Dcrypto.h26 namespace crypto { namespace in namespace:nvram
42 } // namespace crypto
H A Dcrypto_boringssl.cpp17 #include "crypto.h"
27 namespace crypto { namespace in namespace:nvram
47 } // namespace crypto
H A Dnvram_manager.cpp26 #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 DAndroid.mk25 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
/system/core/gatekeeperd/
H A DAndroid.mk43 LOCAL_C_INCLUDES := external/scrypt/lib/crypto
/system/tpm/attestation/common/
H A Dcrypto_utility_impl.cc25 #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 Dtpm_utility_v1.cc24 #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 Ddatabase_impl.h48 explicit DatabaseImpl(CryptoUtility* crypto);
H A Ddatabase_impl.cc50 DatabaseImpl::DatabaseImpl(CryptoUtility* crypto) argument
51 : io_(this), crypto_(crypto) {}
H A Dpkcs11_key_store.cc32 #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 Dtpm_generated.cc31 #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 Dpolicy_session_impl.cc25 #include <crypto/sha2.h>
132 pcr_digest = Make_TPM2B_DIGEST(crypto::SHA256HashString(pcr_value));
H A Dhmac_authorization_delegate.h23 #include <crypto/secure_hash.h>
H A Dsession_manager_impl.cc23 #include <crypto/openssl_util.h>
56 crypto::EnsureOpenSSLInit();
H A Dtrunks_client_test.cc29 #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 Dhmac_authorization_delegate.cc21 #include <crypto/secure_util.h>
162 if (!crypto::SecureMemEqual(digest.data(), auth_response.hmac.buffer,
H A Dpolicy_session_test.cc19 #include <crypto/sha2.h>
173 crypto::SHA256HashString(pcr_digest));
H A Dtpm_utility_impl.cc24 #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 DUtils.java47 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 Dmain.cc35 #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 Dmain.cc354 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 DAndroid.mk34 libchrome-crypto \
/system/core/trusty/keymaster/
H A DMakefile52 LDLIBS=-L$(BASE)/../boringssl/build/crypto -lcrypto -lpthread -lstdc++
/system/sepolicy/prebuilts/api/26.0/private/
H A Dproperty_contexts80 ro.crypto. u:object_r:vold_prop:s0

Completed in 2712 milliseconds

12