diff options
| author | tb <> | 2021-12-12 21:27:38 +0000 |
|---|---|---|
| committer | tb <> | 2021-12-12 21:27:38 +0000 |
| commit | e6d34a52bf003f2e199023dc166779f5d25bfcff (patch) | |
| tree | 110aa6f619f19831c621f32e98d757ca15d75e3e /src/lib/libcrypto/hkdf/hkdf.c | |
| parent | 16b11d832d894bdfee31b512ec2c24f6045b7a9c (diff) | |
| download | openbsd-e6d34a52bf003f2e199023dc166779f5d25bfcff.tar.gz openbsd-e6d34a52bf003f2e199023dc166779f5d25bfcff.tar.bz2 openbsd-e6d34a52bf003f2e199023dc166779f5d25bfcff.zip | |
Add a mostly empty hmac_local.h. HMAC_CTX and a few other things
from hmac.h will be moved there in an umpcoming bump. Include this
file where it will be needed.
ok inoguchi
Diffstat (limited to 'src/lib/libcrypto/hkdf/hkdf.c')
| -rw-r--r-- | src/lib/libcrypto/hkdf/hkdf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hkdf/hkdf.c b/src/lib/libcrypto/hkdf/hkdf.c index e912481d48..f33ba79891 100644 --- a/src/lib/libcrypto/hkdf/hkdf.c +++ b/src/lib/libcrypto/hkdf/hkdf.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: hkdf.c,v 1.5 2021/08/27 16:12:33 tb Exp $ */ | 1 | /* $OpenBSD: hkdf.c,v 1.6 2021/12/12 21:27:37 tb Exp $ */ |
| 2 | /* Copyright (c) 2014, Google Inc. | 2 | /* Copyright (c) 2014, Google Inc. |
| 3 | * | 3 | * |
| 4 | * Permission to use, copy, modify, and/or distribute this software for any | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
| @@ -21,6 +21,8 @@ | |||
| 21 | #include <openssl/err.h> | 21 | #include <openssl/err.h> |
| 22 | #include <openssl/hmac.h> | 22 | #include <openssl/hmac.h> |
| 23 | 23 | ||
| 24 | #include "hmac_local.h" | ||
| 25 | |||
| 24 | /* https://tools.ietf.org/html/rfc5869#section-2 */ | 26 | /* https://tools.ietf.org/html/rfc5869#section-2 */ |
| 25 | int | 27 | int |
| 26 | HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, | 28 | HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, |
