Home
last modified time | relevance | path

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

/drivers/peripheral/pin_auth/hdi_service/database/src/
Dpin_db.c726 static ResultCode GenerateRootSecret(const Buffer *deviceKey, const Buffer *pinData, Buffer *outRoo… in GenerateRootSecret() argument
740 Buffer *rootSecret = Hkdf(hkdfSalt, deviceKey); in GenerateRootSecret()
758 static Buffer *GenerateEncryptionKey(const Buffer *deviceKey) in GenerateEncryptionKey() argument
773 Buffer *encryptionKey = Hkdf(keyStrBuffer, deviceKey); in GenerateEncryptionKey()
783 static ResultCode ProcessAddPin(const Buffer *deviceKey, const Buffer *secret, PinEnrollParam *pinE… in ProcessAddPin() argument
786 Buffer *encryptionKey = GenerateEncryptionKey(deviceKey); in ProcessAddPin()
830 Buffer *deviceKey = NULL; in AddPin() local
842 deviceKey = DeriveDeviceKey(pinCredData, secret); in AddPin()
843 if (!IsBufferValid(deviceKey)) { in AddPin()
848 ret = GenerateRootSecret(deviceKey, pinCredData, outRootSecret); in AddPin()
[all …]