Home
last modified time | relevance | path

Searched refs:ciphername (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/crypto/openssl/test/recipes/
H A D20-test_enc_more.t55 my $ciphername = substr $cipher, 1;
56 my $cipherfile = "$plaintext.$ciphername.cipher";
57 my $clearfile = "$plaintext.$ciphername.clear";
64 , $ciphername);
/freebsd/crypto/openssl/providers/common/
H A Dprovider_util.c226 const char *ciphername, in ossl_prov_set_macctx() argument
245 if (ciphername == NULL) { in ossl_prov_set_macctx()
250 ciphername = p->data; in ossl_prov_set_macctx()
266 if (ciphername != NULL) in ossl_prov_set_macctx()
268 (char *)ciphername, 0); in ossl_prov_set_macctx()
293 const char *ciphername, in ossl_prov_macctx_load_from_params() argument
332 if (ossl_prov_set_macctx(*macctx, params, ciphername, mdname, NULL, in ossl_prov_macctx_load_from_params()
/freebsd/crypto/openssl/apps/
H A Dgendsa.c60 char *dsaparams = NULL, *ciphername = NULL; in gendsa_main() local
95 ciphername = opt_unknown(); in gendsa_main()
113 if (ciphername != NULL) { in gendsa_main()
114 if (!opt_cipher(ciphername, &enc)) in gendsa_main()
H A Dgenrsa.c89 char *prog, *hexe, *dece, *ciphername = NULL; in genrsa_main() local
134 ciphername = opt_unknown(); in genrsa_main()
169 if (ciphername != NULL) { in genrsa_main()
170 if (!opt_cipher(ciphername, &enc)) in genrsa_main()
H A Dec.c73 char *infile = NULL, *outfile = NULL, *ciphername = NULL, *prog; in ec_main() local
134 ciphername = opt_unknown(); in ec_main()
164 if (ciphername != NULL) { in ec_main()
165 if (!opt_cipher(ciphername, &enc)) in ec_main()
H A Ddsa.c90 const char *output_type = NULL, *ciphername = NULL; in dsa_main() local
154 ciphername = opt_unknown(); in dsa_main()
168 if (ciphername != NULL) { in dsa_main()
169 if (!opt_cipher(ciphername, &enc)) in dsa_main()
H A Dpkey.c76 char *passinarg = NULL, *passoutarg = NULL, *ciphername = NULL, *prog; in pkey_main() local
146 ciphername = opt_unknown(); in pkey_main()
193 if (ciphername != NULL) { in pkey_main()
194 if (!opt_cipher(ciphername, &cipher)) in pkey_main()
H A Dgenpkey.c69 const char *ciphername = NULL, *paramfile = NULL, *algname = NULL; in genpkey_main() local
127 ciphername = opt_unknown(); in genpkey_main()
166 if (ciphername != NULL) in genpkey_main()
167 if (!opt_cipher(ciphername, &cipher) || do_param == 1) in genpkey_main()
H A Drsa.c129 char *infile = NULL, *outfile = NULL, *ciphername = NULL, *prog; in rsa_main() local
207 ciphername = opt_unknown(); in rsa_main()
224 if (ciphername != NULL) { in rsa_main()
225 if (!opt_cipher(ciphername, &enc)) in rsa_main()
H A Dpkcs8.c78 char *infile = NULL, *outfile = NULL, *ciphername = NULL; in pkcs8_main() local
139 ciphername = opt_arg(); in pkcs8_main()
204 if (ciphername != NULL) { in pkcs8_main()
205 if (!opt_cipher(ciphername, &cipher)) in pkcs8_main()
H A Denc.c127 const char *ciphername = NULL; in enc_main() local
153 ciphername = argv[0]; in enc_main()
275 ciphername = opt_unknown(); in enc_main()
308 if (ciphername != NULL) { in enc_main()
309 if (!opt_cipher(ciphername, &cipher)) in enc_main()
H A Dsmime.c149 char *subject = NULL, *digestname = NULL, *ciphername = NULL; in smime_main() local
300 ciphername = opt_unknown(); in smime_main()
369 if (ciphername != NULL) { in smime_main()
370 if (!opt_cipher_any(ciphername, &cipher)) in smime_main()
H A Dpkcs12.c158 char *untrusted = NULL, *ciphername = NULL, *enc_flag = NULL; in pkcs12_main() local
246 ciphername = NULL; in pkcs12_main()
249 ciphername = opt_unknown(); in pkcs12_main()
366 if (ciphername != NULL) { in pkcs12_main()
367 if (!opt_cipher_any(ciphername, &enc)) in pkcs12_main()
H A Dcms.c298 char *originatorfile = NULL, *recipfile = NULL, *ciphername = NULL; in cms_main() local
631 ciphername = opt_unknown(); in cms_main()
701 if (ciphername != NULL) { in cms_main()
702 if (!opt_cipher_any(ciphername, &cipher)) in cms_main()
H A Dspeed.c676 static EVP_CIPHER_CTX *init_evp_cipher_ctx(const char *ciphername, in init_evp_cipher_ctx() argument
683 if (!opt_cipher_silent(ciphername, &cipher)) in init_evp_cipher_ctx()
/freebsd/crypto/openssl/providers/common/include/prov/
H A Dprovider_util.h97 const char *ciphername,
124 const char *ciphername,
/freebsd/crypto/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c102 const char *ciphername = NULL, *engine = NULL; in mac_digest_sign_init() local
121 ciphername = (char *)EVP_CIPHER_get0_name(pmacctx->key->cipher.cipher); in mac_digest_sign_init()
128 (char *)ciphername, in mac_digest_sign_init()
/freebsd/crypto/openssl/engines/
H A De_afalg.c78 const char *ciphername);
419 const char *ciphername) in afalg_create_sk() argument
429 OPENSSL_strlcpy((char *) sa.salg_name, ciphername, sizeof(sa.salg_name)); in afalg_create_sk()
558 const char *ciphername; in afalg_cipher_init() local
581 ciphername = "cbc(aes)"; in afalg_cipher_init()
596 ret = afalg_create_sk(actx, "skcipher", ciphername); in afalg_cipher_init()
/freebsd/crypto/openssh/
H A DPROTOCOL.key11 string ciphername
H A Dsshkey.c2749 const char *passphrase, const char *comment, const char *ciphername, in sshkey_private_to_blob2() argument
2765 ciphername = "none"; in sshkey_private_to_blob2()
2767 } else if (ciphername == NULL) in sshkey_private_to_blob2()
2768 ciphername = DEFAULT_CIPHERNAME; in sshkey_private_to_blob2()
2769 if ((cipher = cipher_by_name(ciphername)) == NULL) { in sshkey_private_to_blob2()
2808 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 || in sshkey_private_to_blob2()
2952 char *ciphername = NULL, *kdfname = NULL; in private2_decrypt() local
2975 (r = sshbuf_get_cstring(decoded, &ciphername, NULL)) != 0 || in private2_decrypt()
2991 if ((cipher = cipher_by_name(ciphername)) == NULL) { in private2_decrypt()
2999 if (strcmp(kdfname, "none") == 0 && strcmp(ciphername, "none") != 0) { in private2_decrypt()
[all …]
H A Dsshkey-xmss.c268 sshkey_xmss_init_enc_key(struct sshkey *k, const char *ciphername) in sshkey_xmss_init_enc_key() argument
276 if ((cipher = cipher_by_name(ciphername)) == NULL) in sshkey_xmss_init_enc_key()
278 if ((state->enc_ciphername = strdup(ciphername)) == NULL) in sshkey_xmss_init_enc_key()
/freebsd/contrib/ntp/util/
H A Dntp-keygen.c326 const char *ciphername = NULL; /* to encrypt priv. key */ in main() local
430 ciphername = OPT_ARG( CIPHER ); in main()
572 if (ciphername == NULL) in main()
573 ciphername = "des-ede3-cbc"; in main()
574 cipher = EVP_get_cipherbyname(ciphername); in main()
576 fprintf(stderr, "Unknown cipher %s\n", ciphername); in main()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c989 const char *ciphername = NULL; in key2any_set_ctx_params() local
992 if (!OSSL_PARAM_get_utf8_string_ptr(cipherp, &ciphername)) in key2any_set_ctx_params()
999 ctx->cipher_intent = ciphername != NULL; in key2any_set_ctx_params()
1000 if (ciphername != NULL in key2any_set_ctx_params()
1002 EVP_CIPHER_fetch(libctx, ciphername, props)) == NULL)) in key2any_set_ctx_params()
/freebsd/sys/net/
H A Dif_ovpn.c718 const char *ciphername; in ovpn_create_kkey_dir() local
726 ciphername = nvlist_get_string(nvl, "cipher"); in ovpn_create_kkey_dir()
728 if (strcmp(ciphername, "none") == 0) in ovpn_create_kkey_dir()
730 else if (strcmp(ciphername, "AES-256-GCM") == 0 || in ovpn_create_kkey_dir()
731 strcmp(ciphername, "AES-192-GCM") == 0 || in ovpn_create_kkey_dir()
732 strcmp(ciphername, "AES-128-GCM") == 0) in ovpn_create_kkey_dir()
734 else if (strcmp(ciphername, "CHACHA20-POLY1305") == 0) in ovpn_create_kkey_dir()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CIPHER_get_name.pod121 =item <ciphername>

12