Home
last modified time | relevance | path

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

/dragonfly/crypto/openssh/
H A Dcipher-chachapoly-libcrypto.c87 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
108 if (!do_encrypt) { in chachapoly_crypt()
136 if (do_encrypt) { in chachapoly_crypt()
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()
H A Dcipher-chachapoly.h35 int do_encrypt);
/dragonfly/sys/dev/crypto/aesni/
H A Daesni_wrap.c90 const uint8_t *from, uint8_t *to, int do_encrypt) in aesni_crypt_xts_block() argument
98 if (do_encrypt) in aesni_crypt_xts_block()
121 const uint8_t iv[AES_BLOCK_LEN], int do_encrypt) in aesni_crypt_xts() argument
143 do_encrypt); in aesni_crypt_xts()
/dragonfly/lib/libtcplay/
H A Dcrypto-dev.c95 unsigned char *in, unsigned char *out, size_t len, int do_encrypt) in syscrypt() argument
127 cryp.op = do_encrypt ? COP_ENCRYPT : COP_DECRYPT; in syscrypt()
H A Dgeneric_xts.c52 xts_crypt(struct xts_ctx *ctx, u_int8_t *data, u_int do_encrypt) in xts_crypt() argument
61 if (do_encrypt) in xts_crypt()
H A Dtcplay.h273 int do_encrypt);
/dragonfly/test/testcases/crypto/aesxts/
H A Daes_xts.c42 const unsigned char *in, unsigned char *out, size_t len, int do_encrypt) in syscrypt() argument
66 cryp.op = do_encrypt ? COP_ENCRYPT : COP_DECRYPT; in syscrypt()
/dragonfly/sys/opencrypto/
H A Dxform.c656 u_int do_encrypt) in aes_xts_crypt() argument
664 if (do_encrypt) in aes_xts_crypt()
873 u_int do_encrypt) in twofish_xts_crypt() argument
881 if (do_encrypt) in twofish_xts_crypt()
953 u_int do_encrypt) in serpent_xts_crypt() argument
961 if (do_encrypt) in serpent_xts_crypt()
/dragonfly/test/testcases/crypto/aes/
H A Daestest.c48 unsigned char *out, size_t len, int do_encrypt) in syscrypt() argument
80 cryp.op = do_encrypt ? COP_ENCRYPT : COP_DECRYPT; in syscrypt()
/dragonfly/test/testcases/crypto/serpent/
H A Dserpent_test.c47 unsigned char *out, size_t len, int do_encrypt) in syscrypt() argument
79 cryp.op = do_encrypt ? COP_ENCRYPT : COP_DECRYPT; in syscrypt()
/dragonfly/test/testcases/crypto/twofish/
H A Dtwofish_test.c47 unsigned char *out, size_t len, int do_encrypt) in syscrypt() argument
79 cryp.op = do_encrypt ? COP_ENCRYPT : COP_DECRYPT; in syscrypt()