|
From: GitHub <no...@gi...> - 2015-09-30 06:14:36
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 328176d28b73787a0c74a8f065c5318288c27fd0 https://github.com/OpenSC/OpenSC/commit/328176d28b73787a0c74a8f065c5318288c27fd0 Author: Philip Wendland <wen...@gm...> Date: 2015-09-20 (Sun, 20 Sep 2015) Changed paths: M src/libopensc/asn1.c Log Message: ----------- ECDSA helper functions: strip zeroes when converting from R,S to sequence For ECDSA signatures, there are multiple ways to format the signature: - R|S (R and S filled with zeroes at the most significant bytes) - ASN1 sequence of R,S integers (e.g. used by OpenSSL). It is rare that the filling with zeroes is needed. But if it is, in the second case, the filling zeroes should not be there or the verification of the signature by OpenSSL will fail. Commit: c5cf4f69a27ad545e492c4db6c29c8ef37488624 https://github.com/OpenSC/OpenSC/commit/c5cf4f69a27ad545e492c4db6c29c8ef37488624 Author: Frank Morgner <mo...@in...> Date: 2015-09-30 (Wed, 30 Sep 2015) Changed paths: M src/libopensc/asn1.c Log Message: ----------- Merge pull request #559 from philipWendland/ecc-sig-format ECDSA helper functions: strip zeroes when converting from R,S to sequence Compare: https://github.com/OpenSC/OpenSC/compare/fb705b6a2d4e...c5cf4f69a27a |