summaryrefslogtreecommitdiffstats
path: root/crypto/ec_signature_creator_openssl.cc
Commit message (Collapse)AuthorAgeFilesLines
* crypto: Implement ECSignatureCreatorImpl for OpenSSLdigit@chromium.org2013-10-251-6/+59
| | | | | | | | | | BUG=306176 TEST=crypto_unittests --gtest_filter=ECSignatureCreatorTest.* R=rsleevi@chromium.org,agl@chromium.org,wtc@chromium.org Review URL: https://codereview.chromium.org/43663005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231048 0039d316-1c4b-4281-b951-d872f2087c98
* crypto: add DecodeSignature and use SHA-256 with ECDSA.agl@chromium.org2012-09-191-0/+6
| | | | | | | | | | | | | | | | This changes ECSignatureCreator to use the hash function that SPDY expects (SHA-256). There are no other users of ECSignatureCreator in the tree so I'm going to defer making these choices parameters until there's a benefit to be had. It also adds DecodeSignature to convert from ASN.1 signatures to the `raw' form that SPDY needs. BUG=none Review URL: https://chromiumcodereview.appspot.com/10910226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157551 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SpdySession::WriteCredentialFrame ECPrivateKey creation args.mattm@chromium.org2012-02-281-12/+6
| | | | | | | | | | | | | | | It was passing the DER certificate instead of a SubjectPublicKeyInfo. Also adds ECSignatureCreator::SetFactoryForTesting method to allow easier testing of code that uses ECSignatureCreator. BUG=none TEST=SpdyHttpStreamTest.SendCredentialsEC Review URL: http://codereview.chromium.org/9455006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123940 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wrong parameter from ECSignatureCreator's constructor in openssl ↵jnd@chromium.org2012-01-251-4/+2
| | | | | | | | | | | | | implement. The wrong parameter was unused and broke the linux redux build. TBR=wtc BUG=None. TEST=Linux redux bot should be green. Review URL: https://chromiumcodereview.appspot.com/9234024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119053 0039d316-1c4b-4281-b951-d872f2087c98
* Create a new ECSignatureCreator class for signing content using EC crypto.rch@chromium.org2012-01-251-0/+33
Review URL: http://codereview.chromium.org/9240029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118964 0039d316-1c4b-4281-b951-d872f2087c98