Searched refs:pMech (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaKeys.c | 265 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 D | metaUtil.c | 41 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 D | metaObjectManager.c | 1827 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 D | metaGlobal.h | 321 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,
|