Lines Matching refs:pMech
250 CK_MECHANISM *pMech = pMechanism; in meta_DeriveKey() local
265 if (pMech == NULL) { in meta_DeriveKey()
276 switch (pMech->mechanism) { in meta_DeriveKey()
279 keyparams = (CK_SSL3_KEY_MAT_PARAMS*)pMech->pParameter; in meta_DeriveKey()
281 if ((keyparams == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
318 switch (pMech->mechanism) { in meta_DeriveKey()
323 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
330 ec_tmpptr = (CK_ECDH2_DERIVE_PARAMS *)pMech->pParameter; 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()
351 x9_tmpptr = (CK_X9_42_DH2_DERIVE_PARAMS *)pMech->pParameter; 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()
372 pMech = &metaMech; in meta_DeriveKey()
411 rv = meta_derive_key(session, pMech, basekey1, basekey2, phBaseKey2, in meta_DeriveKey()