Skip to content

Commit

Permalink
Use {{KeyFormat/raw}}
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Aug 23, 2023
1 parent c455338 commit b72ecc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6779,7 +6779,7 @@ Note: this extension may be implemented for [=authenticators=] that do not use [
if not present, the extension outputs will be {{BufferSource}} values.

The arguments in the {{SubtleCrypto/importKey}} invocation will be:
- `format`: `"raw"`
- `format`: {{KeyFormat/raw}}
- `keyData`: The PRF output.
- `algorithm`: `"HKDF"`
- `extractable`: [FALSE]
Expand Down Expand Up @@ -6813,12 +6813,12 @@ Note: this extension may be implemented for [=authenticators=] that do not use [
1. If |firstOutput| is present, set
<code>{{AuthenticationExtensionsPRFOutputs/results}}.{{AuthenticationExtensionsPRFValues/first}}</code>
to the result of invoking <code>|subtleCrypto|.{{SubtleCrypto/importKey}}</code> with the arguments
<code>"raw"</code>, |firstOutput|, <code>"HKDF"</code>, [FALSE] and
{{KeyFormat/raw}}, |firstOutput|, <code>"HKDF"</code>, [FALSE] and
<code>{{AuthenticationExtensionsPRFInputs/importCryptoKey}}.{{AuthenticationExtensionsPRFImportCryptoKeyParams/keyUsages}}</code>.
1. If |secondOutput| is present, set
<code>{{AuthenticationExtensionsPRFOutputs/results}}.{{AuthenticationExtensionsPRFValues/second}}</code>
to the result of invoking <code>|subtleCrypto|.{{SubtleCrypto/importKey}}</code> with the arguments
<code>"raw"</code>, |secondOutput|, <code>"HKDF"</code>, [FALSE] and
{{KeyFormat/raw}}, |secondOutput|, <code>"HKDF"</code>, [FALSE] and
<code>{{AuthenticationExtensionsPRFInputs/importCryptoKey}}.{{AuthenticationExtensionsPRFImportCryptoKeyParams/keyUsages}}</code>.
</dl>

Expand Down

0 comments on commit b72ecc2

Please sign in to comment.