summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Eran Messeri <eranm@google.com> 2023-08-30 12:12:29 +0100
committer Prashant Patil <patilprashant@google.com> 2023-09-22 12:09:58 +0000
commitd61656c5002d58816e2b6e1e3dcd46dce1551f35 (patch)
tree8c3cbcadb4ef18a1571af3a97c19b39ab0f1e77b /opengl/java
parent5f42c65ee497d03ebe7dbc89deb0c88cb413c81f (diff)
MGF1 Digest: Add separate setter
Add a separate setter for the digests used by the MGF1 mask generation function (for RSA OAEP operations). Previously the MGF1 digests were specified according to the primary digests specification, which is not accurate enough. With the new setter: * If the user does not explicitly specify MGF1 digests, then the default (SHA-1) will be specified in the tag passed to Keystore. * If the user does explicitly specify MGF1 digests, only those digests will be specified in the tag passed to Keystore. The SHA-1 digest will not be added. Bug: 284140060 Test: atest android.security.keystore.KeyGenParameterSpecTest android.security.ParcelableKeyGenParameterSpecTest Test: atest CtsKeystoreTestCases:android.keystore.cts.CipherTest#testKatBasicWithDifferentProviders Change-Id: I1521e9b4399ece33c2d17b79133543d490d3b377
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions