Searched refs:hmac_ctx (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.c | 72 soft_hmac_ctx_t *hmac_ctx; local 80 hmac_ctx = malloc(sizeof (soft_hmac_ctx_t)); 82 if (hmac_ctx == NULL) { 88 hmac_ctx->hmac_len = MD5_HASH_SIZE; 92 hmac_ctx->hmac_len = SHA1_HASH_SIZE; 96 hmac_ctx->hmac_len = SHA256_DIGEST_LENGTH; 100 hmac_ctx->hmac_len = SHA384_DIGEST_LENGTH; 104 hmac_ctx->hmac_len = SHA512_DIGEST_LENGTH; 113 free(hmac_ctx); 116 hmac_ctx 464 soft_hmac_ctx_t *hmac_ctx; local 588 soft_hmac_ctx_t *hmac_ctx; local [all...] |
H A D | softVerifyUtil.c | 155 soft_hmac_ctx_t *hmac_ctx; local 157 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; 158 len = hmac_ctx->hmac_len; 346 soft_hmac_ctx_t *hmac_ctx; local 348 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; 349 len = hmac_ctx->hmac_len;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | mech_md5.c | 493 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 D | mech_sha.c | 223 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);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSoftCommon.c | 197 soft_hmac_ctx_t *hmac_ctx; local 205 hmac_ctx = (soft_hmac_ctx_t *)session_p->verify.context; 206 len = hmac_ctx->hmac_len;
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | md5_mod.c | 929 md5_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; local 936 PROV_MD5_DIGEST_KEY(&hmac_ctx->hc_icontext,
|
H A D | sha1_mod.c | 872 sha1_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; local 879 PROV_SHA1_DIGEST_KEY(&hmac_ctx->hc_icontext,
|
H A D | sha2_mod.c | 961 sha2_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; local 969 &hmac_ctx->hc_icontext,
|
Completed in 55 milliseconds