diff options
author | Shawn Willden <swillden@google.com> | 2016-04-25 08:56:27 -0600 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2016-04-29 23:19:56 +0000 |
commit | df1adeba7fdff6ae1556f647efb155c71918fa76 (patch) | |
tree | aa061f2c11b1a84366958cac3334c24d41466066 /kdf.cpp | |
parent | 637dd8429285bfdc0b89622476ea94d782b1eb14 (diff) | |
download | android_system_keymaster-df1adeba7fdff6ae1556f647efb155c71918fa76.tar.gz android_system_keymaster-df1adeba7fdff6ae1556f647efb155c71918fa76.tar.bz2 android_system_keymaster-df1adeba7fdff6ae1556f647efb155c71918fa76.zip |
Reject too-large key attestation challenges.
Attestation certificates include an app-provided challenge value, which
is defined in the documentation as an arbitrary byte array between 0 and
128 bytes in length, inclusive. SoftKeymaster does not restrict the
length of challenge values during key attestation, and it should.
Bug: 28369352
Change-Id: Ibf16fb93f3bc82783bcc7736eb6de789be70d7a8
Diffstat (limited to 'kdf.cpp')
0 files changed, 0 insertions, 0 deletions