mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-12-08 05:19:46 +00:00
Add dedicated tests for EAX mode
This commit is contained in:
parent
ec4674c0a8
commit
2361b724b1
6 changed files with 586 additions and 121 deletions
|
|
@ -172,5 +172,5 @@ def _create_ecb_cipher(factory, **kwargs):
|
|||
|
||||
cipher_state = factory._create_base_cipher(kwargs)
|
||||
if kwargs:
|
||||
raise ValueError("Unknown parameters for ECB: %s" % str(kwargs))
|
||||
raise TypeError("Unknown parameters for ECB: %s" % str(kwargs))
|
||||
return EcbMode(cipher_state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue