Searched refs:string_as_array (Results 1 – 13 of 13) sorted by relevance
/system/tpm/attestation/server/ |
D | pkcs11_key_store.cc | 120 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 …]
|
D | database_impl.cc | 54 brillo::SecureMemset(string_as_array(&database_key_), 0, in ~DatabaseImpl()
|
/system/tpm/tpm_manager/server/ |
D | openssl_crypto_util_impl.cc | 29 reinterpret_cast<unsigned char*>(string_as_array(random_data)); in GetRandomBytes()
|
D | tpm_initializer_impl.cc | 229 string_as_array(&mutable_owner_password))))) { in ChangeOwnerPassword()
|
/system/tpm/trunks/ |
D | tpm_simulator_handle.cc | 69 string_as_array(&mutable_command)), in SendCommandAndWait()
|
D | session_manager_impl.cc | 85 reinterpret_cast<unsigned char*>(string_as_array(&salt)); in StartSession() 206 reinterpret_cast<uint8_t*>(string_as_array(encrypted_salt)), in EncryptSalt()
|
D | hmac_authorization_delegate.cc | 302 memcpy(string_as_array(parameter), decrypted, parameter->size()); in AesOperation()
|
D | trunks_client_test.cc | 1031 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()
|
D | tpm_utility_impl.cc | 1832 reinterpret_cast<unsigned char*>(string_as_array(&private_data_string)), in EncryptPrivateData()
|
D | tpm_utility_test.cc | 1156 reinterpret_cast<unsigned char*>(string_as_array(&unencrypted_private)), in TEST_F()
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 53 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()
|
D | tpm_utility_v1.cc | 66 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/ |
D | perfprofdcore.cc | 480 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()
|