úÎ%l"ç     goodstable#Vincent Hanquez <vincent@snarc.org>None GCM Context AES IV AES Key initialize key )return the user key from the Key context )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 1 !"#$%&'()* Cipher Key. usually a 128 bit integer. length of bytes required.  Key initial vector data to authenticate (AAD) data to encrypt ciphertext and tag +,-./0  . !"#$%&'()* +,-./01      !"#$%&'()*+,-./0cipher-aes-0.1.8Crypto.Cipher.AESIVKeyinitKeykeyOfCtx 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 withKey2AndIVdoECBdoCBCdoXTSdoGCM allocaFrom $fStorableGCM