Searched refs:deviceKey (Results 1 – 1 of 1) sorted by relevance
726 static ResultCode GenerateRootSecret(const Buffer *deviceKey, const Buffer *pinData, Buffer *outRoo… in GenerateRootSecret() argument740 Buffer *rootSecret = Hkdf(hkdfSalt, deviceKey); in GenerateRootSecret()758 static Buffer *GenerateEncryptionKey(const Buffer *deviceKey) in GenerateEncryptionKey() argument773 Buffer *encryptionKey = Hkdf(keyStrBuffer, deviceKey); in GenerateEncryptionKey()783 static ResultCode ProcessAddPin(const Buffer *deviceKey, const Buffer *secret, PinEnrollParam *pinE… in ProcessAddPin() argument786 Buffer *encryptionKey = GenerateEncryptionKey(deviceKey); in ProcessAddPin()830 Buffer *deviceKey = NULL; in AddPin() local842 deviceKey = DeriveDeviceKey(pinCredData, secret); in AddPin()843 if (!IsBufferValid(deviceKey)) { in AddPin()848 ret = GenerateRootSecret(deviceKey, pinCredData, outRootSecret); in AddPin()[all …]