Searched refs:hc_ocontext (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.h | 68 MD5_CTX hc_ocontext; /* outer MD5 context */ member in struct:md5_hc_ctx 76 SHA1_CTX hc_ocontext; /* outer SHA1 context */ member in struct:sha1_hc_ctx 81 SHA2_CTX hc_ocontext; /* outer SHA2 context */ member in struct:sha2_hc_ctx 104 HASH##Init(&((mac_ctx)->hc_ocontext)); \ 105 HASH##Update(&((mac_ctx)->hc_ocontext), opad, len); 112 HASH##Update(&((mac_ctx)->hc_ocontext), (mac), HASH##_HASH_SIZE);\ 113 HASH##Final((mac), &((mac_ctx)->hc_ocontext)); 117 SHA2Update(&((mac_ctx)->hc_ocontext), (mac), HASH##_DIGEST_LENGTH); \ 118 SHA2Final((mac), &((mac_ctx)->hc_ocontext));
|
H A D | softMAC.c | 686 SHA2Init(mech, &ctx->hc_ocontext); 687 SHA2Update(&ctx->hc_ocontext, (uint8_t *)opad, block_size);
|
/illumos-gate/usr/src/common/crypto/sha2/ |
H A D | sha2_impl.h | 57 SHA2_CTX hc_ocontext; /* outer SHA2 context */ member in struct:sha2_hmac_ctx
|
/illumos-gate/usr/src/common/crypto/sha1/ |
H A D | sha1_impl.h | 66 SHA1_CTX hc_ocontext; /* outer SHA1 context */ member in struct:sha1_hmac_ctx
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | md5_mod.c | 103 MD5_CTX hc_ocontext; /* outer MD5 context */ member in struct:md5_hmac_ctx 893 MD5Init(&ctx->hc_ocontext); 894 MD5Update(&ctx->hc_ocontext, opad, MD5_HMAC_BLOCK_SIZE); 1035 MD5Update(&PROV_MD5_HMAC_CTX(ctx)->hc_ocontext, digest, 1051 &PROV_MD5_HMAC_CTX(ctx)->hc_ocontext); 1057 &PROV_MD5_HMAC_CTX(ctx)->hc_ocontext); 1062 &PROV_MD5_HMAC_CTX(ctx)->hc_ocontext, mac, 1067 &PROV_MD5_HMAC_CTX(ctx)->hc_ocontext, mac, 1178 MD5Update(&md5_hmac_ctx.hc_ocontext, digest, MD5_DIGEST_LENGTH); 1192 MD5Final(digest, &md5_hmac_ctx.hc_ocontext); [all...] |
H A D | sha1_mod.c | 837 SHA1Init(&ctx->hc_ocontext); 838 SHA1Update(&ctx->hc_ocontext, (uint8_t *)opad, SHA1_HMAC_BLOCK_SIZE); 978 SHA1Update(&PROV_SHA1_HMAC_CTX(ctx)->hc_ocontext, digest, 994 &PROV_SHA1_HMAC_CTX(ctx)->hc_ocontext); 1000 &PROV_SHA1_HMAC_CTX(ctx)->hc_ocontext); 1005 &PROV_SHA1_HMAC_CTX(ctx)->hc_ocontext, mac, 1010 &PROV_SHA1_HMAC_CTX(ctx)->hc_ocontext, mac, 1120 SHA1Update(&sha1_hmac_ctx.hc_ocontext, digest, SHA1_DIGEST_LENGTH); 1134 SHA1Final(digest, &sha1_hmac_ctx.hc_ocontext); 1139 mac->cd_offset, &sha1_hmac_ctx.hc_ocontext); [all...] |
H A D | sha2_mod.c | 907 SHA2Init(ctx->hc_mech_type, &ctx->hc_ocontext); 908 SHA2Update(&ctx->hc_ocontext, (uint8_t *)opad, block_size); 1085 SHA2Update(&PROV_SHA2_HMAC_CTX(ctx)->hc_ocontext, digest, 1101 &PROV_SHA2_HMAC_CTX(ctx)->hc_ocontext); 1107 &PROV_SHA2_HMAC_CTX(ctx)->hc_ocontext); 1112 &PROV_SHA2_HMAC_CTX(ctx)->hc_ocontext, mac, 1117 &PROV_SHA2_HMAC_CTX(ctx)->hc_ocontext, mac, 1250 SHA2Update(&sha2_hmac_ctx.hc_ocontext, digest, 1253 SHA2Update(&sha2_hmac_ctx.hc_ocontext, digest, sha_digest_len); 1267 SHA2Final(digest, &sha2_hmac_ctx.hc_ocontext); [all...] |
Completed in 52 milliseconds