kdf: Add input check for hkdf.
* cipher/kdf.c (hkdf_open): Validate the output size.
In RFC 5869, section 2.3, it specifies: L <= 255*HashLen.
- Reported-by: Guido Vranken <guidovranken@gmail.com>
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
kdf: Add input check for hkdf. Tags None Subscribers None
Description
Details
|