Skip to content

Commit

Permalink
Merge pull request #7 from Yubico/tweak-generic
Browse files Browse the repository at this point in the history
Tweak generic function definitions
  • Loading branch information
emlun authored Apr 8, 2024
2 parents 5cfc619 + 00cbc06 commit 09893cf
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions draft-bradleylundberg-cfrg-arkg.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ The subordinate party will then be able to generate public keys on behalf of the

~~~pseudocode
ARKG-Generate-Seed() -> (pk, sk)
Options:
ARKG instance parameters:
BL A key blinding scheme.
KEM A key encapsulation mechanism.

Expand Down Expand Up @@ -397,7 +397,7 @@ in order to generate any number of public keys.

~~~pseudocode
ARKG-Derive-Public-Key((pk_kem, pk_bl), info) -> (pk', kh)
Options:
ARKG instance parameters:
BL A key blinding scheme.
KEM A key encapsulation mechanism.
MAC A MAC scheme.
Expand All @@ -410,8 +410,9 @@ ARKG-Derive-Public-Key((pk_kem, pk_bl), info) -> (pk', kh)
Inputs:
pk_kem A key encapsulation public key.
pk_bl A key blinding public key.
info Optional context and application specific
information (can be a zero-length string).
info An octet string containing optional context
and application specific information
(can be a zero-length string).

Output:
pk' A blinded public key.
Expand Down Expand Up @@ -445,7 +446,7 @@ in order to derive the same or different secret keys any number of times.

~~~pseudocode
ARKG-Derive-Secret-Key((sk_kem, sk_bl), kh, info) -> sk'
Options:
ARKG instance parameters:
BL A key blinding scheme.
KEM A key encapsulation mechanism.
MAC A MAC scheme.
Expand All @@ -459,8 +460,9 @@ ARKG-Derive-Secret-Key((sk_kem, sk_bl), kh, info) -> sk'
sk_kem A key encapsulation secret key.
sk_bl A key blinding secret key.
kh A key handle output from ARKG-Derive-Public-Key.
info Optional context and application specific
information (can be a zero-length string).
info An octet string containing optional context
and application specific information
(can be a zero-length string).

Output:
sk' A blinded secret key.
Expand Down

0 comments on commit 09893cf

Please sign in to comment.