Searched refs:do_encrypt (Results 1 - 11 of 11) sorted by relevance

/freebsd-10.1-release/crypto/openssh/
H A Dcipher-chachapoly.c50 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt)
70 if (!do_encrypt) {
86 if (do_encrypt) {
49 chachapoly_crypt(struct chachapoly_ctx *ctx, u_int seqnr, u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) argument
H A Dcipher-chachapoly.h36 int do_encrypt);
H A Dcipher.c271 int do_encrypt)
292 cc->encrypt = do_encrypt;
315 (do_encrypt == CIPHER_ENCRYPT));
318 (do_encrypt == CIPHER_ENCRYPT)) == 0)
441 const char *passphrase, int do_encrypt)
449 cipher_init(cc, cipher, digest, 16, NULL, 0, do_encrypt);
269 cipher_init(CipherContext *cc, const Cipher *cipher, const u_char *key, u_int keylen, const u_char *iv, u_int ivlen, int do_encrypt) argument
440 cipher_set_key_string(CipherContext *cc, const Cipher *cipher, const char *passphrase, int do_encrypt) argument
H A Drijndael.c1221 rijndael_set_key(rijndael_ctx *ctx, u_char *key, int bits, int do_encrypt) argument
1224 if (do_encrypt) {
/freebsd-10.1-release/crypto/openssl/crypto/des/
H A Ddes.c114 int do_encrypt, longk = 0; variable
241 do_encrypt = DES_ENCRYPT;
243 do_encrypt = DES_DECRYPT;
482 &ks, do_encrypt);
487 &ks, &ks2, do_encrypt);
494 (long)l, ks, ks2, &iv, &iv2, do_encrypt);
498 DES_cbc_encrypt(buf, obuf, (long)l, &ks, &iv, do_encrypt);
547 &ks, do_encrypt);
552 &ks, &ks2, do_encrypt);
555 (long)l, ks, ks2, &iv, &iv2, do_encrypt);
[all...]
/freebsd-10.1-release/sys/crypto/aesni/
H A Daesni_wrap.c203 const uint8_t *from, uint8_t *to, int do_encrypt)
209 if (do_encrypt)
221 const uint8_t *from, uint8_t *to, int do_encrypt)
254 if (do_encrypt)
275 uint8_t *to, const uint8_t iv[AES_BLOCK_LEN], int do_encrypt)
298 from, to, do_encrypt);
306 from, to, do_encrypt);
202 aesni_crypt_xts_block(int rounds, const __m128i *key_schedule, __m128i *tweak, const uint8_t *from, uint8_t *to, int do_encrypt) argument
220 aesni_crypt_xts_block8(int rounds, const __m128i *key_schedule, __m128i *tweak, const uint8_t *from, uint8_t *to, int do_encrypt) argument
273 aesni_crypt_xts(int rounds, const __m128i *data_schedule, const __m128i *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN], int do_encrypt) argument
/freebsd-10.1-release/crypto/heimdal/appl/rsh/
H A Dcommon.c76 if (do_encrypt) {
133 if (do_encrypt) {
H A Drsh_locl.h136 extern int do_encrypt;
H A Drsh.c39 int do_encrypt = -1; variable
263 if(do_encrypt == -1) {
268 &do_encrypt);
274 do_encrypt ? "-x " : "",
285 if(do_encrypt)
368 if (do_encrypt && net_write (s, "-x ", 3) != 3) {
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)
H A Drshd.c60 int do_encrypt = 0; variable
369 do_encrypt = 1;
372 if(do_encrypt)
374 do_encrypt = 0;
807 if (do_encrypt) {
850 { "encrypt", 'x', arg_flag, &do_encrypt,
905 if (do_encrypt)
935 if (do_encrypt) {
/freebsd-10.1-release/sys/opencrypto/
H A Dxform.c615 aes_xts_crypt(struct aes_xts_ctx *ctx, u_int8_t *data, u_int do_encrypt) argument
623 if (do_encrypt)

Completed in 101 milliseconds