Home
last modified time | relevance | path

Searched refs:out_key (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore2/src/crypto/
Dcrypto.hpp43 bool HKDFExtract(uint8_t *out_key, size_t *out_len,
47 bool HKDFExpand(uint8_t *out_key, size_t out_len,
Dcrypto.cpp208 bool HKDFExtract(uint8_t* out_key, size_t* out_len, const uint8_t* secret, size_t secret_len, in HKDFExtract() argument
211 auto result = HKDF_extract(out_key, out_len, digest, secret, secret_len, salt, salt_len); in HKDFExtract()
215 bool HKDFExpand(uint8_t* out_key, size_t out_len, const uint8_t* prk, size_t prk_len, in HKDFExpand() argument
218 auto result = HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len); in HKDFExpand()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp726 UniquePtr<uint8_t[]> out_key; in ExportKey() local
728 response->error = key->formatted_key_material(request.key_format, &out_key, &size); in ExportKey()
730 response->key_data = out_key.release(); in ExportKey()