summaryrefslogtreecommitdiff
path: root/aesgcmanalysis.py
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-08-26 22:08:18 -0400
committercyfraeviolae <cyfraeviolae>2022-08-26 22:08:18 -0400
commitc8dd842220a6bfbc73f1118943f8bf9cd9c0ed3b (patch)
tree37a34482731b3414f60de4b7ffdea195a53714b5 /aesgcmanalysis.py
parent08b5d5fe577bb8afc95c3902ab8024691bdb282c (diff)
cache default answers
Diffstat (limited to 'aesgcmanalysis.py')
-rw-r--r--aesgcmanalysis.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/aesgcmanalysis.py b/aesgcmanalysis.py
index 4b7e32c..338a104 100644
--- a/aesgcmanalysis.py
+++ b/aesgcmanalysis.py
@@ -795,6 +795,3 @@ def nonce_truncation_demo():
h, s = nonce_truncation_recover_secrets(ct, mac, nonce, mac_bytes, aad, oracle, compute_T_once=mac_bytes==1)
assert h == authentication_key(k)
-
-if __name__ == "__main__":
- nonce_truncation_demo()