From edacc6aaa298e9603e9fb1d3a577c5661d0018c5c02cc6366caa54752835ad2b Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 12 Apr 2025 09:32:15 +0300 Subject: [PATCH] Better looking comments --- tcl/schemas/encrypted.tcl | 5 ++--- tcl/schemas/kem-with-encap.tcl | 5 ++--- tcl/schemas/signed-prehash.tcl | 3 +-- 3 files changed, 5 insertions(+), 8 deletions(-) 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} } -- 2.48.1