Lines Matching refs:ciphers
14 from cryptography.hazmat.primitives import ciphers
15 from cryptography.hazmat.primitives.ciphers import modes
16 from cryptography.hazmat.primitives.ciphers.algorithms import (
52 ciphers.Cipher(AES(b"0" * 64), mode(b"0" * 16), backend)
65 ciphers.Cipher(AES(b"0" * 16), modes.XTS(b"0" * 16), backend)
195 ciphers.Cipher(AES(b"AAAAAAAAAAAAAAAA"), modes.ECB, pretend_backend)
217 c = ciphers.Cipher(AES(key), modes.ECB(), backend)
235 c = ciphers.Cipher(AES(key), modes.GCM(iv), backend)
242 c = ciphers.Cipher(AES(key), modes.GCM(iv, encryptor.tag), backend)
258 encryptor = ciphers.Cipher(
263 decryptor = ciphers.Cipher(
282 c = ciphers.Cipher(AES(key), modes.ECB(), backend)
293 c = ciphers.Cipher(AES(key), modes.ECB(), backend)
307 c = ciphers.Cipher(AES(key), modes.GCM(b"\x00" * 12), backend)