Long deprecated, last users have been fixed.
ok beck jsing
HMAC_CTX_reset
HMAC_CTX_set_flags
HMAC_Final
-HMAC_Init
HMAC_Init_ex
HMAC_Update
IPAddressChoice_free
-/* $OpenBSD: hmac.h,v 1.2 2023/07/05 21:14:54 bcook Exp $ */
+/* $OpenBSD: hmac.h,v 1.3 2024/08/31 10:42:21 tb Exp $ */
/*
* Copyright (c) 2016 Philip Guenther <guenther@openbsd.org>
*
LCRYPTO_USED(HMAC_CTX_new);
LCRYPTO_USED(HMAC_CTX_free);
LCRYPTO_UNUSED(HMAC_CTX_reset);
-LCRYPTO_UNUSED(HMAC_Init);
LCRYPTO_USED(HMAC_Init_ex);
LCRYPTO_USED(HMAC_Update);
LCRYPTO_USED(HMAC_Final);
-/* $OpenBSD: hmac.c,v 1.35 2024/06/01 07:36:16 tb Exp $ */
+/* $OpenBSD: hmac.c,v 1.36 2024/08/31 10:42:21 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
}
LCRYPTO_ALIAS(HMAC_Init_ex);
-int
-HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md)
-{
- if (key && md)
- HMAC_CTX_init(ctx);
- return HMAC_Init_ex(ctx, key, len, md, NULL);
-}
-LCRYPTO_ALIAS(HMAC_Init);
-
int
HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
{
-/* $OpenBSD: hmac.h,v 1.19 2024/07/09 07:57:57 tb Exp $ */
+/* $OpenBSD: hmac.h,v 1.20 2024/08/31 10:42:21 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
void HMAC_CTX_free(HMAC_CTX *ctx);
int HMAC_CTX_reset(HMAC_CTX *ctx);
-int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md)
- __attribute__ ((__bounded__(__buffer__, 2, 3)));
int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md,
ENGINE *impl)
__attribute__ ((__bounded__(__buffer__, 2, 3)));