Lines Matching defs:mechanism
158 * on the mechanism.
177 CK_MECHANISM_TYPE mechanism = session_p->encrypt.mech.mechanism;
186 pad_mechanism = (mechanism == CKM_DES_CBC_PAD ||
187 mechanism == CKM_DES3_CBC_PAD);
190 * for C_Encrypt function with the mechanism CKM_DES<n>_ECB or
194 * mechanism CKM_DES<n>_CBC_PAD and for C_EncryptUpdate function.
260 * the mechanism is CKM_DES<n>_CBC_PAD, we will need to delay
422 * on the mechanism.
443 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
454 pad_mechanism = (mechanism == CKM_DES_CBC_PAD ||
455 mechanism == CKM_DES3_CBC_PAD);
458 * for C_Decrypt function with the mechanism CKM_DES<n>_ECB,
516 * the mechanism is CKM_DES<n>_CBC_PAD, we will need to delay
770 switch (pMechanism->mechanism) {
796 if (pMechanism->mechanism == CKM_DES_MAC) {
801 encrypt_mech.mechanism = CKM_DES_CBC_PAD;
815 session_p->sign.mech.mechanism = pMechanism->mechanism;
818 session_p->verify.mech.mechanism =
819 pMechanism->mechanism;
926 * Because we always use DES_CBC_PAD mechanism