Searched refs:do_encrypt (Results 1 – 12 of 12) sorted by relevance
/dragonfly/crypto/openssh/ |
H A D | cipher-chachapoly-libcrypto.c | 87 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 D | cipher.c | 248 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 D | cipher-chachapoly.h | 35 int do_encrypt);
|
/dragonfly/sys/dev/crypto/aesni/ |
H A D | aesni_wrap.c | 90 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 D | crypto-dev.c | 95 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 D | generic_xts.c | 52 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 D | tcplay.h | 273 int do_encrypt);
|
/dragonfly/test/testcases/crypto/aesxts/ |
H A D | aes_xts.c | 42 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 D | xform.c | 656 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 D | aestest.c | 48 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 D | serpent_test.c | 47 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 D | twofish_test.c | 47 unsigned char *out, size_t len, int do_encrypt) in syscrypt() argument 79 cryp.op = do_encrypt ? COP_ENCRYPT : COP_DECRYPT; in syscrypt()
|