upstream: remove whitespace at EOL from code extracted from SUPERCOP

OpenBSD-Commit-ID: 1ec524ff2fbb9387d731601437c82008f35a60f4
This commit is contained in:
djm@openbsd.org 2023-01-11 02:13:52 +00:00 committed by Damien Miller
parent d888de06c5
commit 36b00d3183
No known key found for this signature in database
2 changed files with 24 additions and 23 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: sntrup761.c,v 1.5 2021/01/08 02:33:13 dtucker Exp $ */ /* $OpenBSD: sntrup761.c,v 1.6 2023/01/11 02:13:52 djm Exp $ */
/* /*
* Public Domain, Authors: * Public Domain, Authors:

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $OpenBSD: sntrup761.sh,v 1.6 2022/12/26 19:16:03 jmc Exp $ # $OpenBSD: sntrup761.sh,v 1.7 2023/01/11 02:13:52 djm Exp $
# Placed in the Public Domain. # Placed in the Public Domain.
# #
AUTHOR="supercop-20201130/crypto_kem/sntrup761/ref/implementors" AUTHOR="supercop-20201130/crypto_kem/sntrup761/ref/implementors"
@ -54,6 +54,7 @@ for i in $FILES; do
-e "/^extern /d" \ -e "/^extern /d" \
-e '/CRYPTO_NAMESPACE/d' \ -e '/CRYPTO_NAMESPACE/d' \
-e "/^#define int32 crypto_int32/d" \ -e "/^#define int32 crypto_int32/d" \
-e 's/[ ]*$//' \
$i | \ $i | \
case "$i" in case "$i" in
# Use int64_t for intermediate values in int32_MINMAX to prevent signed # Use int64_t for intermediate values in int32_MINMAX to prevent signed