Lines Matching defs:pMechanism
33 kms_encrypt_init(kms_session_t *session_p, CK_MECHANISM_PTR pMechanism,
39 if (pMechanism->mechanism != CKM_AES_CBC &&
40 pMechanism->mechanism != CKM_AES_CBC_PAD)
47 if ((pMechanism->pParameter == NULL) ||
48 (pMechanism->ulParameterLen != AES_BLOCK_LEN)) {
52 rv = kms_aes_crypt_init_common(session_p, pMechanism,
63 (void) memcpy(kms_aes_ctx->ivec, pMechanism->pParameter,
124 C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
140 if (pMechanism == NULL) {
145 if (pMechanism->mechanism != CKM_AES_CBC &&
146 pMechanism->mechanism != CKM_AES_CBC_PAD)
181 rv = kms_encrypt_init(session_p, pMechanism, key_p);