/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | mechkeytype.c | 36 pkcs11_mech2keytype(CK_MECHANISM_TYPE mech_type, CK_KEY_TYPE *ktype) argument 67 *ktype = CKK_RSA; 75 *ktype = CKK_DSA; 80 *ktype = CKK_DH; 89 *ktype = CKK_EC; 97 *ktype = CKK_X9_42_DH; 102 *ktype = CKK_KEA; 168 *ktype = CKK_GENERIC_SECRET; 179 *ktype = CKK_RC2; 186 *ktype [all...] |
H A D | cryptoutil.h | 200 CK_KEY_TYPE *ktype);
|
/illumos-gate/usr/src/cmd/loadkeys/ |
H A D | dumpkeys.c | 76 int ktype; local 84 if (ioctl(kbdfd, KIOCTYPE, &ktype) < 0) { 89 if (ktype == KB_ASCII || ktype < 0)
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_default.c | 52 krb5_dbe_def_search_enctype(kcontext, dbentp, start, ktype, stype, kvno, kdatap) 56 krb5_int32 ktype; 67 if (kvno == -1 && stype == -1 && ktype == -1) 102 if (ktype > 0) { 103 if ((ret = krb5_c_enctype_compare(kcontext, (krb5_enctype) ktype, 110 if (((ktype <= 0) || similar) &&
|
H A D | kdb5.h | 169 krb5_int32 ktype,
|
H A D | kdb5.c | 1473 krb5_int32 ktype, 1478 return krb5_dbe_search_enctype(kcontext, dbentp, &start, ktype, stype, 1486 krb5_int32 ktype, 1509 ktype, 1471 krb5_dbe_find_enctype(krb5_context kcontext, krb5_db_entry * dbentp, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_key_data ** kdatap) argument 1483 krb5_dbe_search_enctype(krb5_context kcontext, krb5_db_entry * dbentp, krb5_int32 * start, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_key_data ** kdatap) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_in_tkt.c | 296 if (is_in_keytype(request->ktype, request->nktypes, 578 request.ktype = 0; 593 request.ktype = malloc (sizeof(get_in_tkt_enctypes)); 594 if (request.ktype == NULL) { 598 memcpy(request.ktype, get_in_tkt_enctypes, sizeof(get_in_tkt_enctypes)); 599 for (request.nktypes = 0;request.ktype[request.nktypes];request.nktypes++); 603 if (ktypes[req] == request.ktype[next]) { 608 if (ktypes[req] == request.ktype[i]) { 614 t = request.ktype[next]; 615 request.ktype[nex [all...] |
H A D | send_tgs.c | 229 tgsreq.ktype = (krb5_enctype *)ktypes; 233 if ((retval = krb5_get_tgs_ktypes(context, sname, &(tgsreq.ktype)))) 235 for(tgsreq.nktypes = 0; tgsreq.ktype[tgsreq.nktypes]; tgsreq.nktypes++); 338 krb5_xfree(tgsreq.ktype);
|
H A D | preauth2.c | 343 grow_ktypes(krb5_enctype **out_ktypes, int *out_nktypes, krb5_enctype ktype) argument 348 if ((*out_ktypes)[i] == ktype) 351 ktypes = malloc((*out_nktypes + 2) * sizeof(ktype)); 355 ktypes[i++] = ktype; 489 grow_ktypes(&request->ktype, &request->nktypes, 643 fprintf (stderr, "; *etype=%d request->ktype[0]=%d\n", 644 *etype, request->ktype[0]); 648 *etype ? *etype : request->ktype[0], 1563 * etype-info (preferring client request ktype order). 1568 if (etype_info[l]->etype == request->ktype[ [all...] |
H A D | preauth.c | 176 enctype = request->ktype[0]; 375 /* enctype = request->ktype[0]; */
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | str_conv.c | 299 krb5_enctype ktype; local 352 if (!(kret = krb5_string_to_enctype(kp, &ktype)) && 355 !krb5_keysalt_is_present(*ksaltp, *nksaltp, ktype, stype))) { 374 (*ksaltp)[(*nksaltp)].ks_enctype = ktype;
|
H A D | admin.h | 520 ktype, krb5_int32 stype, krb5_int32
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | common.c | 536 Str2KeyType(char *algm, KMF_OID *hashoid, KMF_KEY_ALG *ktype, argument 542 *ktype = KMF_RSA; 551 *ktype = KMF_DSA; 566 *ktype = KMF_RSA; 581 *ktype = KMF_ECDSA; 589 Str2SymKeyType(char *algm, KMF_KEY_ALG *ktype) argument 592 *ktype = KMF_AES; 594 *ktype = KMF_AES; 596 *ktype = KMF_RC4; 598 *ktype [all...] |
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 1432 int nktypes, krb5_enctype *ktype) 1437 if (!krb5_c_valid_enctype(ktype[i])) 1440 if (!krb5_is_permitted_enctype(context, ktype[i])) 1443 if (dbentry_supports_enctype(context, server, ktype[i])) 1444 return ktype[i]; 1534 ktypes2str(char *s, size_t len, int nktypes, krb5_enctype *ktype) argument 1548 sprintf(stmp, "%s%ld", i ? " " : "", (long)ktype[i]); 1431 select_session_keytype(krb5_context context, krb5_db_entry *server, int nktypes, krb5_enctype *ktype) argument
|
H A D | kdc_util.h | 114 ktypes2str(char *s, size_t len, int nktypes, krb5_enctype *ktype);
|
H A D | do_as_req.c | 100 request->nktypes, request->ktype); 187 request->ktype)) == 0) { 188 /* unsupported ktype */ 369 useenctype = request->ktype[i];
|
H A D | do_tgs_req.c | 108 request->nktypes, request->ktype); 257 if (request->ktype[i] == etype) { 270 request->ktype)) == 0) { 271 /* unsupported ktype */
|
H A D | kdc_preauth.c | 614 if (krb5_dbe_find_enctype(context, entry, request->ktype[i], 1229 if (request->ktype[i] == enctype) 1491 if (enctype_requires_etype_info_2(request->ktype[i])) 1530 if (enctype_requires_etype_info_2(request->ktype[i])) { 1635 if (enctype_requires_etype_info_2(request->ktype[i]))
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/ |
H A D | kdb.h | 316 krb5_int32 ktype, 325 krb5_int32 ktype, 446 krb5_int32 ktype,
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 912 CK_KEY_TYPE ktype; local 922 rv = pkcs11_mech2keytype(cipher->type, &ktype); 949 rv = pkcs11_PasswdToKey(sess, pass, passlen, salt, saltlen, ktype, 1064 CK_KEY_TYPE ktype; /* from selected cipher or CKK_RSA */ local 1119 ktype = raw_ktype; 1122 ktype = CKK_RSA; 1133 key_tmpl[i].pValue = &ktype; 1134 key_tmpl[i].ulValueLen = sizeof (ktype); 1190 ktype = raw_ktype;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_k_decode.c | 364 #define integer_convert(fname,ktype)\ 365 asn1_error_code fname(asn1buf * buf, ktype * val)\ 371 *val = (ktype)n;\ 374 #define unsigned_integer_convert(fname,ktype)\ 375 asn1_error_code fname(asn1buf * buf, ktype * val)\ 381 *val = (ktype)n;\ 655 get_lenfield(val->nktypes,val->ktype,8,asn1_decode_sequence_of_enctype);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | kfree.c | 380 if (val->ktype) { 381 krb5_xfree(val->ktype); 382 val->ktype = 0;
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_principal.c | 617 ktype, krb5_int32 stype, krb5_int32 615 kadm5_decrypt_key(void *server_handle, kadm5_principal_ent_t entry, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_keyblock *keyblock, krb5_keysalt *keysalt, int *kvnop) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | krb5.h | 678 (krb5_enctype ktype); 689 (krb5_enctype ktype); 1158 krb5_enctype *ktype; /* requested enctype(s) */ member in struct:_krb5_kdc_req
|
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippconf.c | 1768 uchar_t ktype; local 1778 ktype = type & ~IPP_STAT_TAG; 1802 kstat_named_init(np, name, ktype);
|