Home
last modified time | relevance | path

Searched refs:CKF_SIGN (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c146 CKF_SIGN|CKF_VERIFY}, /* CKM_DES_MAC_GENERAL */
148 CKF_SIGN|CKF_VERIFY}, /* CKM_DES_MAC */
172 CKF_SIGN|CKF_VERIFY}, /* CKM_AES_CMAC_GENERAL */
174 CKF_SIGN|CKF_VERIFY}, /* CKM_AES_CMAC */
192 {1, 64, CKF_SIGN|CKF_VERIFY}, /* CKM_SHA_1_HMAC */
195 {1, 64, CKF_SIGN|CKF_VERIFY}, /* CKM_SHA256_HMAC */
198 {1, 128, CKF_SIGN|CKF_VERIFY}, /* CKM_SHA384_HMAC */
201 {1, 128, CKF_SIGN|CKF_VERIFY}, /* CKM_SHA512_HMAC */
207 {1, 64, CKF_SIGN|CKF_VERIFY}, /* CKM_MD5_HMAC */
218 CKF_SIGN|CKF_SIGN_RECOVER|
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dglobals.c132 CKF_WRAP | CKF_UNWRAP | CKF_SIGN | CKF_VERIFY |
137 CKF_SIGN | CKF_VERIFY | CKF_SIGN_RECOVER | CKF_VERIFY_RECOVER }},
144 CKF_SIGN | CKF_VERIFY |
149 {512, 2048, CKF_HW | CKF_SIGN | CKF_VERIFY } },
152 {512, 2048, CKF_HW | CKF_SIGN | CKF_VERIFY } },
158 {0, 0, CKF_SIGN | CKF_VERIFY } },
161 {0, 0, CKF_SIGN | CKF_VERIFY } },
167 {0, 0, CKF_SIGN | CKF_VERIFY } },
170 {0, 0, CKF_SIGN | CKF_VERIFY } },
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSign.c59 rv = meta_operation_init(CKF_SIGN, session, pMechanism, key); in meta_SignInit()
85 meta_operation_cleanup(session, CKF_SIGN, FALSE); in meta_Sign()
90 rv = meta_do_operation(CKF_SIGN, MODE_SINGLE, session, NULL, in meta_Sign()
115 meta_operation_cleanup(session, CKF_SIGN, FALSE); in meta_SignUpdate()
120 rv = meta_do_operation(CKF_SIGN, MODE_UPDATE, session, NULL, in meta_SignUpdate()
145 meta_operation_cleanup(session, CKF_SIGN, FALSE); in meta_SignFinal()
150 rv = meta_do_operation(CKF_SIGN, MODE_FINAL, session, NULL, in meta_SignFinal()
H A DmetaUtil.c255 case CKF_SIGN: in meta_operation_init()
658 } else if (optype == CKF_SIGN && mode == MODE_SINGLE) { in meta_do_operation()
661 } else if (optype == CKF_SIGN && mode == MODE_UPDATE) { in meta_do_operation()
665 } else if (optype == CKF_SIGN && mode == MODE_FINAL) { in meta_do_operation()
815 case CKF_SIGN: in meta_operation_cleanup()
H A DmetaSession.c358 static CK_ULONG sign_optypes = (CKF_SIGN | CKF_VERIFY | in meta_set_opstate()
H A Dpkcs11SUNWExtensions.c52 {CKA_SIGN, CKF_SIGN},
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c499 (!mac_cmd && (info.flags & CKF_SIGN)) || in execute_cmd()
544 if (rv == CKR_OK && (info.flags & CKF_SIGN)) in execute_cmd()
564 if ((info.flags & CKF_SIGN) && in execute_cmd()
571 } else if (info.flags & CKF_SIGN) { in execute_cmd()
682 CKF_SIGN, &key); in execute_cmd()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpkcs11slot.c180 if (!(info.flags & (CKF_DIGEST|CKF_SIGN|CKF_RNG))) in slot_supports_krb5()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c1192 flags |= CKF_SIGN; in get_mechanism_info()
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h1010 #define CKF_SIGN 0x00000800UL macro
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_uef.c129 (mechInfo->flags & CKF_SIGN) ? "X" : ".", in display_mech_info()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c5444 if ((info.flags & (CKF_SIGN|CKF_DECRYPT)) == (CKF_SIGN|CKF_DECRYPT))
5450 (info.flags & CKF_SIGN) ? CKM_SHA1_RSA_PKCS : CKM_RSA_PKCS;