Home
last modified time | relevance | path

Searched refs:vector_as_array (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium_org/content/child/webcrypto/openssl/
Dutil_openssl.cc55 vector_as_array(&raw_key), in AeadEncryptDecrypt()
75 vector_as_array(buffer), in AeadEncryptDecrypt()
90 vector_as_array(buffer), in AeadEncryptDecrypt()
Daes_ctr_openssl.cc225 vector_as_array(buffer)); in AesCtrEncryptDecrypt()
244 vector_as_array(buffer)); in AesCtrEncryptDecrypt()
258 vector_as_array(buffer) + input_size_part1); in AesCtrEncryptDecrypt()
Dhmac_openssl.cc53 vector_as_array(buffer), hmac_expected_length); in SignHmac()
201 crypto::SecureMemEqual(vector_as_array(&result), in Verify()
Daes_cbc_openssl.cc88 unsigned char* const buffer_data = vector_as_array(buffer); in AesCbcEncryptDecrypt()
Dsha_openssl.cc64 unsigned char* const hash_buffer = vector_as_array(result); in FinishWithVectorAndStatus()
/external/chromium_org/crypto/
Dsignature_creator_openssl.cc72 vector_as_array(signature), &len, rsa_key.get()); in Sign()
100 int rv = EVP_SignFinal(sign_context_, vector_as_array(signature), &len, key); in Final()
/external/chromium_org/content/child/webcrypto/test/
Daes_ctr_unittest.cc35 length_bits, vector_as_array(&counter), counter.size())); in CreateAesCtrAlgorithm()
183 CryptoData input_16(vector_as_array(&buffer), 256); in TEST()
184 CryptoData input_17(vector_as_array(&buffer), 272); in TEST()
Daes_gcm_unittest.cc29 new blink::WebCryptoAesGcmParams(vector_as_array(&iv), in CreateAesGcmAlgorithm()
32 vector_as_array(&additional_data), in CreateAesGcmAlgorithm()
/external/chromium_org/content/browser/fileapi/
Dsandbox_database_test_helper.cc63 int read_size = file.Read(offset, vector_as_array(&buf), buf.size()); in CorruptDatabase()
71 int written_size = file.Write(offset, vector_as_array(&buf), buf.size()); in CorruptDatabase()
/external/chromium_org/components/policy/core/common/
Dpreg_parser_win.cc107 reinterpret_cast<const base::char16*>(vector_as_array(&data)); in DecodePRegStringValue()
126 uint32 val = *reinterpret_cast<const uint32*>(vector_as_array(&data)); in DecodePRegValue()
289 if (!ReadFieldBinary(&cursor, end, size, vector_as_array(&data))) in ReadFile()
Dschema.cc334 data->schema_nodes = vector_as_array(&storage->schema_nodes_); in ParseSchema()
335 data->property_nodes = vector_as_array(&storage->property_nodes_); in ParseSchema()
336 data->properties_nodes = vector_as_array(&storage->properties_nodes_); in ParseSchema()
337 data->restriction_nodes = vector_as_array(&storage->restriction_nodes_); in ParseSchema()
338 data->int_enums = vector_as_array(&storage->int_enums_); in ParseSchema()
339 data->string_enums = vector_as_array(&storage->string_enums_); in ParseSchema()
/external/chromium_org/base/
Dstl_util.h97 inline T* vector_as_array(std::vector<T>* v) { in vector_as_array() function
102 inline const T* vector_as_array(const std::vector<T>* v) { in vector_as_array() function
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
Dstl_util.h104 inline T* vector_as_array(std::vector<T>* v) { in vector_as_array() function
109 inline const T* vector_as_array(const std::vector<T>* v) { in vector_as_array() function
/external/chromium_org/components/ownership/
Downer_key_util_impl.cc48 reinterpret_cast<char*>(vector_as_array(output)), in ImportPublicKey()
Downer_key_util_impl_unittest.cc75 reinterpret_cast<const char*>(vector_as_array(&public_key)), in TEST_F()
Downer_key_util.h42 return std::string(reinterpret_cast<const char*>(vector_as_array(&data_)), in as_string()
Downer_settings_service.cc48 reinterpret_cast<const char*>(vector_as_array(&signature_bytes)), in AssembleAndSignPolicy()
/external/chromium_org/content/child/webcrypto/nss/
Drsa_oaep_nss.cc100 unsigned char* buffer_data = vector_as_array(buffer); in EncryptRsaOaep()
143 unsigned char* buffer_data = vector_as_array(buffer); in DecryptRsaOaep()
Dhmac_nss.cc200 signature_item.data = vector_as_array(buffer); in Sign()
225 crypto::SecureMemEqual(vector_as_array(&result), in Verify()
/external/chromium_org/components/policy/core/common/cloud/
Dpolicy_builder.cc220 policy_.set_new_public_key(vector_as_array(&raw_new_public_signing_key), in Build()
305 reinterpret_cast<const char*>(vector_as_array(&signature_bytes)), in SignData()
/external/chromium_org/net/base/
Dupload_bytes_element_reader.cc67 : UploadBytesElementReader(vector_as_array(data), data->size()) { in UploadOwnedBytesElementReader()
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_policy_cros_browser_test.cc61 reinterpret_cast<const char*>(vector_as_array(&owner_key_bits)), in InstallOwnerKey()
/external/chromium_org/ui/ozone/platform/dri/
Ddri_wrapper.cc103 vector_as_array(&connectors), in SetCrtc()
122 vector_as_array(&connectors), in SetCrtc()
/external/chromium_org/extensions/browser/api/
Dcapture_web_contents_function.cc122 reinterpret_cast<const char*>(vector_as_array(&data)), data.size()); in OnCaptureSuccess()
/external/chromium_org/ui/ozone/platform/test/
Dtest_window_manager.cc28 reinterpret_cast<const char*>(vector_as_array(&png_data)), in WriteDataToFile()

123