Lines Matching refs:mechanism
228 session_p->encrypt.mech.mechanism = pMechanism->mechanism;
232 session_p->decrypt.mech.mechanism = pMechanism->mechanism;
242 CK_ULONG_PTR pulEncryptedLen, CK_MECHANISM_TYPE mechanism)
268 if (mechanism == CKM_RSA_PKCS) {
294 if (mechanism == CKM_RSA_PKCS) {
332 CK_ULONG_PTR pulDataLen, CK_MECHANISM_TYPE mechanism)
362 if (mechanism == CKM_RSA_X_509) {
375 if (mechanism == CKM_RSA_PKCS) {
434 switch (pMechanism->mechanism) {
436 digest_mech.mechanism = CKM_MD5;
443 digest_mech.mechanism = CKM_SHA_1;
452 digest_mech.mechanism = CKM_SHA256;
459 digest_mech.mechanism = CKM_SHA384;
466 digest_mech.mechanism = CKM_SHA512;
499 session_p->sign.mech.mechanism = pMechanism->mechanism;
502 session_p->verify.mech.mechanism = pMechanism->mechanism;
525 CK_ULONG_PTR pulSignedLen, CK_MECHANISM_TYPE mechanism)
548 switch (mechanism) {
581 switch (mechanism) {
642 CK_ULONG ulSignatureLen, CK_MECHANISM_TYPE mechanism)
673 switch (mechanism) {
723 if ((mechanism == CKM_MD5_RSA_PKCS) ||
724 (mechanism == CKM_SHA1_RSA_PKCS) ||
725 (mechanism == CKM_SHA256_RSA_PKCS) ||
726 (mechanism == CKM_SHA384_RSA_PKCS) ||
727 (mechanism == CKM_SHA512_RSA_PKCS))
973 CK_ULONG_PTR pulSignedLen, CK_MECHANISM_TYPE mechanism, boolean_t Final)
1035 switch (session_p->digest.mech.mechanism) {
1073 pSigned, pulSignedLen, mechanism);
1089 CK_ULONG ulSignedLen, CK_MECHANISM_TYPE mechanism, boolean_t Final)
1123 switch (session_p->digest.mech.mechanism) {
1161 pSigned, ulSignedLen, mechanism);
1181 CK_MECHANISM_TYPE mechanism = session_p->verify.mech.mechanism;
1203 switch (mechanism) {