(a":      !"#$%&'()*+,-./0123456789None:Stream cipher unit test ;a AEAD unit test <a XTS unit test =a CTR unit test >a CFB unit test ?a CBC unit test @a CBC unit test Aa ECB unit test B#A multiple of blocksize bytestring Cany sized bytestring D<Generate an arbitrary valid key for a specific block cipher E;Generate an arbitrary valid IV for a specific block cipher FDGenerate an arbitrary valid IV for AEAD for a specific block cipher G1Generate a plaintext multiple of blocksize bytes HGenerate any sized plaintext I+Test a generic block cipher for properties  related to block cipher modes. J+Test a generic block cipher for properties ( related to BlockCipherIO cipher modes. KTest stream mode 3:L;M<N=O>P?Q@RASBTCUDEFGHVWXYIJKZ[\]^_`abcdefghijkl!:L;M<N=O>P?Q@RASBTCUDEFGHVWXYIJKZ):L;M<N=O>P?Q@RASBTCUDEFGHVWXYIJKZ[\]^_`abcdefghijklNone'KAT for Stream cipher ;all the KATs. use defaultKATs to prevent compilation error . from future expansion of this data structure  AEAD KAT AEAD mode to use Key IV for initialization Authentificated Header  Plaintext  Ciphertext  aead tag len  expected tag XTS KAT  1st XTS key  2nd XTS key XTS IV  plaintext  Ciphertext CTR KAT Key !/IV (usually represented as a 128 bits integer) " Plaintext # Ciphertext $CFB KAT &Key 'IV ( Plaintext ) Ciphertext *CBC KAT ,Key -IV . Plaintext / Ciphertext 0ECB KAT 2Key 3 Plaintext 4 Ciphertext 5the empty KATs 6the empty KATs for stream mtests related to KATs <  !"#$%&'()*+,-./0123456mnopq<  !"#$%&'()*+,-./0123456mnopq  !"#$%&'()*+,-./0123456mnopq ExcellentStable#Vincent Hanquez <vincent@snarc.org>None7;Return tests for a specific blockcipher and a list of KATs 8:Return test for a specific blockcipher and a list of KATs 9<Return tests for a specific streamcipher and a list of KATs 789:  !"#$%&'()*+,-./0123456789:78956 01234*+,-./$%&'() !"# 789r      !"##$%&'(()*+,--./0123456789:;<=>?@ABCDEFG6789:;<=>?HIJKLMNOPQRSTUVWXYZ[\]^_`abcdcrypto-cipher-tests-0.0.11Crypto.Cipher.TestsCrypto.Cipher.Tests.PropertiesCrypto.Cipher.Tests.KATs KAT_Stream streamKeystreamPlaintextstreamCiphertextKATskat_ECBkat_CBCkat_CFBkat_CTRkat_XTSkat_AEADKAT_AEADaeadModeaeadKeyaeadIV aeadHeader aeadPlaintextaeadCiphertext aeadTaglenaeadTagKAT_XTSxtsKey1xtsKey2xtsIV xtsPlaintext xtsCiphertextKAT_CTRctrKeyctrIV ctrPlaintext ctrCiphertextKAT_CFBcfbKeycfbIV cfbPlaintext cfbCiphertextKAT_CBCcbcKeycbcIV cbcPlaintext cbcCiphertextKAT_ECBecbKey ecbPlaintext ecbCiphertext defaultKATsdefaultStreamKATstestBlockCiphertestBlockCipherIOtestStreamCipher StreamUnitAEADUnitXTSUnitCTRUnitCFB8UnitCFBUnitCBCUnitECBUnit PlaintextBS Plaintext generateKey generateIvgenerateIvAEADgeneratePlaintextMultipleBSgeneratePlaintext testModes testIOModes testStreamtestBlockCipherBasictestBlockCipherModestestBlockCipherAEADtestBlockCipherXTSassertEq$fArbitraryStreamUnit$fArbitraryAEADUnit$fArbitraryXTSUnit$fArbitraryCTRUnit$fArbitraryCFB8Unit$fArbitraryCFBUnit$fArbitraryCBCUnit$fArbitraryECBUnit$fShowStreamUnit$fShowAEADUnit $fShowXTSUnit $fShowCTRUnit$fShowCFB8Unit $fShowCFBUnit $fShowCBCUnit $fShowECBUnit$fByteablePlaintextBS$fByteablePlaintexttestKATstestStreamKATs cipherMakeKey cipherMakeIV maybeGroup