Home
last modified time | relevance | path

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

/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);