ECDH Group 19 (256-bit Elliptic curve) key length
Vishal Kevat via openssl-users <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <DU0PR04MB9442F90BBA5B4F05A760DF84E9DA2@DU0PR04MB9442.eurprd04.prod.outlook.com> |
Hi OpenSSL, I am using group 19 which is ECDH elliptic curve group (NID_X9_62_prime256v1) and is giving 32 bytes/256 bit of shared secret key. I want to use it to work with AES-128 CBC encryption algorithm. As the key length generated by ECDH is 32 bytes, is there any way to generate the key length of 16 bytes/128 bit with group 19 ECDH algorithm? On one of the article, it is mentioned that encryption or authentication algorithms with a 128-bit key to be used for Diffie-Hellman groups 5, 14, 19, 20 or 24. Link: https://community.cisco.com/t5/security-knowledge-base/diffie-hellman-groups/ta-p/3147010 [cid:image001.png-J42APx/[email protected]] Please let me know if group 19 can generate 128 bit key length by any means. Regards, Vishal Kevat General
image001.png
(image/png, 28.1 KB) - not displayed