úÎ'r$D     goodstable#Vincent Hanquez <vincent@snarc.org>None GCM State  AES Context (pre-processed key) initialize key rounds need to be 10  12 4 14. any other values will cause undefined behavior )encrypt using Electronic Code Book (ECB) *encrypt using Cipher Block Chaining (CBC) Bgenerate a counter mode pad. this is generally xor-ed to an input 5 to make the standard counter mode block operations. Dif the length requested is not a multiple of the block cipher size, @ more data will be returned, so that the returned bytestring is & a multiple of the block cipher size. !encrypt using Counter mode (CTR) =in CTR mode encryption and decryption is the same operation. (encrypt using Galois counter mode (GCM) 8 return the encrypted bytestring and the tag associated >note: encrypted data is identical to CTR mode in GCM, however  a tag is also computed. encrypt using XTS 1the first key is the normal block encryption key 4 the second key is used for the initial block tweak )decrypt using Electronic Code Book (ECB) *decrypt using Cipher block chaining (CBC) "decrypt using Counter mode (CTR). =in CTR mode encryption and decryption is the same operation. decrypt using XTS (decrypt using Galois Counter Mode (GCM) initialize a gcm context Gappend data which is going to just be authentified to the GCM context. Cneed to happen after initialization and before appending encryption/decryption data. 5append data to encrypt and append to the GCM context ;bytestring need to be multiple of AES block size, unless it'"s the last call to this function. M need to happen after AAD appending, or after initialization if no AAD data. 5append data to decrypt and append to the GCM context ;bytestring need to be multiple of AES block size, unless it'"s the last call to this function. M need to happen after AAD appending, or after initialization if no AAD data. "Generate the Tag from GCM context > !"#$%&'()*+,-./0 Cipher Key. usually a 128 bit integer. length of bytes required. Key initial vector data to authenticate (AAD) data to encrypt ciphertext and tag 123456789:;<=  9 !"#$%&'()*+,-./0 123456789:;<=>      !"#$%&'()*+,-./0123456789:;cipher-aes-0.2.1Crypto.Cipher.AESAES256AES192AES128AESinitAESinitKey encryptECB encryptCBCgenCTR encryptCTR encryptGCM encryptXTS decryptECB decryptCBC decryptCTR decryptXTS decryptGCMGCMgcmInit gcmAppendAADgcmAppendEncryptgcmAppendDecrypt gcmFinishc_aes_gcm_finishc_aes_gcm_decryptc_aes_gcm_encrypt c_aes_gcm_aadc_aes_gcm_initc_aes_encrypt_ctr c_aes_gen_ctrc_aes_decrypt_xtsc_aes_encrypt_xtsc_aes_decrypt_cbcc_aes_encrypt_cbcc_aes_decrypt_ecbc_aes_encrypt_ecb c_aes_initsizeGCMkeyToPtrivToPtr withKeyAndIV withKey2AndIVwithGCMKeyAndCopySt withNewGCMStdoECBdoCBCdoXTSdoGCM$fAEADModeImplAES256GCM$fBlockCipherAES256$fAEADModeImplAES192GCM$fBlockCipherAES192$fAEADModeImplAES128GCM$fBlockCipherAES128$fCipherAES256$fCipherAES192$fCipherAES128