Add dedicated X25519 function to Libcgrypt
Open, HighPublic


Doing ECDH is a bit complicated right now. We should provide an API aligned with the X25519 function from the RFC7748

werner created this task.Dec 17 2018, 10:06 AM
werner renamed this task from Add dedicated X25519 fucntion to Libcgrypt to Add dedicated X25519 function to Libcgrypt .
gniibe claimed this task.Jun 3 2019, 6:15 AM

Thanks for taking this one.

Shall we use secure buffer?

Perhaps, returning allocated memory is not good. Filling the buffer for output would be better.

Would it be good to have interface for getting buffer size for different algos in this new interface? ... Similar as 'gcry_md_get_algo_dlen' for digest results.

Thanks, that's a good point. I'm adding gcry_ecc_get_algo_keylen.
I also changing the API for output (not allocating a buffer, but filling the buffer provided).

gniibe changed the task status from Open to Testing.Jun 25 2019, 5:46 AM
werner changed the task status from Testing to Open.Thu, Jan 7, 10:58 AM

gcry_ecc_get_algo_keylen has been added with commit a658c9ccc2c741f40b0b5cdbcd184cfb9a841d17 but documentation is missing.

werner moved this task from Backlog to For 1.9 on the libgcrypt board.Thu, Jan 7, 11:40 AM