Lines Matching refs:encrypt
690 * encrypt or decrypt.
692 static void enc_xfer(int sock_fr, int sock_to, int encrypt) {
736 encrypt = (!encrypt);
738 encstr = encrypt ? "encrypt" : "decrypt"; /* string for messages */
739 encsym = encrypt ? "+" : "-";
742 if (encrypt) {
756 } else if (encrypt) {
847 encrypt);
851 (unsigned char *) keydata, NULL, encrypt);
862 encrypt);
928 * XXX N.B.: DSM plugin implementation had encrypt=1
932 EVP_CipherInit_ex(ctx, Cipher, NULL, keystr, ivec, encrypt);
951 if (encrypt && msrc4_sc) {
984 if (first && encrypt) {
1418 /* encrypt the session key with the server's public rsa key: */