cert_tool: Fix ECDSA certificates create failure
authorQixiang Xu <qixiang.xu@arm.com>
Fri, 22 Sep 2017 08:21:41 +0000 (16:21 +0800)
committerQixiang Xu <qixiang.xu@arm.com>
Mon, 9 Oct 2017 05:30:31 +0000 (13:30 +0800)
commit1727de0e59930a60c2c03fd843ddc506d902db6a
tree6659ab34b7d8927fccdc66c997663d3679b7acea
parentd9066b4248dbe88198ba5b6f6ed800d9fd8492f5
cert_tool: Fix ECDSA certificates create failure

Commit a8eb286adaa73e86305317b9cae15d41c57de8e7 introduced the
following error when creating ECDSA certificates.
    ERROR:   Error creating key 'Trusted World key'
    Makefile:634: recipe for target 'certificates' failed
    make: *** [certificates] Error 1

this patch adds the function to create PKCS#1 v1.5.

Change-Id: Ief96d55969d5e9877aeb528c6bb503b560563537
Signed-off-by: Qixiang Xu <qixiang.xu@arm.com>
tools/cert_create/src/key.c