Lines Matching refs:modes
15 from cryptography.hazmat.primitives.ciphers import modes
48 (modes.CBC, modes.CTR, modes.CFB, modes.CFB8, modes.OFB)
56 modes.XTS(32)
60 modes.XTS(b"0")
65 ciphers.Cipher(AES(b"0" * 16), modes.XTS(b"0" * 16), backend)
195 ciphers.Cipher(AES(b"AAAAAAAAAAAAAAAA"), modes.ECB, pretend_backend)
200 AES(b"\x00" * 16), modes.ECB()
217 c = ciphers.Cipher(AES(key), modes.ECB(), backend)
226 AES(b"\x00" * 16), modes.GCM(b"0" * 12)
235 c = ciphers.Cipher(AES(key), modes.GCM(iv), backend)
242 c = ciphers.Cipher(AES(key), modes.GCM(iv, encryptor.tag), backend)
251 AES(b"\x00" * 16), modes.GCM(b"0" * 12)
259 AES(key), modes.GCM(iv), backend
264 AES(key), modes.GCM(iv, tag=encryptor.tag), backend
282 c = ciphers.Cipher(AES(key), modes.ECB(), backend)
293 c = ciphers.Cipher(AES(key), modes.ECB(), backend)
301 AES(b"\x00" * 16), modes.GCM(b"\x00" * 12)
307 c = ciphers.Cipher(AES(key), modes.GCM(b"\x00" * 12), backend)