Skip to content

Commit

Permalink
keydata.go: add doc comment for KDFAlg field
Browse files Browse the repository at this point in the history
  • Loading branch information
sespiros committed Feb 7, 2024
1 parent 8c92177 commit 18b89e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keydata.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ type keyData struct {
// the encrypted payloads.
PlatformHandle json.RawMessage `json:"platform_handle"`

// KDFAlg is the algorithm that is used to derive the unlock key from a primary key.
// It is also used to derive additional keys from the passphrase derived key in
// derivePassphraseKeys.
KDFAlg hashAlg `json:"kdf_alg,omitempty"`

// EncryptedPayload is the platform protected key payload.
Expand Down

0 comments on commit 18b89e5

Please sign in to comment.