sync
This commit is contained in:
parent
2a351e0cdc
commit
f57be82572
704 changed files with 20524 additions and 10572 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: hkdf.c,v 1.9 2023/06/01 02:34:23 tb Exp $ */
|
||||
/* $OpenBSD: hkdf.c,v 1.10 2023/07/07 13:54:46 beck Exp $ */
|
||||
/* Copyright (c) 2014, Google Inc.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
|
@ -42,6 +42,7 @@ HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
|
|||
|
||||
return 1;
|
||||
}
|
||||
LCRYPTO_ALIAS(HKDF);
|
||||
|
||||
/* https://tools.ietf.org/html/rfc5869#section-2.2 */
|
||||
int
|
||||
|
@ -63,6 +64,7 @@ HKDF_extract(uint8_t *out_key, size_t *out_len,
|
|||
*out_len = len;
|
||||
return 1;
|
||||
}
|
||||
LCRYPTO_ALIAS(HKDF_extract);
|
||||
|
||||
/* https://tools.ietf.org/html/rfc5869#section-2.3 */
|
||||
int
|
||||
|
@ -118,3 +120,4 @@ HKDF_expand(uint8_t *out_key, size_t out_len,
|
|||
CRYPTOerror(ERR_R_CRYPTO_LIB);
|
||||
return ret;
|
||||
}
|
||||
LCRYPTO_ALIAS(HKDF_expand);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue