Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/
H A 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()
H A Dcipher-chachapoly.h36 int do_encrypt);
H A Dcipher.c238 int do_encrypt) in cipher_init() argument
252 cc->encrypt = do_encrypt; in cipher_init()
285 (do_encrypt == CIPHER_ENCRYPT)) == 0) { in cipher_init()
/freebsd-12.1/crypto/heimdal/appl/rsh/
H A Drsh.c39 int do_encrypt = -1; variable
263 if(do_encrypt == -1) { in send_krb5_auth()
268 &do_encrypt); in send_krb5_auth()
274 do_encrypt ? "-x " : "", in send_krb5_auth()
285 if(do_encrypt) in send_krb5_auth()
368 if (do_encrypt && net_write (s, "-x ", 3) != 3) { in send_krb5_auth()
801 { "encrypt", 'x', arg_flag, &do_encrypt, "Encrypt connection" },
802 { NULL, 'z', arg_negative_flag, &do_encrypt,
923 if (do_encrypt == 1 && use_only_broken) in main()
H A Drshd.c60 int do_encrypt = 0; variable
369 do_encrypt = 1; in recv_krb5_auth()
372 if(do_encrypt) in recv_krb5_auth()
374 do_encrypt = 0; in recv_krb5_auth()
807 if (do_encrypt) { in doit()
850 { "encrypt", 'x', arg_flag, &do_encrypt,
905 if (do_encrypt) in main()
935 if (do_encrypt) { in main()
H A Dcommon.c76 if (do_encrypt) { in do_read()
133 if (do_encrypt) { in do_write()
H A Drsh_locl.h136 extern int do_encrypt;
H A DChangeLog477 * appl/rsh/rshd.c (recv_krb5_auth): disable `do_encrypt' if not
/freebsd-12.1/sys/crypto/aesni/
H A Daesni_wrap.c309 const uint8_t *from, uint8_t *to, int do_encrypt) in aesni_crypt_xts_block() argument
315 if (do_encrypt) in aesni_crypt_xts_block()
327 const uint8_t *from, uint8_t *to, int do_encrypt) in aesni_crypt_xts_block8() argument
360 if (do_encrypt) in aesni_crypt_xts_block8()
381 uint8_t *to, const uint8_t iv[static AES_BLOCK_LEN], int do_encrypt) in aesni_crypt_xts() argument
404 from, to, do_encrypt); in aesni_crypt_xts()
412 from, to, do_encrypt); in aesni_crypt_xts()
/freebsd-12.1/sys/opencrypto/
H A Dxform_aes_xts.c98 aes_xts_crypt(struct aes_xts_ctx *ctx, u_int8_t *data, u_int do_encrypt) in aes_xts_crypt() argument
106 if (do_encrypt) in aes_xts_crypt()
/freebsd-12.1/crypto/openssl/crypto/aria/
H A Daria.c1089 static void do_encrypt(unsigned char *o, const unsigned char *pin, in do_encrypt() function
1113 do_encrypt(out, in, key->rounds, key->rd_key); in aria_encrypt()
/freebsd-12.1/crypto/openssl/doc/man3/
H A DEVP_EncryptInit.pod570 int do_crypt(FILE *in, FILE *out, int do_encrypt)
586 do_encrypt);
591 EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, do_encrypt);