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

/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c442 CK_MECHANISM_TYPE mechtype, hashmech; local
455 if (get_pk11_data(AlgorithmId, &pk11keytype, &mechtype, &hashmech, 1))
463 rv = kmf_create_pk11_session(&ckSession, mechtype, 0);
482 (mechtype == CKM_ECDSA ||
483 mechtype == CKM_DSA ||
484 mechtype == CKM_RSA_PKCS)) {
490 (mechtype == CKM_RSA_PKCS));
497 if (mechtype == CKM_DSA &&
515 ckMechanism.mechanism = mechtype;
554 CK_MECHANISM_TYPE mechtype; local
791 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...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey.c973 addmechtolist(char *mechtype) argument
982 if (strcmp(realmechlist[i]->alias, mechtype)
1023 mechtype);
1029 mechtype);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c1557 soft_unwrap_secret_len_check(CK_KEY_TYPE keytype, CK_MECHANISM_TYPE mechtype, argument
1588 switch (mechtype) {
1740 /* Check keytype and mechtype don't conflict with valuelen */
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2010 CK_MECHANISM_TYPE mechtype, hashmech; local
2032 /* Get the PKCS11 signing key type and mechtype */
2033 if (get_pk11_data(AlgId, &keytype, &mechtype, &hashmech, 0))
2040 (mechtype == CKM_RSA_PKCS));
2044 if (mechtype == CKM_DSA && hashmech == CKM_SHA256) {
2060 /* the mechtype from the 'get_pk11_info' refers to the signing */
2061 mechanism.mechanism = mechtype;
2326 CK_MECHANISM_TYPE mechtype; local
2349 if (get_pk11_data(AlgId, &keytype, &mechtype, NULL, 0))
2352 mechanism.mechanism = mechtype;
[all...]

Completed in 55 milliseconds