]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Add authors for public domain sntrup4591761 code;
authormarkus@openbsd.org <markus@openbsd.org>
Wed, 30 Jan 2019 19:51:15 +0000 (19:51 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 1 Feb 2019 07:55:11 +0000 (18:55 +1100)
confirmed by Daniel J. Bernstein

OpenBSD-Commit-ID: b4621f22b8b8ef13e063c852af5e54dbbfa413c1

sntrup4591761.c
sntrup4591761.sh

index 9631b423e295a6b66c9de6e92b52076410534af6..615f1b2665ee3f3e18cc2b481f587a4c251a5602 100644 (file)
@@ -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"
 
index 2a0a4200bd8ee4bea2e59af8c842260d3d483232..e684c3329c2ebfb2b6befa792067d9fc4221ccdb 100644 (file)
@@ -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