/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...] |
/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/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/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;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
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...] |
/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
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 2139 * ktype (r) enctype to search for, or -1 to ignore 2142 * only if it also matches ktype and stype 2154 * If ktype or stype is -1, it is ignored for the search. If kvno is 2155 * -1, ktype and stype are ignored and the key with the max kvno is 2157 * and only if it matches the ktype and stype; otherwise, ENOENT is 2162 ktype, krb5_int32 stype, krb5_int32 2179 if ((ret = krb5_dbe_find_enctype(handle->context, &dbent, ktype, 2193 keyblock->enctype = ktype; 2160 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/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/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);
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
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/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/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
|