Searched refs:derivation_data (Results 1 – 1 of 1) sorted by relevance
49 UniquePtr<uint8_t[]>* derivation_data, in BuildDerivationData() argument53 derivation_data->reset(new (std::nothrow) uint8_t[*derivation_data_length]); in BuildDerivationData()54 if (!derivation_data->get()) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in BuildDerivationData()56 uint8_t* buf = derivation_data->get(); in BuildDerivationData()57 uint8_t* end = derivation_data->get() + *derivation_data_length; in BuildDerivationData()71 UniquePtr<uint8_t[]> derivation_data; in InitializeKeyWrappingContext() local73 &derivation_data, &derivation_data_length); in InitializeKeyWrappingContext()90 SHA256_Update(&sha256_ctx, derivation_data.get(), derivation_data_length); in InitializeKeyWrappingContext()