summaryrefslogtreecommitdiffstats
path: root/operation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make NONE mean NONE only (not ANY)Shawn Willden2015-07-281-6/+0
| | | | | | | | | | KM_DIGEST_NONE and KM_PAD_NONE have implicit meanings of "any digest" and "any padding", respectively, as well as the expected meanings of "no digest" and "no padding". This CL changes that so they mean only "no digest" and "no padding". Bug: 22556114 Change-Id: I7b0b4c079067d85ba1aa39ae7edf0c6b17a9a500
* Don't enforce purpose, digest or padding on public key operationsShawn Willden2015-06-171-0/+39
| | | | | Bug: 21877150 Change-Id: Iaf00c94aaca892a154aea7aa4e3828bfbd8d9630
* Make KM_PAD_NONE and KM_DIGEST_NONE mean any padding or digest.Shawn Willden2015-06-111-4/+14
| | | | | Bug: 21777596 Change-Id: I3574156902c8e28b42f36462a9aef3f11ce938d3
* Move digest and padding handling to OperationFactory.Shawn Willden2015-06-011-0/+45
| | | | | | | | Moving these methods up from RsaOperationFactory makes them available for EcdsaOperationFactory. Bug: 21048758 Change-Id: I2f77d7c98cd48173e251689997dda6b87b473480
* Another refactor, deleting AbstractFactoryRegistry.Shawn Willden2015-05-311-2/+0
| | | | | | | I should have known better than to make these singletons to begin with. Globals create problems. This undoes that mistake. Change-Id: Idf61d5f72e3c34b5c4ddb27cc94b05f506561743
* Add utility methods in OperationFactory to check mode support.Shawn Willden2015-03-041-0/+27
| | | | Change-Id: I1786a1306c2586f0b30126d6cf0de600a8a583d6
* Refactor operation creation to use an operation factory registry.Shawn Willden2015-02-251-0/+23
Also modify GoogleKeymaster to query the operation factories to get lists of supported modes and digests. Change-Id: Ied30185df5dddaeaeb1106df63237757896d77db