Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer relative path of kangerootwelve #320

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions poc/xof.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@

from Cryptodome.Cipher import AES

assert os.path.isdir('draft-irtf-cfrg-kangarootwelve/py') # nopep8
sys.path.append('draft-irtf-cfrg-kangarootwelve/py') # nopep8
kangarootwelve_path = \
"%s/draft-irtf-cfrg-kangarootwelve/py" % os.path.dirname(__file__) # nopep8
assert os.path.isdir(kangarootwelve_path) # nopep8
sys.path.append(kangarootwelve_path) # nopep8
from TurboSHAKE import TurboSHAKE128

from common import (TEST_VECTOR, VERSION, Bytes, Unsigned, concat, format_dst,
Expand Down
Loading