diff options
author | markus@openbsd.org <markus@openbsd.org> | 2019-01-30 20:51:15 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-02-01 08:55:11 +0100 |
commit | 5f004620fdc1b2108139300ee12f4014530fb559 (patch) | |
tree | 33060209d272ae1955d74f7919e15ff5f6109458 | |
parent | upstream: add -T to usage(); (diff) | |
download | openssh-5f004620fdc1b2108139300ee12f4014530fb559.tar.xz openssh-5f004620fdc1b2108139300ee12f4014530fb559.zip |
upstream: Add authors for public domain sntrup4591761 code;
confirmed by Daniel J. Bernstein
OpenBSD-Commit-ID: b4621f22b8b8ef13e063c852af5e54dbbfa413c1
-rw-r--r-- | sntrup4591761.c | 10 | ||||
-rw-r--r-- | sntrup4591761.sh | 15 |
2 files changed, 23 insertions, 2 deletions
diff --git a/sntrup4591761.c b/sntrup4591761.c index 9631b423e..615f1b266 100644 --- a/sntrup4591761.c +++ b/sntrup4591761.c @@ -1,3 +1,13 @@ +/* $OpenBSD: sntrup4591761.c,v 1.3 2019/01/30 19:51:15 markus Exp $ */ + +/* + * Public Domain, Authors: + * - Daniel J. Bernstein + * - Chitchanok Chuengsatiansup + * - Tanja Lange + * - Christine van Vredendaal + */ + #include <string.h> #include "crypto_api.h" diff --git a/sntrup4591761.sh b/sntrup4591761.sh index 2a0a4200b..e684c3329 100644 --- a/sntrup4591761.sh +++ b/sntrup4591761.sh @@ -1,4 +1,8 @@ #!/bin/sh +# $OpenBSD: sntrup4591761.sh,v 1.3 2019/01/30 19:51:15 markus Exp $ +# Placed in the Public Domain. +# +AUTHOR="libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/implementors" FILES=" libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/int32_sort.h libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/int32_sort.c @@ -27,8 +31,15 @@ FILES=" ### set -e -DIR=/data/git/mfriedl -cd $DIR +cd $1 +echo -n '/* $' +echo 'OpenBSD: $ */' +echo +echo '/*' +echo ' * Public Domain, Authors:' +sed -e '/Alphabetical order:/d' -e 's/^/ * - /' < $AUTHOR +echo ' */' +echo echo '#include <string.h>' echo '#include "crypto_api.h"' echo |