Home
last modified time | relevance | path

Searched refs:pMech (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaKeys.c265 if (pMech == NULL) { in meta_DeriveKey()
276 switch (pMech->mechanism) { in meta_DeriveKey()
323 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
332 metaMech = *pMech; in meta_DeriveKey()
334 pMech = &metaMech; in meta_DeriveKey()
344 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
353 metaMech = *pMech; in meta_DeriveKey()
355 pMech = &metaMech; in meta_DeriveKey()
364 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
371 metaMech = *pMech; in meta_DeriveKey()
[all …]
H A DmetaUtil.c41 if (session->init.pMech == NULL) { in meta_operation_init_defer()
43 if (session->init.pMech == NULL) in meta_operation_init_defer()
54 free(session->init.pMech); in meta_operation_init_defer()
55 session->init.pMech = NULL; in meta_operation_init_defer()
73 free(session->init.pMech); in meta_operation_init_defer()
74 session->init.pMech = NULL; in meta_operation_init_defer()
549 session->init.pMech, in meta_do_operation()
576 session->init.pMech, in meta_do_operation()
586 session->init.pMech, in meta_do_operation()
749 free(session->init.pMech); in free_session_mechanism()
[all …]
H A DmetaObjectManager.c1827 CK_MECHANISM *pMech, CK_ATTRIBUTE *tmpl, CK_ULONG tmpl_len, in meta_freeobject_check() argument
1846 if (pMech != NULL) { in meta_freeobject_check()
1847 if (pMech->mechanism == CKM_RSA_PKCS_KEY_PAIR_GEN || in meta_freeobject_check()
1848 pMech->mechanism == CKM_EC_KEY_PAIR_GEN || in meta_freeobject_check()
1849 pMech->mechanism == CKM_DH_PKCS_KEY_PAIR_GEN || in meta_freeobject_check()
1850 pMech->mechanism == CKM_DH_PKCS_DERIVE) in meta_freeobject_check()
1851 info->mech = pMech->mechanism; in meta_freeobject_check()
H A DmetaGlobal.h321 CK_MECHANISM *pMech; /* place holder for init parameters */ member
611 CK_RV meta_derive_key(meta_session_t *session, CK_MECHANISM *pMech,
660 CK_MECHANISM *pMech, CK_ATTRIBUTE *tmpl, CK_ULONG tmpl_len,