commit | 8f160a680b855328df7c33b03f8e9c9eefd59a84 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Thu Oct 09 14:50:20 2014 -0400 |
committer | Adam Langley <agl@google.com> | Thu Oct 09 21:52:52 2014 +0000 |
tree | e65f2cda2282d84c5b1ab982be6b610d2e531d5d | |
parent | 2e1594dfb5f4efd9e93f1cc3db04e64f64ace5b4 [diff] |
Add EVP_DigestVerifyInitFromAlgorithm and EVP_DigestSignAlgorithm. Factor the AlgorithmIdentifier portions of ASN1_item_sign and ASN1_item_verify out. This makes it possible to initialize a signature context from an AlgorithmIdentifier without needing the data parsed into an ASN1_ITEM/void* pair and reserialized. Change-Id: Idc2e06b1310a3f801aa25de323d39d2b7a44ef50 Reviewed-on: https://boringssl-review.googlesource.com/1916 Reviewed-by: Adam Langley <agl@google.com>