| /freebsd/crypto/krb5/src/lib/crypto/builtin/des/ |
| H A D | t_verify.c | 66 static void do_encrypt(unsigned char *, unsigned char *); 182 do_encrypt(input,cipher_text); in main() 202 do_encrypt(input,cipher_text); in main() 229 do_encrypt(input,cipher_text); in main() 252 do_encrypt(input,cipher_text); in main() 336 do_encrypt(unsigned char *in, unsigned char *out) in do_encrypt() function
|
| /freebsd/crypto/openssh/ |
| H A D | cipher-chachapoly.c | 70 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 D | cipher-chachapoly-libcrypto.c | 86 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 D | cipher-chachapoly.h | 35 int do_encrypt);
|
| 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()
|
| /freebsd/crypto/krb5/src/lib/gssapi/krb5/ |
| H A D | k5seal.c | 65 int do_encrypt, in make_seal_token_v1() argument 87 assert((!do_encrypt) || (toktype == KG_TOK_SEAL_MSG)); in make_seal_token_v1() 90 if (do_encrypt || toktype == KG_TOK_SEAL_MSG) in make_seal_token_v1() 131 if ((toktype == KG_TOK_SEAL_MSG) && do_encrypt) { in make_seal_token_v1() 233 if (do_encrypt) { in make_seal_token_v1()
|
| /freebsd/crypto/openssl/test/ |
| H A D | aesgcmtest.c | 38 static int do_encrypt(unsigned char *iv_gen, unsigned char *ct, int *ct_len, in do_encrypt() function 108 return do_encrypt(NULL, ct, &ctlen, tag, &taglen) in kat_test() 135 return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen) in ivgen_test()
|
| /freebsd/crypto/heimdal/appl/rsh/ |
| H A D | rsh.c | 39 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 D | rshd.c | 60 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 D | common.c | 76 if (do_encrypt) { in do_read() 133 if (do_encrypt) { in do_write()
|
| H A D | rsh_locl.h | 136 extern int do_encrypt;
|
| H A D | ChangeLog | 477 * appl/rsh/rshd.c (recv_krb5_auth): disable `do_encrypt' if not
|
| /freebsd/sys/crypto/aesni/ |
| H A D | aesni_wrap.c | 314 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 D | xform_aes_xts.c | 108 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 D | armv8_crypto_wrap.c | 218 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/demos/encrypt/ |
| H A D | rsa_encrypt.c | 95 static int do_encrypt(OSSL_LIB_CTX *libctx, in do_encrypt() function 220 if (!do_encrypt(libctx, msg, msg_len, &encrypted, &encrypted_len)) { in main()
|
| /freebsd/crypto/openssl/crypto/aria/ |
| H A D | aria.c | 996 static void do_encrypt(unsigned char *o, const unsigned char *pin, in do_encrypt() function 1020 do_encrypt(out, in, key->rounds, key->rd_key); in ossl_aria_encrypt()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | EVP_EncryptInit.pod | 1790 int do_crypt(FILE *in, FILE *out, int do_encrypt) 1806 do_encrypt, NULL)) { 1815 if (!EVP_CipherInit_ex2(ctx, NULL, key, iv, do_encrypt, NULL)) {
|