Home
last modified time | relevance | path

Searched refs:sha1_ctx (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/uts/common/crypto/io/
H A Dsha1_mod.c262 sha1_digest_update_uio(SHA1_CTX *sha1_ctx, crypto_data_t *data) in sha1_digest_update_uio() argument
296 SHA1Update(sha1_ctx, in sha1_digest_update_uio()
325 sha1_digest_final_uio(SHA1_CTX *sha1_ctx, crypto_data_t *digest, in sha1_digest_final_uio() argument
364 SHA1Final(digest_scratch, sha1_ctx); in sha1_digest_final_uio()
371 sha1_ctx); in sha1_digest_final_uio()
385 SHA1Final(digest_tmp, sha1_ctx); in sha1_digest_final_uio()
418 sha1_digest_update_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *data) in sha1_digest_update_mblk() argument
444 SHA1Update(sha1_ctx, mp->b_rptr + offset, cur_len); in sha1_digest_update_mblk()
470 sha1_digest_final_mblk(SHA1_CTX *sha1_ctx, crypto_data_t *digest, in sha1_digest_final_mblk() argument
501 SHA1Final(digest_scratch, sha1_ctx); in sha1_digest_final_mblk()
[all …]
H A Decc.c102 #define sha1_ctx dctx_u.sha1ctx macro
535 SHA1Init(&(dctxp->sha1_ctx)); in ecc_sign_verify_common_init()
612 rv = crypto_digest_data(data, &(ctxp->sha1_ctx), in ecc_digest_svrfy_common()
749 rv = crypto_digest_data(data, &(ctxp->sha1_ctx), NULL, in ecc_sign_update()
830 SHA1Init(&(dctx.sha1_ctx)); in ecc_sign_atomic()
941 rv = crypto_digest_data(data, &(ctxp->sha1_ctx), NULL, in ecc_verify_update()
1027 SHA1Init(&(dctx.sha1_ctx)); in ecc_verify_atomic()
H A Drsa.c102 #define sha1_ctx dctx_u.sha1ctx macro
903 SHA1Init(&(dctxp->sha1_ctx)); in rsa_sign_verify_common_init()
980 rv = crypto_digest_data(data, &(ctxp->sha1_ctx), in rsa_digest_svrfy_common()
1181 rv = crypto_digest_data(data, &(ctxp->sha1_ctx), in rsa_sign_update()
1239 SHA1Init(&(dctx.sha1_ctx)); in rsa_sign_atomic()
1372 rv = crypto_digest_data(data, &(ctxp->sha1_ctx), in rsa_verify_update()
1441 SHA1Init(&(dctx.sha1_ctx)); in rsa_verify_atomic()
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c110 SHA1_CTX sha1_ctx; in soft_ssl3_churn() local
116 SHA1Init(&sha1_ctx); in soft_ssl3_churn()
117 SHA1Update(&sha1_ctx, (const uint8_t *)ssl3_const_vals[i], in soft_ssl3_churn()
119 SHA1Update(&sha1_ctx, secret, secretlen); in soft_ssl3_churn()
120 SHA1Update(&sha1_ctx, rand1, rand1len); in soft_ssl3_churn()
121 SHA1Update(&sha1_ctx, rand2, rand2len); in soft_ssl3_churn()
122 SHA1Final(sha1_digest, &sha1_ctx); in soft_ssl3_churn()
168 SHA1_CTX sha1_ctx; in soft_tls_prf() local
176 SHA1Init(&sha1_ctx); in soft_tls_prf()
177 SHA1Update(&sha1_ctx, S2, L_S); in soft_tls_prf()
[all …]
H A DsoftMAC.c281 SOFT_MAC_INIT_CTX(SHA1, &(ctx->hc_ctx_u.sha1_ctx), in mac_init_ctx()
321 sha1_hmac_ctx_init(&ctx->hc_ctx_u.sha1_ctx, sha1_ipad, in mac_init_ctx()
516 SOFT_MAC_UPDATE(SHA1, &(hmac_ctx->hc_ctx_u.sha1_ctx), in soft_hmac_sign_verify_common()
519 SOFT_MAC_FINAL(SHA1, &(hmac_ctx->hc_ctx_u.sha1_ctx), pSigned); in soft_hmac_sign_verify_common()
619 SOFT_MAC_UPDATE(SHA1, &(hmac_ctx->hc_ctx_u.sha1_ctx), pPart, in soft_hmac_sign_verify_update()
H A DsoftMAC.h91 sha1_hc_ctx_t sha1_ctx; member
/titanic_50/usr/src/common/crypto/sha1/
H A Dsha1_impl.h54 typedef struct sha1_ctx { struct