/titanic_44/usr/src/cmd/cmd-crypto/pktool/ |
H A D | list.c | 122 if (key->keyclass == KMF_ASYM_PUB) { in describeKey() 130 if (key->keyclass == KMF_ASYM_PRI) { in describeKey() 138 if (key->keyclass == KMF_SYMMETRIC) { in describeKey() 169 if (keys[i].keyclass == KMF_SYMMETRIC) { in pk_show_keys() 314 KMF_KEY_CLASS keyclass; in list_pk11_objects() local 368 keyclass = KMF_ASYM_PRI; in list_pk11_objects() 370 KMF_KEYCLASS_ATTR, &keyclass, in list_pk11_objects() 371 sizeof (keyclass)); in list_pk11_objects() 390 keyclass = KMF_SYMMETRIC; in list_pk11_objects() 392 KMF_KEYCLASS_ATTR, &keyclass, in list_pk11_objects() [all …]
|
H A D | delete.c | 234 KMF_KEY_CLASS keyclass; in delete_nss_keys() local 265 keyclass = KMF_ASYM_PRI; in delete_nss_keys() 267 &keyclass, sizeof (keyclass)); in delete_nss_keys() 280 keyclass = KMF_SYMMETRIC; in delete_nss_keys() 282 &keyclass, sizeof (keyclass)); in delete_nss_keys() 295 keyclass = KMF_ASYM_PUB; in delete_nss_keys() 297 &keyclass, sizeof (keyclass)); in delete_nss_keys() 427 KMF_KEY_CLASS keyclass; in delete_pk11_keys() local 472 keyclass = KMF_ASYM_PRI; in delete_pk11_keys() 474 &keyclass, sizeof (keyclass)); in delete_pk11_keys() [all …]
|
H A D | signcsr.c | 266 KMF_KEY_CLASS keyclass = KMF_ASYM_PRI; in pk_signcsr_files() local 316 &keyclass, sizeof (keyclass)); in pk_signcsr_files() 367 KMF_KEY_CLASS keyclass = KMF_ASYM_PRI; in pk_signcsr_pk11_nss() local 438 &keyclass, sizeof (keyclass)); in pk_signcsr_pk11_nss()
|
H A D | export.c | 523 if (rv == KMF_OK && key.keyclass == KMF_SYMMETRIC) { in pk_export_pk11_keys() 576 &key.keyclass, sizeof (KMF_KEY_CLASS)); in pk_export_pk11_keys()
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | key_mgr.c | 72 CK_ULONG i, keyclass, subclass = 0; in key_mgr_generate_key_pair() local 88 keyclass = *(CK_OBJECT_CLASS *)publ_tmpl[i].pValue; in key_mgr_generate_key_pair() 89 if (keyclass != CKO_PUBLIC_KEY) { in key_mgr_generate_key_pair() 101 keyclass = *(CK_OBJECT_CLASS *)priv_tmpl[i].pValue; in key_mgr_generate_key_pair() 102 if (keyclass != CKO_PRIVATE_KEY) { in key_mgr_generate_key_pair() 362 CK_ULONG keyclass, keytype; in key_mgr_unwrap_key() local 383 keyclass = CKO_SECRET_KEY; in key_mgr_unwrap_key() 391 keyclass = *(CK_OBJECT_CLASS *)attributes[i].pValue; in key_mgr_unwrap_key() 402 if (found_class == FALSE || (found_type == FALSE && keyclass != in key_mgr_unwrap_key() 409 if (keyclass != CKO_SECRET_KEY) { in key_mgr_unwrap_key() [all …]
|
H A D | mech_rsa.c | 61 CK_OBJECT_CLASS keyclass; in ckm_rsa_encrypt() local 68 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_encrypt() 70 if (keyclass != CKO_PUBLIC_KEY) { in ckm_rsa_encrypt() 90 CK_OBJECT_CLASS keyclass; in ckm_rsa_decrypt() local 99 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_decrypt() 103 if (keyclass != CKO_PRIVATE_KEY) { in ckm_rsa_decrypt() 122 CK_OBJECT_CLASS keyclass; in ckm_rsa_sign() local 130 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_sign() 133 if (keyclass != CKO_PRIVATE_KEY) { in ckm_rsa_sign() 152 CK_OBJECT_CLASS keyclass; in ckm_rsa_verify() local [all …]
|
/titanic_44/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 346 KMF_KEY_CLASS keyclass; in elfcertlib_loadprivatekey() local 353 keyclass = KMF_ASYM_PRI; in elfcertlib_loadprivatekey() 366 &keyclass, sizeof (keyclass)); in elfcertlib_loadprivatekey() 406 KMF_KEY_CLASS keyclass; in elfcertlib_loadtokenkey() local 430 keyclass = KMF_ASYM_PRI; in elfcertlib_loadtokenkey() 447 &keyclass, sizeof (keyclass)); in elfcertlib_loadtokenkey()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 975 privkey->keyclass = KMF_ASYM_PRI; in NSS_CreateKeypair() 982 pubkey->keyclass = KMF_ASYM_PUB; in NSS_CreateKeypair() 1154 if (key->keyclass != KMF_ASYM_PUB && in NSS_DeleteKey() 1155 key->keyclass != KMF_ASYM_PRI && in NSS_DeleteKey() 1156 key->keyclass != KMF_SYMMETRIC) in NSS_DeleteKey() 1174 if (key->keyclass == KMF_ASYM_PUB) { in NSS_DeleteKey() 1177 } else if (key->keyclass == KMF_ASYM_PRI) { in NSS_DeleteKey() 1180 } else if (key->keyclass == KMF_SYMMETRIC) { in NSS_DeleteKey() 1191 if (key->keyclass == KMF_ASYM_PUB) { in NSS_DeleteKey() 1193 } else if (key->keyclass == KMF_ASYM_PRI) { in NSS_DeleteKey() [all …]
|
/titanic_44/usr/src/lib/libkmf/libkmf/common/ |
H A D | keyop.c | 138 if (key->keyclass == KMF_ASYM_PUB || in kmf_delete_key_from_keystore() 139 key->keyclass == KMF_ASYM_PRI) { in kmf_delete_key_from_keystore() 142 } else if (key->keyclass == KMF_SYMMETRIC) { in kmf_delete_key_from_keystore()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 1731 privkey->keyclass = KMF_ASYM_PRI; in KMFPK11_CreateKeypair() 1736 pubkey->keyclass = KMF_ASYM_PUB; in KMFPK11_CreateKeypair() 1777 privkey->keyclass = KMF_ASYM_PRI; in KMFPK11_CreateKeypair() 1782 pubkey->keyclass = KMF_ASYM_PUB; in KMFPK11_CreateKeypair() 1828 privkey->keyclass = KMF_ASYM_PRI; in KMFPK11_CreateKeypair() 1833 pubkey->keyclass = KMF_ASYM_PUB; in KMFPK11_CreateKeypair() 1963 if (key->keyclass != KMF_ASYM_PUB && in KMFPK11_DeleteKey() 1964 key->keyclass != KMF_ASYM_PRI && in KMFPK11_DeleteKey() 1965 key->keyclass != KMF_SYMMETRIC) in KMFPK11_DeleteKey() 2143 KMF_KEY_CLASS *keyclass) in getObjectKeyclass() argument [all …]
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 1566 privkey->keyclass = KMF_ASYM_PRI; in OpenSSL_CreateKeypair() 1575 pubkey->keyclass = KMF_ASYM_PUB; in OpenSSL_CreateKeypair() 1613 privkey->keyclass = KMF_ASYM_PRI; in OpenSSL_CreateKeypair() 1662 pubkey->keyclass = KMF_ASYM_PUB; in OpenSSL_CreateKeypair() 1919 if (key->keyclass != KMF_ASYM_PUB && in OpenSSL_DeleteKey() 1920 key->keyclass != KMF_ASYM_PRI && in OpenSSL_DeleteKey() 1921 key->keyclass != KMF_SYMMETRIC) in OpenSSL_DeleteKey() 1924 if (key->keyclass == KMF_SYMMETRIC) { in OpenSSL_DeleteKey() 2240 KMF_KEY_CLASS keyclass = KMF_ASYM_PRI; in OpenSSL_FindPrikeyByCert() local 2261 KMF_KEYCLASS_ATTR, &keyclass, sizeof (keyclass)); in OpenSSL_FindPrikeyByCert() [all …]
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 1255 CK_OBJECT_CLASS keyclass = CKO_SECRET_KEY; in soft_create_hmac_key() local 1267 keytemplate[0].pValue = &keyclass; in soft_create_hmac_key() 1268 keytemplate[0].ulValueLen = sizeof (keyclass); in soft_create_hmac_key()
|
/titanic_44/usr/src/lib/libkmf/include/ |
H A D | kmftypes.h | 226 KMF_KEY_CLASS keyclass; member
|
/titanic_44/usr/src/uts/common/smbsrv/ndl/ |
H A D | winreg.ndl | 215 IN winreg_string_t keyclass;
|