/*
* Exim - an Internet mail transport agent
- *
- * Copyright (C) 1995 - 2018 Exim maintainers
+ * Copyright (c) The Exim Maintainers 1995 - 2022
+ * SPDX-License-Identifier: GPL-2.0-or-later
*
* Hash interface functions
*/
typedef enum hashmethod {
HASH_BADTYPE,
+ HASH_NULL,
HASH_SHA1,
HASH_SHA2_256,
extern BOOL exim_sha_init(hctx *, hashmethod);
extern void exim_sha_update(hctx *, const uschar *a, int);
+extern void exim_sha_update_string(hctx *, const uschar *a);
extern void exim_sha_finish(hctx *, blob *);
#endif