Home
last modified time | relevance | path

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

/external/mmc-utils/3rdparty/hmac_sha/
Dhmac_sha2.c77 sha224_init(&ctx->ctx_inside); in hmac_sha224_init()
78 sha224_update(&ctx->ctx_inside, ctx->block_ipad, SHA224_BLOCK_SIZE); in hmac_sha224_init()
85 memcpy(&ctx->ctx_inside_reinit, &ctx->ctx_inside, in hmac_sha224_init()
93 memcpy(&ctx->ctx_inside, &ctx->ctx_inside_reinit, in hmac_sha224_reinit()
102 sha224_update(&ctx->ctx_inside, message, message_len); in hmac_sha224_update()
111 sha224_final(&ctx->ctx_inside, digest_inside); in hmac_sha224_final()
163 sha256_init(&ctx->ctx_inside); in hmac_sha256_init()
164 sha256_update(&ctx->ctx_inside, ctx->block_ipad, SHA256_BLOCK_SIZE); in hmac_sha256_init()
171 memcpy(&ctx->ctx_inside_reinit, &ctx->ctx_inside, in hmac_sha256_init()
179 memcpy(&ctx->ctx_inside, &ctx->ctx_inside_reinit, in hmac_sha256_reinit()
[all …]
Dhmac_sha2.h48 sha224_ctx ctx_inside; member
60 sha256_ctx ctx_inside; member
72 sha384_ctx ctx_inside; member
84 sha512_ctx ctx_inside; member