bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2004-2018 Dovecot authors, see the included COPYING file */
9743e5ac5bf6391157a4d1ab7119872b0979f8b7Timo Sirainenstatic struct mbox_md5_context *mbox_md5_all_init(void)
9743e5ac5bf6391157a4d1ab7119872b0979f8b7Timo Sirainenstatic void mbox_md5_all_more(struct mbox_md5_context *ctx,
9743e5ac5bf6391157a4d1ab7119872b0979f8b7Timo Sirainen md5_update(&ctx->hdr_md5_ctx, hdr->value, hdr->value_len);
9743e5ac5bf6391157a4d1ab7119872b0979f8b7Timo Sirainenstatic void mbox_md5_all_finish(struct mbox_md5_context *ctx,