Home
last modified time | relevance | path

Searched refs:CKA_TOKEN (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaObjectManager.c295 attrs[1].type = CKA_TOKEN; in meta_object_get_attr()
904 template[i].type = CKA_TOKEN; in create_wrap_unwrap_key()
992 free_token_index = set_template_boolean(CKA_TOKEN, in clone_by_create()
996 free_token_index = set_template_boolean(CKA_TOKEN, in clone_by_create()
1007 free_token_index = set_template_boolean(CKA_TOKEN, in clone_by_create()
1366 unwrap_template[3].type = CKA_TOKEN; in clone_by_wrap()
1626 (attributes[i].attribute.type == CKA_TOKEN && in meta_clone_template_setup()
1987 if (set_template_boolean(CKA_TOKEN, tmpl, tmpl_len, B_TRUE, in meta_freetoken_set()
1996 if (set_template_boolean(CKA_TOKEN, tmpl, tmpl_len, B_TRUE, in meta_freetoken_set()
H A DmetaObject.c146 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulCount, in meta_CreateObject()
375 found = get_template_boolean(CKA_TOKEN, in meta_CopyObject()
1120 have_token_attr = get_template_boolean(CKA_TOKEN, pTemplate, ulCount, in meta_FindObjectsInit()
1174 newTemplate[0].type = CKA_TOKEN; in meta_FindObjectsInit()
H A Dpkcs11SUNWExtensions.c353 template[i].type = CKA_TOKEN; in SUNW_C_KeyToObject()
465 template[i].type = CKA_TOKEN; in pkcs11_PasswdToPBKD2Object()
H A DmetaKeys.c211 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulAttributeCount, in meta_UnwrapKey()
H A DmetaUtil.c937 (void) get_template_boolean(CKA_TOKEN, k1Template, k1AttrCount, in meta_generate_keys()
954 (void) get_template_boolean(CKA_TOKEN, k2Template, k2AttrCount, in meta_generate_keys()
1480 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulAttributeCount, in meta_derive_key()
H A DmetaAttrMasters.h81 { { CKA_TOKEN, NULL, sizeof (CK_BBOOL) }, \
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1462 { CKA_TOKEN, &true, sizeof (true)}, in gendsa_keypair()
1478 {CKA_TOKEN, &true, sizeof (true)}, in gendsa_keypair()
1489 SETATTR(ckDsaPriKeyTemplate, 2, CKA_TOKEN, in gendsa_keypair()
1522 SETATTR(rsaPubKeyTemplate, numpubattr, CKA_TOKEN, in genrsa_keypair()
1550 SETATTR(rsaPriKeyTemplate, numpriattr, CKA_TOKEN, in genrsa_keypair()
1607 SETATTR(public_template, numpubattr, CKA_TOKEN, in genecc_keypair()
1624 SETATTR(private_template, numpriattr, CKA_TOKEN, in genecc_keypair()
2230 SETATTR(templ, 1, CKA_TOKEN, &true, sizeof (true)); in KMFPK11_FindPrikeyByCert()
2972 SETATTR(pTmpl, i, CKA_TOKEN, &true, sizeof (true)); in KMFPK11_FindKey()
3636 SETATTR(templ, i, CKA_TOKEN, &true, sizeof (true)); in KMFPK11_CreateSymKey()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c144 template[2].type = CKA_TOKEN; in init_key_uef()
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c302 pTmpl[i].type = CKA_TOKEN; in get_token_key()
637 template[nattr].type = CKA_TOKEN; in execute_cmd()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c1048 token_attr->type = CKA_TOKEN; in template_set_default_common_attributes()
1206 case CKA_TOKEN: in template_validate_base_attribute()
H A Dutility.c274 case CKA_TOKEN: in is_attribute_defined()
H A Dobject.c632 CKA_TOKEN, &attr); in object_is_token_object()
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c360 pTmpl[i].type = CKA_TOKEN; in get_token_key()
855 template[nattr].type = CKA_TOKEN; in execute_cmd()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c45 template[2].type = CKA_TOKEN; in setup_arcfour_crypto()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c728 (pTemplate[i].type == CKA_TOKEN)) { in process_object_attributes()
851 pTemplate[1].type = CKA_TOKEN; in create_new_tobj_in_lib()
H A DkernelAttributeUtil.c272 case CKA_TOKEN: in kernel_validate_attr()
941 case CKA_TOKEN: in kernel_parse_common_attrs()
2206 case CKA_TOKEN: in kernel_get_common_attrs()
3819 case CKA_TOKEN: in kernel_find_match_attrs()
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1085 { CKA_TOKEN, NULL, 0 }, in getkeyfromtoken()
1155 case CKA_TOKEN: in getkeyfromtoken()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c232 MAX_PUBLIC_KEY_TEMPLATES, CKA_TOKEN, (CK_BYTE *)&ckToken, in PKCS_CreatePublicKey()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c279 case CKA_TOKEN: in soft_validate_attr()
1215 case CKA_TOKEN: in soft_parse_common_attrs()
3757 case CKA_TOKEN:
4692 case CKA_TOKEN:
6597 case CKA_TOKEN:
H A DsoftObjectUtil.c689 if (pTemplate[i].type == CKA_TOKEN) { in search_for_objects()
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h439 #define CKA_TOKEN 0x00000001UL macro