[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 172/324: crypto/struct: Define /ecc-signature-purpose.
From: |
gnunet |
Subject: |
[gnunet-scheme] 172/324: crypto/struct: Define /ecc-signature-purpose. |
Date: |
Tue, 21 Sep 2021 13:23:32 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit ed8f83dacdbb5d95633e93ac4ef2ff9c521978b0
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Aug 13 12:07:00 2021 +0200
crypto/struct: Define /ecc-signature-purpose.
* gnu/gnunet/util/struct.scm (/ecc-signature-purpose): New variable.
---
gnu/gnunet/crypto/struct.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/gnunet/crypto/struct.scm b/gnu/gnunet/crypto/struct.scm
index 7a2812e..7e728c8 100644
--- a/gnu/gnunet/crypto/struct.scm
+++ b/gnu/gnunet/crypto/struct.scm
@@ -52,11 +52,13 @@
/ecdhe-public-key /ecdhe-private-key
/ecdsa-private-key /eddsa-private-key
/symmetric-session-key
- /challenge-nonce-p)
+ /challenge-nonce-p
+ /ecc-signature-purpose)
(import (only (gnu gnunet hashcode struct) /hashcode:256)
(only (gnu gnunet netstruct syntactic)
define-type structure/packed)
- (only (gnu gnunet netstruct procedural) u8vector)
+ (only (gnu gnunet netstruct procedural)
+ u8vector u32/big)
(only (rnrs base) begin))
(begin
(define-type /eddsa-signature
@@ -153,4 +155,13 @@ here in affine coordinates and Ed25519 standard compact
format."))))
(synopsis "Type of a nonce used for challenges")
(field (value /hashcode:256)
(synopsis
- "The value of the nonce. Note that this is NOT a hash."))))))
+ "The value of the nonce. Note that this is NOT a hash."))))
+
+ (define-type /ecc-signature-purpose
+ (structure/packed
+ (synopsis "Header indicating what an ECC signature signs")
+ (field (size u32/big)
+ (synopsis "The number of bytes the signature signs"))
+ (field (purpose u32/big)
+ (synopsis "What does this signature vouch for?"))))))
+
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 197/324: mq-impl/stream: Stop all fibers when EOF is reached (part 2)., (continued)
- [gnunet-scheme] 197/324: mq-impl/stream: Stop all fibers when EOF is reached (part 2)., gnunet, 2021/09/21
- [gnunet-scheme] 165/324: mq-impl/stream: Implement connecting to unix sockets., gnunet, 2021/09/21
- [gnunet-scheme] 171/324: util/struct: Define /time-absolute., gnunet, 2021/09/21
- [gnunet-scheme] 168/324: README: Remove paragraph about avoiding callbacks., gnunet, 2021/09/21
- [gnunet-scheme] 175/324: mq/handler: Handle the case where no handler exists., gnunet, 2021/09/21
- [gnunet-scheme] 178/324: Makefile.am: Compile with more optimisations., gnunet, 2021/09/21
- [gnunet-scheme] 174/324: nse/struct: Add missing imports., gnunet, 2021/09/21
- [gnunet-scheme] 186/324: nse: Allow 'updated' to be absent., gnunet, 2021/09/21
- [gnunet-scheme] 166/324: guix: Use fixed version of guile., gnunet, 2021/09/21
- [gnunet-scheme] 176/324: tests/utils: New utilities for tests., gnunet, 2021/09/21
- [gnunet-scheme] 172/324: crypto/struct: Define /ecc-signature-purpose.,
gnunet <=
- [gnunet-scheme] 179/324: nse/struct: Document 'timestamp' field of estimates., gnunet, 2021/09/21
- [gnunet-scheme] 192/324: tests/mq-stream: Recognise the 'input:regular-end-of-file' error., gnunet, 2021/09/21
- [gnunet-scheme] 206/324: mq-impl/stream: Flush the output port regularily., gnunet, 2021/09/21
- [gnunet-scheme] 198/324: doc: Document dependencies and how to get the source code., gnunet, 2021/09/21
- [gnunet-scheme] 202/324: mq-impl/stream: Allow the write fiber to stop even if blocking., gnunet, 2021/09/21
- [gnunet-scheme] 205/324: tests/mq-stream: Unbreak SIGPIPE signal handler., gnunet, 2021/09/21
- [gnunet-scheme] 203/324: tests/mq-stream: Make tests less fragile., gnunet, 2021/09/21
- [gnunet-scheme] 193/324: mq-impl/stream: Eliminate condition variable., gnunet, 2021/09/21
- [gnunet-scheme] 207/324: hat-let: Allow (dotted) variable lists with <--., gnunet, 2021/09/21
- [gnunet-scheme] 211/324: doc: Correct typo (mesage -> message), gnunet, 2021/09/21