Searched refs:pMech (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaKeys.c | 249 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 D | metaSession.c | 315 opstate.state[0].op_mech = session->init.pMech->mechanism; 337 session->init.pMech->ulParameterLen; 346 session->init.pMech->ulParameterLen; 349 opstate.state[0].op_mech = session->init.pMech->mechanism; 353 if (session->init.pMech->ulParameterLen > 0) { 356 session->init.pMech->pParameter, 357 session->init.pMech->ulParameterLen); 523 session->init.pMech = calloc(1, sizeof (CK_MECHANISM)); 524 if (session->init.pMech == NULL) { 528 session->init.pMech [all...] |
H A D | metaUtil.c | 54 if (session->init.pMech == NULL) { 55 session->init.pMech = malloc(sizeof (CK_MECHANISM)); 56 if (session->init.pMech == NULL) 59 (void) memcpy(session->init.pMech, pMechanism, 64 session->init.pMech->pParameter = 66 if (session->init.pMech->pParameter == NULL) { 67 free(session->init.pMech); 68 session->init.pMech = NULL; 71 (void) memcpy(session->init.pMech->pParameter, 74 session->init.pMech [all...] |
H A D | metaObjectManager.c | 1833 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 D | metaGlobal.h | 322 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 32 milliseconds