Lines Matching defs:mech
29 crypto_mechanism_t mech;
34 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
35 mech.cm_param = NULL;
36 mech.cm_param_len = 0;
56 ret = crypto_mac(&mech, &input_cd, &key, NULL, &output_cd, NULL);
68 crypto_mechanism_t mech;
81 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC);
82 mech.cm_param = NULL;
83 mech.cm_param_len = 0;
113 ret = crypto_mac_init(&mech, &key, NULL, &ctx, NULL);