Searched refs:hmac_mech (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslproto.h269 crypto_mechanism_t hmac_mech; /* for TLS */ member in struct:KSSLCipherSpecStr
H A Dksslrec.c203 if (IS_TLS(ssl) || (spec->hmac_mech.cm_type != CRYPTO_MECH_INVALID &&
241 rv = crypto_mac(&spec->hmac_mech, &dd, &spec->hmac_key,
1537 spec->hmac_mech = hmac_md5_mech;
1539 spec->hmac_mech = hmac_sha1_mech;
1548 spec->hmac_mech.cm_type = CRYPTO_MECH_INVALID;
1549 spec->hmac_mech.cm_param = (caddr_t)&param;
1550 spec->hmac_mech.cm_param_len = sizeof (param);
1552 spec->hmac_mech.cm_type =
1556 spec->hmac_mech.cm_type =
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c2824 crypto_mechanism_t hmac_mech; local
2846 hmac_mech.cm_type = sha1_hmac_mech;
2847 hmac_mech.cm_param = NULL;
2848 hmac_mech.cm_param_len = 0;
2874 rv = crypto_create_ctx_template(&hmac_mech,

Completed in 63 milliseconds