[PATCH] Small bug fixes for ECDH

Werner Koch wk at gnupg.org
Wed Apr 23 14:22:53 CEST 2014


On Wed, 23 Apr 2014 12:33, gniibe at fsij.org said:

>     (len - 10) is length of the header and content.
>     So, it's not 11 but 10 which should be subtracted.

Ohhh.  My fault I guess.

> (2) According to RFC 6637, "Algorithm-Specific Fields for ECDH" are:
>
>     * an ephemeral public key
>
>     then,
>
>     * symmetric key info (size, key)

I don't understand that.  Why do we need to swap the parameters.  was
there a regression?

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list