Searched refs:enctype (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-10.1-release/crypto/heimdal/admin/
H A Dremove.c45 krb5_enctype enctype = 0; local
55 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype);
59 enctype = t;
68 if (!principal && !enctype && !opt->kvno_integer) {
71 "principal, enctype or kvno.");
82 entry.keyblock.keytype = enctype;
H A Dadd.c55 krb5_enctype enctype; local
78 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype);
82 enctype = t;
122 ret = krb5_keyblock_init(context, enctype,
134 ret = krb5_string_to_key_data_salt(context, enctype, pw, salt,
137 ret = krb5_string_to_key(context, enctype, opt->password_string,
142 ret = krb5_generate_random_keyblock(context, enctype, &entry.keyblock);
/freebsd-10.1-release/crypto/openssl/ssl/
H A Dkssl_lcl.h79 const EVP_CIPHER *kssl_map_enc(krb5_enctype enctype);
H A Dkssl.h148 krb5_enctype enctype; member in struct:kssl_ctx_st
187 unsigned char *kssl_skip_confound(krb5_enctype enctype, unsigned char *authn);
H A Dkssl.c283 krb5_enctype enctype,
733 krb5_enctype enctype, krb5_keytab_entry *entry)
737 (context, keytab, principal, vno, enctype, entry));
771 * Given KRB5 enctype (basically DES or 3DES), return closest match openssl
776 const EVP_CIPHER *kssl_map_enc(krb5_enctype enctype) argument
778 switch (enctype) {
998 fprintf(stderr, "%s\n\t[et%d:%d]: ", label, keyblk->enctype,
1116 kssl_ctx->enctype = krb5credsp->session.keytype;
1118 kssl_ctx->enctype = krb5credsp->keyblock.enctype;
731 kssl_krb5_kt_get_entry(krb5_context context, krb5_keytab keytab, krb5_const_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keytab_entry *entry) argument
1672 krb5_enctype enctype; local
2020 krb5_enctype enctype; local
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/krb5/
H A Dsalt-aes.c40 krb5_enctype enctype,
60 et = _krb5_find_enctype(enctype);
70 kd.key->keytype = enctype;
39 AES_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
H A Dsalt.c135 krb5_enctype enctype,
146 ret = krb5_string_to_key_data_salt(context, enctype, password, salt, key);
153 krb5_enctype enctype,
161 return krb5_string_to_key_data(context, enctype, pw, principal, key);
166 krb5_enctype enctype,
173 return krb5_string_to_key_data_salt_opaque(context, enctype, password,
178 * Do a string -> key for encryption type `enctype' operation on
179 * `password' (with salt `salt' and the enctype specific data string
185 krb5_enctype enctype,
191 struct _krb5_encryption_type *et =_krb5_find_enctype(enctype);
134 krb5_string_to_key_data(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_principal principal, krb5_keyblock *key) argument
152 krb5_string_to_key(krb5_context context, krb5_enctype enctype, const char *password, krb5_principal principal, krb5_keyblock *key) argument
165 krb5_string_to_key_data_salt(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_keyblock *key) argument
184 krb5_string_to_key_data_salt_opaque(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
216 krb5_string_to_key_salt(krb5_context context, krb5_enctype enctype, const char *password, krb5_salt salt, krb5_keyblock *key) argument
229 krb5_string_to_key_salt_opaque(krb5_context context, krb5_enctype enctype, const char *password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
[all...]
H A Dbuild_ap_req.c38 krb5_enctype enctype,
63 ap.authenticator.etype = enctype;
37 krb5_build_ap_req(krb5_context context, krb5_enctype enctype, krb5_creds *cred, krb5_flags ap_options, krb5_data authenticator, krb5_data *retdata) argument
H A Dcrypto-pk.c136 krb5_enctype enctype,
152 pubinfo.enctype = enctype;
204 krb5_enctype enctype,
241 et = _krb5_find_enctype(enctype);
245 enctype);
257 enctype, as_req, pk_as_rep, ticket, &other);
296 ret = krb5_random_to_key(context, enctype, keydata, keylen, key);
132 encode_otherinfo(krb5_context context, const AlgorithmIdentifier *ai, krb5_const_principal client, krb5_const_principal server, krb5_enctype enctype, const krb5_data *as_req, const krb5_data *pk_as_rep, const Ticket *ticket, krb5_data *other) argument
198 _krb5_pk_kdf(krb5_context context, const struct AlgorithmIdentifier *ai, const void *dhdata, size_t dhsize, krb5_const_principal client, krb5_const_principal server, krb5_enctype enctype, const krb5_data *as_req, const krb5_data *pk_as_rep, const Ticket *ticket, krb5_keyblock *key) argument
H A Dsalt-arcfour.c38 krb5_enctype enctype,
89 key->keytype = enctype;
37 ARCFOUR_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
H A Dsalt-des3.c39 krb5_enctype enctype,
93 key->keytype = enctype;
104 krb5_enctype enctype,
124 enctype,
38 DES3_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
103 DES3_string_to_key_derived(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
H A Dkeytab.c328 * Read the key identified by `(principal, vno, enctype)' from the
335 * @param enctype
348 krb5_enctype enctype,
363 ret = krb5_kt_get_entry (context, keytab, principal, vno, enctype, &entry);
526 * Compare `entry' against `principal, vno, enctype'.
527 * Any of `principal, vno, enctype' might be 0 which acts as a wildcard.
534 * @param enctype encryption type to match, 0 matches all encryption types.
546 krb5_enctype enctype)
554 if(enctype && enctype !
344 krb5_kt_read_service_key(krb5_context context, krb5_pointer keyprocarg, krb5_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keyblock **key) argument
542 krb5_kt_compare(krb5_context context, krb5_keytab_entry *entry, krb5_const_principal principal, krb5_kvno vno, krb5_enctype enctype) argument
560 _krb5_kt_principal_not_found(krb5_context context, krb5_error_code ret, krb5_keytab id, krb5_const_principal principal, krb5_enctype enctype, int kvno) argument
609 krb5_kt_get_entry(krb5_context context, krb5_keytab id, krb5_const_principal principal, krb5_kvno kvno, krb5_enctype enctype, krb5_keytab_entry *entry) argument
[all...]
H A Dmit_glue.c183 krb5_enctype enctype,
190 ret = krb5_generate_random_keyblock(context, enctype, &key);
215 ret = krb5_crypto_init(context, &key, input->enctype, &crypto);
279 krb5_crypto_getenctype(context, crypto, &output->enctype);
288 krb5_enctype enctype,
296 ret = krb5_generate_random_keyblock(context, enctype, &key);
330 krb5_enctype enctype,
333 return krb5_generate_random_keyblock(context, enctype, random_key);
338 krb5_enctype enctype,
344 ret = krb5_enctype_keybits(context, enctype, ile
182 krb5_c_block_size(krb5_context context, krb5_enctype enctype, size_t *blocksize) argument
287 krb5_c_encrypt_length(krb5_context context, krb5_enctype enctype, size_t inputlen, size_t *length) argument
329 krb5_c_make_random_key(krb5_context context, krb5_enctype enctype, krb5_keyblock *random_key) argument
337 krb5_c_keylengths(krb5_context context, krb5_enctype enctype, size_t *ilen, size_t *keylen) argument
[all...]
H A Dsalt-des.c119 krb5_enctype enctype,
130 key->keytype = enctype;
172 krb5_enctype enctype,
187 return DES_AFS3_string_to_key(context, enctype, password,
201 key->keytype = enctype;
118 DES_AFS3_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
171 krb5_DES_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
H A Dbuild_auth.c107 krb5_enctype enctype,
179 ret = krb5_crypto_init(context, &cred->session, enctype, &crypto);
105 _krb5_build_authenticator(krb5_context context, krb5_auth_context auth_context, krb5_enctype enctype, krb5_creds *cred, Checksum *cksum, krb5_data *result, krb5_key_usage usage) argument
/freebsd-10.1-release/crypto/heimdal/kuser/
H A Dkdecode_ticket.c44 krb5_enctype enctype)
58 ret = krb5_string_to_key (context, enctype, "foo", server, &key);
80 { "enctype", 'e', arg_string, &etype_str,
81 "encryption type to use", "enctype"},
135 krb5_enctype enctype; local
137 ret = krb5_string_to_enctype(context, etype_str, &enctype);
139 krb5_errx (context, 1, "unrecognized enctype: %s", etype_str);
140 in.session.keytype = enctype;
41 print_and_decode_tkt(krb5_context context, krb5_data *ticket, krb5_principal server, krb5_enctype enctype) argument
H A Dcopy_cred_cache.c100 krb5_enctype enctype; local
101 ret = krb5_string_to_enctype(kcc_context, opt->enctype_string, &enctype);
105 ctx.mcreds.session.keytype = enctype;
/freebsd-10.1-release/crypto/heimdal/kdc/
H A Dkstash.c49 { "enctype", 'e', arg_string, rk_UNCONST(&enctype_str), "encryption type",
70 krb5_enctype enctype; local
90 ret = krb5_string_to_enctype(context, enctype_str, &enctype);
109 ret = krb5_generate_random_keyblock(context, enctype, &key);
126 krb5_string_to_key_salt(context, enctype, buf, salt, &key);
H A Dmisc.c134 krb5_enctype *enctype,
149 if (enctype != NULL)
150 *enctype = p[i];
164 if (enctype != NULL)
165 *enctype = (*key)->key.keytype;
130 _kdc_get_preferred_key(krb5_context context, krb5_kdc_configuration *config, hdb_entry_ex *h, const char *name, krb5_enctype *enctype, Key **key) argument
H A Dstring2key.c72 krb5_enctype enctype,
82 ret = krb5_string_to_key_salt(context, enctype, pw, salt, &key);
85 ret = krb5_enctype_to_string(context, enctype, &e);
71 tokey(krb5_context context, krb5_enctype enctype, const char *pw, krb5_salt salt, const char *label) argument
/freebsd-10.1-release/crypto/heimdal/kadmin/
H A Dstash.c46 krb5_enctype enctype; local
54 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype);
105 ret = krb5_string_to_key_salt(context, enctype, buf, salt, &key);
/freebsd-10.1-release/crypto/heimdal/lib/gssapi/
H A Dtest_acquire_cred.c177 static int enctype = 0; variable
188 {"enctype", 0, arg_integer, &enctype, "enctype-num", NULL },
189 {"loops", 0, arg_integer, &num_loops, "enctype-num", NULL },
190 {"kerberos", 0, arg_flag, &kerberos_flag, "enctype-num", NULL },
294 if (enctype) {
295 int32_t enctypelist = enctype;
/freebsd-10.1-release/sys/kgssapi/
H A Dgsstest.c224 char enctype[sizeof(uint32_t)]; local
253 enctype[0] = (ETYPE_DES_CBC_CRC >> 24) & 0xff;
254 enctype[1] = (ETYPE_DES_CBC_CRC >> 16) & 0xff;
255 enctype[2] = (ETYPE_DES_CBC_CRC >> 8) & 0xff;
256 enctype[3] = ETYPE_DES_CBC_CRC & 0xff;
257 message_buf.length = sizeof(enctype);
258 message_buf.value = enctype;
424 char enctype[sizeof(uint32_t)]; local
457 enctype[0] = (ETYPE_DES_CBC_CRC >> 24) & 0xff;
458 enctype[
[all...]
/freebsd-10.1-release/sys/cam/scsi/
H A Dscsi_enc_safte.c307 enc->enc_cache.elm_map[r++].enctype = ELMTYP_FAN;
310 enc->enc_cache.elm_map[r++].enctype = ELMTYP_POWER;
312 enc->enc_cache.elm_map[r++].enctype = ELMTYP_DOORLOCK;
314 enc->enc_cache.elm_map[r++].enctype = ELMTYP_ALARM;
316 enc->enc_cache.elm_map[r++].enctype = ELMTYP_THERM;
318 enc->enc_cache.elm_map[r++].enctype = ELMTYP_THERM;
321 enc->enc_cache.elm_map[r++].enctype =
511 if (cache->elm_map[cfg->slotoff + i].enctype == ELMTYP_DEVICE)
684 if (cache->elm_map[oid].enctype == ELMTYP_ARRAY_DEV)
711 if (cache->elm_map[oid].enctype
[all...]
/freebsd-10.1-release/contrib/tcpdump/
H A Dprint-telnet.c91 static const char *enctype[] = { variable
190 (void)printf(" %s", STR_OR_ID(c, enctype));

Completed in 195 milliseconds

123