Lines Matching defs:sha1_hmac_ctx
1058 sha1_hmac_ctx_t sha1_hmac_ctx;
1072 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1081 PROV_SHA1_DIGEST_KEY(&sha1_hmac_ctx.hc_icontext,
1083 sha1_mac_init_ctx(&sha1_hmac_ctx, digest,
1086 sha1_mac_init_ctx(&sha1_hmac_ctx, key->ck_data,
1106 SHA1_MAC_UPDATE(data, sha1_hmac_ctx, ret);
1114 SHA1Final(digest, &sha1_hmac_ctx.hc_icontext);
1120 SHA1Update(&sha1_hmac_ctx.hc_ocontext, digest, SHA1_DIGEST_LENGTH);
1134 SHA1Final(digest, &sha1_hmac_ctx.hc_ocontext);
1139 mac->cd_offset, &sha1_hmac_ctx.hc_ocontext);
1143 ret = sha1_digest_final_uio(&sha1_hmac_ctx.hc_ocontext, mac,
1147 ret = sha1_digest_final_mblk(&sha1_hmac_ctx.hc_ocontext, mac,
1160 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1164 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1178 sha1_hmac_ctx_t sha1_hmac_ctx;
1192 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1201 PROV_SHA1_DIGEST_KEY(&sha1_hmac_ctx.hc_icontext,
1203 sha1_mac_init_ctx(&sha1_hmac_ctx, digest,
1206 sha1_mac_init_ctx(&sha1_hmac_ctx, key->ck_data,
1231 SHA1_MAC_UPDATE(data, sha1_hmac_ctx, ret);
1237 SHA1Final(digest, &sha1_hmac_ctx.hc_icontext);
1243 SHA1Update(&sha1_hmac_ctx.hc_ocontext, digest, SHA1_DIGEST_LENGTH);
1249 SHA1Final(digest, &sha1_hmac_ctx.hc_ocontext);
1351 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1354 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));