Searched refs:sha2_ctx (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2_impl.h45 typedef struct sha2_ctx { struct
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c286 sha2_digest_update_uio(SHA2_CTX *sha2_ctx, crypto_data_t *data) argument
320 SHA2Update(sha2_ctx, (uint8_t *)data->cd_uio->
347 sha2_digest_final_uio(SHA2_CTX *sha2_ctx, crypto_data_t *digest, argument
380 if (((sha2_ctx->algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) &&
382 ((sha2_ctx->algotype > SHA256_HMAC_GEN_MECH_INFO_TYPE) &&
389 SHA2Final(digest_scratch, sha2_ctx);
397 sha2_ctx);
412 SHA2Final(digest_tmp, sha2_ctx);
446 sha2_digest_update_mblk(SHA2_CTX *sha2_ctx, crypto_data_t *data) argument
472 SHA2Update(sha2_ctx, m
498 sha2_digest_final_mblk(SHA2_CTX *sha2_ctx, crypto_data_t *digest, ulong_t digest_len, uchar_t *digest_scratch) argument
780 SHA2_CTX sha2_ctx; local
[all...]
H A Drsa.c103 #define sha2_ctx dctx_u.sha2ctx macro
907 SHA2Init(SHA256, &(dctxp->sha2_ctx));
911 SHA2Init(SHA384, &(dctxp->sha2_ctx));
915 SHA2Init(SHA512, &(dctxp->sha2_ctx));
984 rv = crypto_digest_data(data, &(ctxp->sha2_ctx),
1186 rv = crypto_digest_data(data, &(ctxp->sha2_ctx),
1243 SHA2Init(SHA256, &(dctx.sha2_ctx));
1247 SHA2Init(SHA384, &(dctx.sha2_ctx));
1251 SHA2Init(SHA512, &(dctx.sha2_ctx));
1380 rv = crypto_digest_data(data, &(ctxp->sha2_ctx),
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c361 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
402 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
443 sha2_hmac_ctx_init(CKM_TO_SHA2(mech), &ctx->hc_ctx_u.sha2_ctx,
526 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
529 SOFT_MAC_FINAL_2(SHA256, &(hmac_ctx->hc_ctx_u.sha2_ctx),
537 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
540 SOFT_MAC_FINAL_2(SHA384, &(hmac_ctx->hc_ctx_u.sha2_ctx),
550 SHA2Update(&(hmac_ctx->hc_ctx_u.sha2_ctx.hc_icontext),
553 SOFT_MAC_FINAL_2(SHA512, &(hmac_ctx->hc_ctx_u.sha2_ctx),
631 SOFT_MAC_UPDATE(SHA2, &(hmac_ctx->hc_ctx_u.sha2_ctx), pPar
[all...]
H A DsoftMAC.h92 sha2_hc_ctx_t sha2_ctx; member in union:soft_hmac_ctx::__anon4271

Completed in 94 milliseconds