Lines Matching defs:sha1_hmac_ctx
1064 sha1_hmac_ctx_t sha1_hmac_ctx;
1078 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1087 PROV_SHA1_DIGEST_KEY(&sha1_hmac_ctx.hc_icontext,
1089 sha1_mac_init_ctx(&sha1_hmac_ctx, digest,
1092 sha1_mac_init_ctx(&sha1_hmac_ctx, key->ck_data,
1112 SHA1_MAC_UPDATE(data, sha1_hmac_ctx, ret);
1120 SHA1Final(digest, &sha1_hmac_ctx.hc_icontext);
1126 SHA1Update(&sha1_hmac_ctx.hc_ocontext, digest, SHA1_DIGEST_LENGTH);
1140 SHA1Final(digest, &sha1_hmac_ctx.hc_ocontext);
1145 mac->cd_offset, &sha1_hmac_ctx.hc_ocontext);
1149 ret = sha1_digest_final_uio(&sha1_hmac_ctx.hc_ocontext, mac,
1153 ret = sha1_digest_final_mblk(&sha1_hmac_ctx.hc_ocontext, mac,
1166 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1170 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1184 sha1_hmac_ctx_t sha1_hmac_ctx;
1198 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1207 PROV_SHA1_DIGEST_KEY(&sha1_hmac_ctx.hc_icontext,
1209 sha1_mac_init_ctx(&sha1_hmac_ctx, digest,
1212 sha1_mac_init_ctx(&sha1_hmac_ctx, key->ck_data,
1237 SHA1_MAC_UPDATE(data, sha1_hmac_ctx, ret);
1243 SHA1Final(digest, &sha1_hmac_ctx.hc_icontext);
1249 SHA1Update(&sha1_hmac_ctx.hc_ocontext, digest, SHA1_DIGEST_LENGTH);
1255 SHA1Final(digest, &sha1_hmac_ctx.hc_ocontext);
1357 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
1360 bzero(&sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));