Home
last modified time | relevance | path

Searched refs:do_encrypt (Results 1 – 6 of 6) 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.c71 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
89 if (!do_encrypt) { in chachapoly_crypt()
111 if (do_encrypt) { in chachapoly_crypt()
Dcipher-chachapoly-libcrypto.c87 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
108 if (!do_encrypt) { in chachapoly_crypt()
136 if (do_encrypt) { in chachapoly_crypt()
Dcipher-chachapoly.h35 int do_encrypt);
Dcipher.c252 int do_encrypt) in cipher_init() argument
266 cc->encrypt = do_encrypt; in cipher_init()
300 (do_encrypt == CIPHER_ENCRYPT)) == 0) { in cipher_init()
/external/libwebsockets/plugins/ssh-base/crypto/
Dchacha.c303 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
321 if (!do_encrypt) { in chachapoly_crypt()
342 if (do_encrypt) { in chachapoly_crypt()