Searched defs:pMech (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaKeys.c249 CK_MECHANISM *pMech = pMechanism; local
264 if (pMech == NULL) {
272 * pMech->pParameter. In these cases the spec says (see 12.38.4
275 switch (pMech->mechanism) {
278 keyparams = (CK_SSL3_KEY_MAT_PARAMS*)pMech->pParameter;
280 if ((keyparams == NULL) || (pMech->ulParameterLen
317 switch (pMech->mechanism) {
322 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen
329 ec_tmpptr = (CK_ECDH2_DERIVE_PARAMS *)pMech
[all...]
H A DmetaObjectManager.c1833 CK_MECHANISM *pMech, CK_ATTRIBUTE *tmpl, CK_ULONG tmpl_len,
1849 * If this call is for key generation, check pMech for supported
1852 if (pMech != NULL) {
1853 if (pMech->mechanism == CKM_RSA_PKCS_KEY_PAIR_GEN ||
1854 pMech->mechanism == CKM_EC_KEY_PAIR_GEN ||
1855 pMech->mechanism == CKM_DH_PKCS_KEY_PAIR_GEN ||
1856 pMech->mechanism == CKM_DH_PKCS_DERIVE)
1857 info->mech = pMech->mechanism;
1832 meta_freeobject_check(meta_session_t *session, meta_object_t *object, CK_MECHANISM *pMech, CK_ATTRIBUTE *tmpl, CK_ULONG tmpl_len, CK_KEY_TYPE keytype) argument
H A DmetaGlobal.h322 CK_MECHANISM *pMech; /* place holder for init parameters */ member in struct:crypto_init
615 CK_RV meta_derive_key(meta_session_t *session, CK_MECHANISM *pMech,
664 CK_MECHANISM *pMech, CK_ATTRIBUTE *tmpl, CK_ULONG tmpl_len,

Completed in 21 milliseconds