early-access version 2698
This commit is contained in:
6
externals/libressl/crypto/hkdf/hkdf.c
vendored
6
externals/libressl/crypto/hkdf/hkdf.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: hkdf.c,v 1.4 2019/11/21 20:02:20 tim Exp $ */
|
||||
/* $OpenBSD: hkdf.c,v 1.7 2021/12/12 21:30:14 tb Exp $ */
|
||||
/* Copyright (c) 2014, Google Inc.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
@@ -16,12 +16,14 @@
|
||||
|
||||
#include <openssl/hkdf.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/hmac.h>
|
||||
|
||||
#include "evp_locl.h"
|
||||
#include "hmac_local.h"
|
||||
|
||||
/* https://tools.ietf.org/html/rfc5869#section-2 */
|
||||
int
|
||||
HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
|
||||
|
Reference in New Issue
Block a user