Lines Matching defs:mechInfo
580 CK_MECHANISM_INFO mechInfo;
629 &mechInfo);
631 ((mechInfo.flags & CKF_GENERATE_KEY_PAIR) == 0)) {
636 &mechInfo);
638 ((mechInfo.flags & CKF_SIGN) == 0) ||
639 ((mechInfo.flags & CKF_VERIFY) == 0)) {
646 &mechInfo);
648 ((mechInfo.flags & CKF_SIGN) == 0) ||
649 ((mechInfo.flags & CKF_VERIFY) == 0)) {
656 &mechInfo);
658 ((mechInfo.flags & CKF_SIGN) == 0) ||
659 ((mechInfo.flags & CKF_VERIFY) == 0)) {
666 &mechInfo);
668 ((mechInfo.flags & CKF_SIGN) == 0) ||
669 ((mechInfo.flags & CKF_VERIFY) == 0)) {
675 rv = pkcs_C_GetMechanismInfo(slot, CKM_RSA_PKCS, &mechInfo);
677 ((mechInfo.flags & CKF_SIGN) == 0) ||
678 ((mechInfo.flags & CKF_VERIFY) == 0)) {
693 &mechInfo);
694 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_GENERATE) == 0)) {
701 &mechInfo);
703 ((mechInfo.flags & CKF_GENERATE_KEY_PAIR) == 0)) {
707 rv = pkcs_C_GetMechanismInfo(slot, CKM_DSA_SHA1, &mechInfo);
709 ((mechInfo.flags & CKF_SIGN) == 0) ||
710 ((mechInfo.flags & CKF_VERIFY) == 0)) {
725 &mechInfo);
726 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_GENERATE) == 0)) {
730 &mechInfo);
732 ((mechInfo.flags & CKF_GENERATE_KEY_PAIR) == 0)) {
739 &mechInfo);
740 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DERIVE) == 0)) {
754 rv = pkcs_C_GetMechanismInfo(slot, CKM_MD5, &mechInfo);
755 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
761 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA_1, &mechInfo);
762 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
766 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA224, &mechInfo);
767 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
771 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA256, &mechInfo);
772 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
776 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA384, &mechInfo);
777 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
781 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA512, &mechInfo);
782 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
786 rv = pkcs_C_GetMechanismInfo(slot, CKM_MD5_HMAC, &mechInfo);
787 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_SIGN) == 0)) {
793 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA_1_HMAC, &mechInfo);
794 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_SIGN) == 0)) {
800 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA224_HMAC, &mechInfo);
801 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_SIGN) == 0)) {
807 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA256_HMAC, &mechInfo);
808 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_SIGN) == 0)) {
814 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA384_HMAC, &mechInfo);
815 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_SIGN) == 0)) {
821 rv = pkcs_C_GetMechanismInfo(slot, CKM_SHA512_HMAC, &mechInfo);
822 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_SIGN) == 0)) {
836 &mechInfo);
838 ((mechInfo.flags & CKF_GENERATE_KEY_PAIR) == 0)) {
842 rv = pkcs_C_GetMechanismInfo(slot, CKM_ECDSA, &mechInfo);
844 ((mechInfo.flags & CKF_SIGN) == 0) ||
845 ((mechInfo.flags & CKF_VERIFY) == 0)) {
858 rv = pkcs_C_GetMechanismInfo(slot, CKM_GOSTR3411, &mechInfo);
859 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_DIGEST) == 0)) {
864 &mechInfo);
866 ((mechInfo.flags & CKF_GENERATE_KEY_PAIR) == 0)) {
872 &mechInfo);
874 ((mechInfo.flags & CKF_SIGN) == 0) ||
875 ((mechInfo.flags & CKF_VERIFY) == 0)) {
889 &mechInfo);
891 ((mechInfo.flags & CKF_GENERATE_KEY_PAIR) == 0)) {
895 rv = pkcs_C_GetMechanismInfo(slot, CKM_EDDSA, &mechInfo);
897 ((mechInfo.flags & CKF_SIGN) == 0) ||
898 ((mechInfo.flags & CKF_VERIFY) == 0)) {
908 rv = pkcs_C_GetMechanismInfo(slot, CKM_AES_ECB, &mechInfo);
909 if ((rv != CKR_OK) || ((mechInfo.flags & CKF_ENCRYPT) == 0)) {