Lines Matching refs:pMechanism
34 C_GenerateKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
50 if ((pMechanism == NULL) || (phKey == NULL)) {
60 rv = soft_genkey(session_p, pMechanism, pTemplate,
71 C_GenerateKeyPair(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
89 if ((pMechanism == NULL) || (phPublicKey == NULL) ||
107 rv = soft_genkey_pair(session_p, pMechanism, pPublicKeyTemplate,
117 C_WrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
135 if (pMechanism == NULL) {
196 rv = soft_wrapkey(session_p, pMechanism, wrappingkey_p,
218 C_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
236 if (pMechanism == NULL) {
296 rv = soft_unwrapkey(session_p, pMechanism, unwrappingkey_p,
318 C_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
336 if (pMechanism == NULL) {
358 rv = soft_derivekey(session_p, pMechanism, basekey_p,