Source release 17.1.2
This commit is contained in:
@@ -47,6 +47,11 @@ class KeyDeriver {
|
||||
bool DeriveEncryptionKey(const std::vector<uint8_t>& enc_key_context,
|
||||
std::vector<uint8_t>* enc_key);
|
||||
|
||||
// Derive renewed device key. Use on KeyDeriver initialized with old device
|
||||
// key. |context| should be just the context field, eg A_priv+CA_token.
|
||||
bool DeriveRenewedDeviceKey(const std::vector<uint8_t>& context,
|
||||
std::vector<uint8_t>* renewed_device_key);
|
||||
|
||||
~KeyDeriver() {}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user