diff options
author | markus@openbsd.org <markus@openbsd.org> | 2019-01-30 19:51:15 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-02-01 18:55:11 +1100 |
commit | 5f004620fdc1b2108139300ee12f4014530fb559 (patch) | |
tree | 33060209d272ae1955d74f7919e15ff5f6109458 /sntrup4591761.sh | |
parent | 2c21b75a7be6ebdcbceaebb43157c48dbb36f3d8 (diff) |
upstream: Add authors for public domain sntrup4591761 code;
confirmed by Daniel J. Bernstein
OpenBSD-Commit-ID: b4621f22b8b8ef13e063c852af5e54dbbfa413c1
Diffstat (limited to 'sntrup4591761.sh')
-rw-r--r-- | sntrup4591761.sh | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sntrup4591761.sh b/sntrup4591761.sh index 2a0a4200b..e684c3329 100644 --- a/sntrup4591761.sh +++ b/sntrup4591761.sh | |||
@@ -1,4 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # $OpenBSD: sntrup4591761.sh,v 1.3 2019/01/30 19:51:15 markus Exp $ | ||
3 | # Placed in the Public Domain. | ||
4 | # | ||
5 | AUTHOR="libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/implementors" | ||
2 | FILES=" | 6 | FILES=" |
3 | libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/int32_sort.h | 7 | libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/int32_sort.h |
4 | libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/int32_sort.c | 8 | libpqcrypto-20180314/crypto_kem/sntrup4591761/ref/int32_sort.c |
@@ -27,8 +31,15 @@ FILES=" | |||
27 | ### | 31 | ### |
28 | 32 | ||
29 | set -e | 33 | set -e |
30 | DIR=/data/git/mfriedl | 34 | cd $1 |
31 | cd $DIR | 35 | echo -n '/* $' |
36 | echo 'OpenBSD: $ */' | ||
37 | echo | ||
38 | echo '/*' | ||
39 | echo ' * Public Domain, Authors:' | ||
40 | sed -e '/Alphabetical order:/d' -e 's/^/ * - /' < $AUTHOR | ||
41 | echo ' */' | ||
42 | echo | ||
32 | echo '#include <string.h>' | 43 | echo '#include <string.h>' |
33 | echo '#include "crypto_api.h"' | 44 | echo '#include "crypto_api.h"' |
34 | echo | 45 | echo |