forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'vendor/liboqs/' changes from 7d2d392..d207fa5
d207fa5 Add global namespace check to travis. (#29) 32220e7 Clean up test_kex output. ff907b7 LICENSE and README updates for NewHope. 62f630f Code review of NewHope wrapper. c6a9fae Comment updates (#25) 14b5f66 Adding prettyprint check to Travis (#27) 181e602 Cleanup global namespace. fd12d8b Add NewHope. 962eaae Switch to HTTPS domain. git-subtree-dir: vendor/liboqs git-subtree-split: d207fa51daee9d7cde4f15b2e6e867fa821f17bd
- Loading branch information
Showing
17 changed files
with
1,140 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
if [[ $(nm -g liboqs.a | grep ' T ' | grep -E -v -i ' T [_]?OQS') ]]; | ||
then | ||
tput setaf 1; | ||
echo "Code contains the following non-namespaced global symbols; see https://github.com/open-quantum-safe/liboqs/wiki/Coding-conventions for function naming conventions."; | ||
nm -g liboqs.a | grep ' T ' | grep -E -v -i ' T [_]?OQS' | ||
exit 1; | ||
else | ||
tput setaf 2; | ||
echo "Code adheres to the project standards."; | ||
exit 0; | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
if [[ $(make prettyprint | grep Formatted) ]]; | ||
then | ||
tput setaf 1; | ||
echo "Code does not adhere to the project standards. Run \"make prettyprint\"."; | ||
exit 1; | ||
else | ||
tput setaf 2; | ||
echo "Code adheres to the project standards."; | ||
exit 0; | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The files in this directory (except kex_rlwe_newhope.*) were originally written | ||
by Erdem Alkim, Léo Ducas, Thomas Pöppelmann, and Peter Schwabe | ||
(https://github.com/tpoeppelmann/newhope). | ||
|
||
|
||
The following license applies to all files in the src/kex_rlwe_newhope directory. | ||
|
||
|
||
Public domain. |
Oops, something went wrong.