Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dcipher-chachapoly.c70 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
88 if (!do_encrypt) { in chachapoly_crypt()
110 if (do_encrypt) { in chachapoly_crypt()
H A Dcipher-chachapoly-libcrypto.c86 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
107 if (!do_encrypt) { in chachapoly_crypt()
135 if (do_encrypt) { in chachapoly_crypt()
H A Dcipher-chachapoly.h35 int do_encrypt);
H A Dcipher.c248 int do_encrypt) in cipher_init() argument
262 cc->encrypt = do_encrypt; in cipher_init()
296 (do_encrypt == CIPHER_ENCRYPT)) == 0) { in cipher_init()
/freebsd/crypto/openssl/test/
H A Daesgcmtest.c38 static int do_encrypt(unsigned char *iv_gen, unsigned char *ct, int *ct_len, in do_encrypt() function
99 return do_encrypt(NULL, ct, &ctlen, tag, &taglen) in kat_test()
126 return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen) in ivgen_test()
/freebsd/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/sys/crypto/aesni/
H A Daesni_wrap.c314 const uint8_t *from, uint8_t *to, int do_encrypt) in aesni_crypt_xts_block() argument
320 if (do_encrypt) in aesni_crypt_xts_block()
332 const uint8_t *from, uint8_t *to, int do_encrypt) in aesni_crypt_xts_block8() argument
365 if (do_encrypt) in aesni_crypt_xts_block8()
386 uint8_t *to, const uint8_t iv[static AES_BLOCK_LEN], int do_encrypt) in aesni_crypt_xts() argument
409 from, to, do_encrypt); in aesni_crypt_xts()
417 from, to, do_encrypt); in aesni_crypt_xts()
/freebsd/sys/opencrypto/
H A Dxform_aes_xts.c108 size_t len, bool do_encrypt) in aes_xts_crypt() argument
118 if (do_encrypt) in aes_xts_crypt()
/freebsd/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c218 uint8x16_t *tweak, const uint8_t *from, uint8_t *to, int do_encrypt) in armv8_aes_crypt_xts_block() argument
224 if (do_encrypt) in armv8_aes_crypt_xts_block()
238 const uint8_t iv[static AES_BLOCK_LEN], int do_encrypt) in armv8_aes_crypt_xts() argument
271 &tweakreg, block, block, do_encrypt); in armv8_aes_crypt_xts()
278 &tweakreg, from, to, do_encrypt); in armv8_aes_crypt_xts()
/freebsd/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 ossl_aria_encrypt()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_EncryptInit.pod1580 int do_crypt(FILE *in, FILE *out, int do_encrypt)
1596 do_encrypt, NULL)) {
1605 if (!EVP_CipherInit_ex2(ctx, NULL, key, iv, do_encrypt, NULL)) {