Home
last modified time | relevance | path

Searched refs:do_encrypt (Results 1 – 4 of 4) sorted by relevance

/external/scapy/scapy/contrib/
Dmacsec.py58 self.do_encrypt = encrypt
83 return self.do_encrypt
87 return self.do_encrypt or self.icvlen != DEFAULT_ICV_LEN
137 if assoclen is None or not self.do_encrypt:
138 if self.do_encrypt:
163 if assoclen is None or not self.do_encrypt:
164 if self.do_encrypt:
/external/openssh/
Dcipher-chachapoly.c53 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
71 if (!do_encrypt) { in chachapoly_crypt()
93 if (do_encrypt) { in chachapoly_crypt()
Dcipher.c327 int do_encrypt) in cipher_init() argument
347 cc->encrypt = do_encrypt; in cipher_init()
380 (do_encrypt == CIPHER_ENCRYPT)) == 0) { in cipher_init()
548 const struct sshcipher *cipher, const char *passphrase, int do_encrypt) in cipher_set_key_string() argument
558 r = cipher_init(ccp, cipher, digest, 16, NULL, 0, do_encrypt); in cipher_set_key_string()
Dcipher-chachapoly.h36 int do_encrypt);