Commit graph

7 commits

Author SHA1 Message Date
David Benjamin
dc4d142303 Replace custom BoringSSL scopers with bssl::UniquePtr.
BoringSSL already provides C++ scopers.

Test: mma
Change-Id: I34d4ec36fc0b51750560be0886768a83fe69fbf5
2019-08-08 13:13:54 -04:00
Janis Danisevskis
ccfff10f66 Remove use of UniquePtr from keystore
Remove UniquePtr from keystore in favour of std::unique_ptr

Change-Id: I8e02adab4326028e26dbf59ac836679abe2a40de
2017-05-01 12:34:46 -07:00
Kenny Root
47041552bd Revert to old-style API for EC_KEY handling
Nothing using the EVP_PKEY correctly, so we should revert to the EC_KEY
and ECDSA interfaces. Unfortunately, the SSL client certificate library
uses EC_KEY directly, so just having the EVP_PKEY interface doesn't
work.

Remove the EVP_PKEY interface entirely because it just adds complexity
since the EC_KEY path will do the same thing.

Bug: 10655329
Change-Id: I97d17068297c33477b3b9f754f2713fdf258d646
2013-09-07 06:08:45 +00:00
Kenny Root
96427baf00 Add support for DSA and ECDSA key types
(cherry picked from commit 6071179a37)

Bug: 10600582
Change-Id: I0d851bbe1230a31033614c9f9b9de94f1f842618
2013-09-03 00:53:15 -07:00
Kenny Root
9d422a535c Revert "Revert "Split up main engine from methods""
Added missing Android.mk change in this commit.

This reverts commit 1fcabcd327.

Change-Id: I71e7fbc8f80a35b4666af985cffb4e7a2eb5634f
2013-06-27 09:15:49 -07:00
Kenny Root
1fcabcd327 Revert "Split up main engine from methods"
This reverts commit 2715806b17.

Change-Id: I7dfaf2cd97a17913710432007a66fc7df6fcad5d
2013-06-27 16:13:34 +00:00
Kenny Root
2715806b17 Split up main engine from methods
We need to add more methods to the keystore engine, so split out RSA so
it doesn't become too unwieldy.

This doesn't affect the size of the symbol table since the default
visibility for this module is "hidden."

Change-Id: I806553a8d1a01ff0ffd7b67054932ddf783bb502
2013-06-26 15:49:34 -07:00