-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
57 additions
and
6 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
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,3 @@ | ||
from cffi_modules._falcon_cffi_maker import make_falcon_ffi | ||
|
||
ffi = make_falcon_ffi('./Modules/PQClean/crypto_sign/falcon-1024-padded/clean') |
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,3 @@ | ||
from cffi_modules._falcon_cffi_maker import make_falcon_ffi | ||
|
||
ffi = make_falcon_ffi('./Modules/PQClean/crypto_sign/falcon-512-padded/clean') |
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,17 @@ | ||
from .._common import _SigAlg | ||
|
||
from pathlib import Path | ||
import os | ||
|
||
|
||
if os.environ.get('LICENSED_FALCON', '0') == '0': | ||
# fmt: off | ||
from .._util import patent_notice | ||
patent_notice(['US7308097B2'], | ||
'the Falcon cryptosystem', 2, | ||
['https://csrc.nist.gov/csrc/media/Projects/post-quantum-cryptography/documents/selected-algos-2022/final-ip-statements/Falcon-Statements-final.pdf#page=20'] | ||
) | ||
# fmt: on | ||
|
||
|
||
_SigAlg._init_module(Path(__file__).stem, globals()) |
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,17 @@ | ||
from .._common import _SigAlg | ||
|
||
from pathlib import Path | ||
import os | ||
|
||
|
||
if os.environ.get('LICENSED_FALCON', '0') == '0': | ||
# fmt: off | ||
from .._util import patent_notice | ||
patent_notice(['US7308097B2'], | ||
'the Falcon cryptosystem', 2, | ||
['https://csrc.nist.gov/csrc/media/Projects/post-quantum-cryptography/documents/selected-algos-2022/final-ip-statements/Falcon-Statements-final.pdf#page=20'] | ||
) | ||
# fmt: on | ||
|
||
|
||
_SigAlg._init_module(Path(__file__).stem, globals()) |
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