Searched defs:mechtype (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c441 CK_MECHANISM_TYPE mechtype, hashmech; local
454 if (get_pk11_data(AlgorithmId, &pk11keytype, &mechtype, &hashmech, 1))
462 rv = kmf_create_pk11_session(&ckSession, mechtype, CKF_VERIFY);
473 (mechtype == CKM_ECDSA ||
474 mechtype == CKM_DSA ||
475 mechtype == CKM_RSA_PKCS)) {
489 (mechtype == CKM_RSA_PKCS));
505 if (mechtype == CKM_DSA &&
523 ckMechanism.mechanism = mechtype;
562 CK_MECHANISM_TYPE mechtype; local
799 PKCS_DigestData(KMF_HANDLE_T handle, CK_SESSION_HANDLE hSession, CK_MECHANISM_TYPE mechtype, KMF_DATA *tobesigned, KMF_DATA *output, boolean_t pkcs1_encoding) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c1585 soft_unwrap_secret_len_check(CK_KEY_TYPE keytype, CK_MECHANISM_TYPE mechtype, argument
1616 switch (mechtype) {
1774 /* Check keytype and mechtype don't conflict with valuelen */
/osnet-11/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2017 CK_MECHANISM_TYPE mechtype, hashmech; local
2039 /* Get the PKCS11 signing key type and mechtype */
2040 if (get_pk11_data(AlgId, &keytype, &mechtype, &hashmech, 0))
2058 &hashData, (mechtype == CKM_RSA_PKCS));
2073 if (mechtype == CKM_DSA && hashmech == CKM_SHA256) {
2089 /* the mechtype from the 'get_pk11_info' refers to the signing */
2090 mechanism.mechanism = mechtype;
2355 CK_MECHANISM_TYPE mechtype; local
2378 if (get_pk11_data(AlgId, &keytype, &mechtype, NULL, 0))
2381 mechanism.mechanism = mechtype;
[all...]

Completed in 215 milliseconds