Searched defs:hmac_ctx (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSoftCommon.c197 soft_hmac_ctx_t *hmac_ctx; local
205 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context;
206 len = hmac_ctx->hmac_len;
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftVerifyUtil.c164 soft_hmac_ctx_t *hmac_ctx; local
166 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context;
167 len = hmac_ctx->hmac_len;
365 soft_hmac_ctx_t *hmac_ctx; local
367 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context;
368 len = hmac_ctx->hmac_len;
H A DsoftMAC.c69 soft_hmac_ctx_t *hmac_ctx; local
77 hmac_ctx = malloc(sizeof (soft_hmac_ctx_t));
79 if (hmac_ctx == NULL) {
85 hmac_ctx->hmac_len = MD5_DIGEST_LENGTH;
89 hmac_ctx->hmac_len = SHA1_DIGEST_LENGTH;
93 hmac_ctx->hmac_len = SHA224_DIGEST_LENGTH;
97 hmac_ctx->hmac_len = SHA256_DIGEST_LENGTH;
101 hmac_ctx->hmac_len = SHA384_DIGEST_LENGTH;
105 hmac_ctx->hmac_len = SHA512_DIGEST_LENGTH;
114 free(hmac_ctx);
508 soft_hmac_ctx_t *hmac_ctx; local
637 soft_hmac_ctx_t *hmac_ctx; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_md5.c493 SIGN_VERIFY_CONTEXT hmac_ctx; local
505 (void) memset(&hmac_ctx, 0, sizeof (SIGN_VERIFY_CONTEXT));
507 rc = sign_mgr_init(sess, &hmac_ctx, &ctx->mech, FALSE, ctx->key);
509 (void) sign_mgr_cleanup(&hmac_ctx);
514 rc = sign_mgr_sign(sess, FALSE, &hmac_ctx,
517 (void) sign_mgr_cleanup(&hmac_ctx);
527 (void) sign_mgr_cleanup(&hmac_ctx);
H A Dmech_sha.c223 SIGN_VERIFY_CONTEXT hmac_ctx; local
235 (void) memset(&hmac_ctx, 0, sizeof (SIGN_VERIFY_CONTEXT));
237 rc = sign_mgr_init(sess, &hmac_ctx, &ctx->mech, FALSE, ctx->key);
242 rc = sign_mgr_sign(sess, FALSE, &hmac_ctx,
256 (void) sign_mgr_cleanup(&hmac_ctx);

Completed in 18 milliseconds