summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/21/changes
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-06-24 12:25:52 -0700
committerAlex Klyubin <klyubin@google.com>2015-06-24 15:42:09 -0700
commitd23dc502b0a1952887d4453cba98aa2e3d2f5009 (patch)
treeec5252f24cf19123d994cd084c18902134734b12 /docs/html/sdk/api_diff/21/changes
parentcede20a7c273279a9bc51750bdd99c1383816e3e (diff)
Make NONEwithECDSA truncate input when necessary.
Keymaster's implementation of ECDSA with digest NONE rejects input longer than group size in bytes. RI's NONEwithECDSA accepts inputs of arbitrary length by truncating them to the above size. This CL makes Android Keystore's NONEwithECDSA do the truncation to keep the JCA and Keymaster happy. The change is inside AndroidKeyStoreECDSASignatureSpi$NONE. All other small modifications are for supporting that change by making it possible for AndroidKeyStoreSignatureSpiBase to pass in the signature being verified into KeyStoreCryptoOperationStreamer. This in turn is needed to make it possible for NONEwithECDSA implementation to provide a wrapper streamer which truncates input. Bug: 22030217 Change-Id: I26064f6df37ef8c631d70a36a356aa0b76a9ad29
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions