Lines Matching defs:mechanism
71 * decrypt init routine based on the mechanism.
76 * CKR_MECHANISM_PARAM_INVALID: invalid parameters in mechanism
77 * CKR_MECHANISM_INVALID: invalid mechanism type
79 * with the specified mechanism
91 switch (pMechanism->mechanism) {
136 if (pMechanism->mechanism == CKM_DES_ECB) {
203 if (pMechanism->mechanism == CKM_DES_CBC) {
208 } else if (pMechanism->mechanism == CKM_DES3_CBC) {
317 if (pMechanism->mechanism != CKM_AES_CBC_PAD) {
457 * on the mechanism.
468 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
470 switch (mechanism) {
529 ulEncryptedLen, pData, pulDataLen, mechanism));
588 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
590 switch (mechanism) {
609 /* PKCS11: The mechanism only supports single-part operation. */
637 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
649 switch (mechanism) {
918 /* PKCS11: The mechanism only supports single-part operation. */