Skip to content

Commit

Permalink
chore: raise HKDF visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
texastony committed Jun 21, 2024
1 parent 92615f3 commit f785ffb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client-apis/encrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,12 @@ The algorithm used to derive a data key from the plaintext data key MUST be
the [key derivation algorithm](../framework/algorithm-suites.md#key-derivation-algorithm) included in the
[algorithm suite](../framework/algorithm-suites.md) defined above.
This document refers to the output of the key derivation algorithm as the derived data key.
Note that if the key derivation algorithm is the [identity KDF](../framework/algorithm-suites.md#identity-kdf),
then the derived data key is the same as the plaintext data key.
Note:

- If the key derivation algorithm is the [identity KDF](../framework/algorithm-suites.md#identity-kdf),
then the derived data key is the same as the plaintext data key.
- If the key derivation algorithm is [HKDF](../framework/algorithm-suites.md#hkdf),
the derivation process is described in [HKDF Encryption Key](../transitive-requirements.md#hkdf-encryption-key).

The frame length used in the procedures described below is the input [frame length](#frame-length),
if supplied, or the default if not.
Expand Down
1 change: 1 addition & 0 deletions framework/algorithm-suites.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ the algorithm suite's encryption key length MUST equal the algorithm suite's [ke
Specification: [RFC 5869](https://tools.ietf.org/html/rfc5869)

The HMAC-based extract-and-expand key derivation function (HKDF) is a key derivation algorithm.
For the ESDK's usage, the HKDF inputs are described in [Transitive requirements for supported formats](./transitive-requirements.md).

## Supported Formats

Expand Down

0 comments on commit f785ffb

Please sign in to comment.