From: Sergey Matveev Date: Sat, 12 Apr 2025 06:32:15 +0000 (+0300) Subject: Better looking comments X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=edacc6aaa298e9603e9fb1d3a577c5661d0018c5c02cc6366caa54752835ad2b;p=keks.git Better looking comments --- diff --git a/tcl/schemas/encrypted.tcl b/tcl/schemas/encrypted.tcl index ca28407..43f054f 100644 --- a/tcl/schemas/encrypted.tcl +++ b/tcl/schemas/encrypted.tcl @@ -7,9 +7,8 @@ encrypted { dem { {field . {map}} - {# chapoly-krkc} - {# kuznechik-ctr-hmac-kr} - {field a {str} >0} + {field a {str} >0} {# chapoly-krkc} + {# kuznechik-ctr-hmac-kr} } kem { diff --git a/tcl/schemas/kem-with-encap.tcl b/tcl/schemas/kem-with-encap.tcl index 4f0752d..157c23b 100644 --- a/tcl/schemas/kem-with-encap.tcl +++ b/tcl/schemas/kem-with-encap.tcl @@ -1,7 +1,6 @@ kem-with-encap { - {# sntrup4591761-x25519-hkdf-blake2b} - {# mceliece6960119-x25519-hkdf-shake256} - {field a {str} >0} + {field a {str} >0} {# sntrup4591761-x25519-hkdf-blake2b} + {# mceliece6960119-x25519-hkdf-shake256} {field cek {bin} >0} {# wrapped CEK} {field encap {bin} >0} {field to {with fpr} optional} {# recipient's public key} diff --git a/tcl/schemas/signed-prehash.tcl b/tcl/schemas/signed-prehash.tcl index 7b884c5..5170544 100644 --- a/tcl/schemas/signed-prehash.tcl +++ b/tcl/schemas/signed-prehash.tcl @@ -1,5 +1,4 @@ prehash { {field t {str} =prehash} - {# set of signature algorithm identifiers (/sigs/*/sign/a)} - {field sigs {set} >0} + {field sigs {set} >0} {# set of /sigs/*/sign/a} }