Home
last modified time | relevance | path

Searched refs:ctx_outside (Results 1 – 2 of 2) sorted by relevance

/external/mmc-utils/3rdparty/hmac_sha/
Dhmac_sha2.c80 sha224_init(&ctx->ctx_outside); in hmac_sha224_init()
81 sha224_update(&ctx->ctx_outside, ctx->block_opad, in hmac_sha224_init()
87 memcpy(&ctx->ctx_outside_reinit, &ctx->ctx_outside, in hmac_sha224_init()
95 memcpy(&ctx->ctx_outside, &ctx->ctx_outside_reinit, in hmac_sha224_reinit()
112 sha224_update(&ctx->ctx_outside, digest_inside, SHA224_DIGEST_SIZE); in hmac_sha224_final()
113 sha224_final(&ctx->ctx_outside, mac_temp); in hmac_sha224_final()
166 sha256_init(&ctx->ctx_outside); in hmac_sha256_init()
167 sha256_update(&ctx->ctx_outside, ctx->block_opad, in hmac_sha256_init()
173 memcpy(&ctx->ctx_outside_reinit, &ctx->ctx_outside, in hmac_sha256_init()
181 memcpy(&ctx->ctx_outside, &ctx->ctx_outside_reinit, in hmac_sha256_reinit()
[all …]
Dhmac_sha2.h49 sha224_ctx ctx_outside; member
61 sha256_ctx ctx_outside; member
73 sha384_ctx ctx_outside; member
85 sha512_ctx ctx_outside; member