[openssl-users] Doubt regarding Export keying material

Raja ashok raja.ashok at huawei.com
Tue Mar 14 14:32:27 UTC 2017

Hi All,

I am having a doubt in usage of Exporting keying material API (SSL_export_keying_material) in OpenSSL. Please provide your suggestions.

As per Section 4 in RFC 5705, context length should be passed as uint16_t to PRF function. In that case we should allow only upto max of 2^16 (65535). So user should not pass more than 65535 value to “plen” in SSL_export_keying_material right ?

Please provide your valuable suggestion on this. I am referring 1.0.2k version of OpenSSL.

Thanks & Regards,


Raja Ashok V K
Huawei Technologies
Bangalore, India
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170314/713aab2c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6737 bytes
Desc: image001.jpg
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170314/713aab2c/attachment-0001.jpg>

More information about the openssl-users mailing list