File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1010public_key)`
1111- When operations fail (i.e., ` OQS_SUCCESS != 0 ` ) in functions returning
1212 non-boolean objects, a ` RuntimeError ` is now raised, instead of returning 0
13- - Bugfix on Linux, ` c_int ` -> ` c_size_t ` for buffer sizes
13+ - Bugfix on Linux platforms , ` c_int ` -> ` c_size_t ` for buffer sizes
1414- Pyright type checking fixes
1515- Updated examples to use ` ML-KEM ` and ` ML-DSA ` as the defaults
1616
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def check_wrong_ciphertext(alg_name):
4747
4848def test_not_supported ():
4949 try :
50- with oqs .KeyEncapsulation ("bogus " ):
50+ with oqs .KeyEncapsulation ("unsupported_sig " ):
5151 raise AssertionError ("oqs.MechanismNotSupportedError was not raised." )
5252 except oqs .MechanismNotSupportedError :
5353 pass
@@ -56,7 +56,6 @@ def test_not_supported():
5656
5757
5858def test_not_enabled ():
59- # TODO: test broken as the compiled lib determines which algorithms are supported and enabled
6059 for alg_name in oqs .get_supported_kem_mechanisms ():
6160 if alg_name not in oqs .get_enabled_kem_mechanisms ():
6261 # Found a non-enabled but supported alg
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def check_wrong_public_key(alg_name):
9292
9393def test_not_supported ():
9494 try :
95- with oqs .Signature ("bogus " ):
95+ with oqs .Signature ("unsupported_sig " ):
9696 raise AssertionError ("oqs.MechanismNotSupportedError was not raised." )
9797 except oqs .MechanismNotSupportedError :
9898 pass
@@ -101,7 +101,6 @@ def test_not_supported():
101101
102102
103103def test_not_enabled ():
104- # TODO: test broken as the compiled lib determines which algorithms are supported and enabled
105104 for alg_name in oqs .get_supported_sig_mechanisms ():
106105 if alg_name not in oqs .get_enabled_sig_mechanisms ():
107106 # Found a non-enabled but supported alg
You can’t perform that action at this time.
0 commit comments