Home
last modified time | relevance | path

Searched refs:string_as_array (Results 1 – 13 of 13) sorted by relevance

/system/tpm/attestation/server/
Dpkcs11_key_store.cc120 attribute.pValue = string_as_array(key_data); in Read()
156 {CKA_LABEL, string_as_array(&mutable_key_name), mutable_key_name.size()}, in Write()
157 {CKA_VALUE, string_as_array(&mutable_key_data), mutable_key_data.size()}, in Write()
158 {CKA_APPLICATION, string_as_array(&mutable_application_id), in Write()
252 reinterpret_cast<unsigned char*>(string_as_array(&modulus))); in Register()
279 {CKA_ID, string_as_array(&id), id.size()}, in Register()
280 {CKA_LABEL, string_as_array(&mutable_label), mutable_label.size()}, in Register()
283 {CKA_MODULUS, string_as_array(&modulus), modulus.size()}}; in Register()
308 {CKA_ID, string_as_array(&id), id.size()}, in Register()
309 {CKA_LABEL, string_as_array(&mutable_label), mutable_label.size()}, in Register()
[all …]
Ddatabase_impl.cc54 brillo::SecureMemset(string_as_array(&database_key_), 0, in ~DatabaseImpl()
/system/tpm/tpm_manager/server/
Dopenssl_crypto_util_impl.cc29 reinterpret_cast<unsigned char*>(string_as_array(random_data)); in GetRandomBytes()
Dtpm_initializer_impl.cc229 string_as_array(&mutable_owner_password))))) { in ChangeOwnerPassword()
/system/tpm/trunks/
Dtpm_simulator_handle.cc69 string_as_array(&mutable_command)), in SendCommandAndWait()
Dsession_manager_impl.cc85 reinterpret_cast<unsigned char*>(string_as_array(&salt)); in StartSession()
206 reinterpret_cast<uint8_t*>(string_as_array(encrypted_salt)), in EncryptSalt()
Dhmac_authorization_delegate.cc302 memcpy(string_as_array(parameter), decrypted, parameter->size()); in AesOperation()
Dtrunks_client_test.cc1031 reinterpret_cast<unsigned char*>(string_as_array(modulus))); in GenerateRSAKeyPair()
1034 reinterpret_cast<unsigned char*>(string_as_array(prime_factor))); in GenerateRSAKeyPair()
1055 reinterpret_cast<unsigned char*>(string_as_array(&mutable_signature)); in VerifyRSASignature()
Dtpm_utility_impl.cc1832 reinterpret_cast<unsigned char*>(string_as_array(&private_data_string)), in EncryptPrivateData()
Dtpm_utility_test.cc1156 reinterpret_cast<unsigned char*>(string_as_array(&unencrypted_private)), in TEST_F()
/system/tpm/attestation/common/
Dcrypto_utility_impl.cc53 return reinterpret_cast<unsigned char*>(string_as_array(s)); in StringAsOpenSSLBuffer()
330 reinterpret_cast<unsigned char*>(string_as_array(encrypted_data)); in AesEncrypt()
448 reinterpret_cast<unsigned char*>(string_as_array(&padded_input)); in TpmCompatibleOAEPEncrypt()
460 reinterpret_cast<unsigned char*>(string_as_array(output)); in TpmCompatibleOAEPEncrypt()
Dtpm_utility_v1.cc66 return reinterpret_cast<BYTE*>(string_as_array(s)); in StringAsTSSBuffer()
670 reinterpret_cast<unsigned char*>(string_as_array(public_key_der)); in ConvertPublicKeyToDER()
/system/extras/perfprofd/
Dperfprofdcore.cc480 inline char* string_as_array(std::string* str) { in string_as_array() function
516 reinterpret_cast<::google::protobuf::uint8*>(string_as_array(&data)); in encode_to_proto()