| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| | |
Android 7.1.1 release 4
# gpg: Signature made Thu Dec 1 13:07:10 2016 CST
# gpg: using DSA key E8AD3F819AB10E78
# gpg: Can't check signature: No public key
|
| | |
| |
| |
| |
| |
| |
| | |
b/31208182
Change-Id: I737156aa09345389777ae22b9a8614dfcf8439a5
(cherry picked from commit a23b44c8a5ba14b86d79813f66586774044b0576)
|
| |\|
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/system/keymaster into 71
Android 7.1.0 release 4
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: c8905b663d
* commit 'c8905b663d57b82afc8fadd72db85eb54c098637':
Handle 64-bit attestation values on 32-bit platforms.
Change-Id: I35d328574ce361159ebbcf78932f51a83cc1aa86
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: d487dc9e95
* commit 'd487dc9e95162f249048bd31d4191a0d50b77496':
Add key usage extension to attestation certificates.
Change-Id: I176d672267ed8b3bbff14466ad02c8285f098f52
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 32fabdcc35
* commit '32fabdcc35dfd138e01e39803b98ecf34a314244':
Reject too-large key attestation challenges.
Change-Id: Iafb41716f5b7006f714648cb06cdbe45d0bf05da
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: eabae3005e
* commit 'eabae3005e170c757d779ef83813644f3fdd3e35':
Revert "Revert "Add authority key ID to attestation certificates.""
Change-Id: I308755e9144d0f07aa076ef26e317060624803fa
|
| | |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
am: 7b7ab0d
* commit '7b7ab0d1015bd60704d5e594ff39f2f34d8f556a':
Revert "Add authority key ID to attestation certificates."
Change-Id: I85eeb6d016e10974f807a37f726d39bfc5c62aae
|
| | |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: ec4c9ef
* commit 'ec4c9efca70fd6077ac996f3e487c2c979793bdc':
Add EC curve tag to keymaster1 SoftKeymaster1 attestations.
Fix SoftKeymaster handling of EC curve specification.
Change-Id: Ib93d86a3c240c003aaf966caa7a44148a85b60d0
|
| | |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
am: fed2be4
* commit 'fed2be428f769650ca07c3858ef40880bba2ed18':
Add authority key ID to attestation certificates.
Change-Id: I59d32e10a93470a9a39d3644efb4ec41596e50e0
|
| |\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/
|/| | | | | | | | |
|
| | |\ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/
| |/| | | | | | | |
|
| | | |\ \ \ \ \ \ \ |
|
| | | | |\ \ \ \ \ \ \
| | | |/ / / / / / /
| | |/| | | | | | | |
|
| | | |\| | | | | | |
| | | |_|_|_|_|_|/
| | |/| | | | | | |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit fed2be428f769650ca07c3858ef40880bba2ed18 because it broke the ryu build in some very non-obvious way.
Change-Id: Ia7d697233a9f43365edb395a893f2a46d9303f61
|
| | | | |\ \ \ \ \ \
| | | | |_|_|/ / /
| | | |/| | | | | |
|
| | | | | |\ \ \ \ \ |
|
| | | | | | |\ \ \ \ \
| | | | | |/ / / / /
| | | | |/| | | | | |
|
| | | | | |\| | | | |
| | | | | |/ / / /
| | | | |/| | | | |
|
| | | | | | |\ \ \ \ |
|
| | | | | | | |\ \ \ \ |
|
| | | | | | | | |\ \ \ \ |
|
| | | | | | | | | |\ \ \ \ |
|
| | | | | | | | | | |\ \ \ \
| | | | | | | | | |/ / / /
| | | | | | | | |/| | | | |
|
| | | | | | | | | |\ \ \ \ \ |
|
| | | | | | | | | | |\| | | | |
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This reverts commit fc3cafd487e69c84d83444e1d129d0ab131c4e3d.
Change-Id: I1fb38db044c4039be04d1f75fb89ca9a6404321f
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This reverts commit d3ee550ac91a5c21343d9885a0e231281057e916.
Change-Id: Iac1ec8025d5411050fc599273995baa9cf575dc9
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This reverts commit 4d0465999644336d636442a86795293298b22035.
Change-Id: I53d386e0d95c25e794ef88801d80e80ccfeea768
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This reverts commit 7989c2bf8ad56518465b96bba61432de1a66bbf1.
Change-Id: Ia7f1aef880187c3ef7c399121edb11cf7d16b654
|
| |/ / / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
The BN_set_word OpenSSL function takes an unsigned long, which on 32-bit
platforms (like fugu) is 32 bits, causing 64-bit values to be
truncated. This CL adds a function that handles the conversion
correctly on 32-bit platforms, and fails hard on platforms whose
unsigned long is neither 64 nor 32 bits.
Bug: 28558974
Change-Id: Iac2b23cf2cac3c035b3636ddd135666aaf15b40d
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
SoftKeymaster doesn't add the key usage extension to attestation
certificates, as required by RFC 5280 and the attestation design doc.
Bug: 28366730
Change-Id: Ic782a032c8b39754d60bca98126acff7b3179678
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | |
|
| | | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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
|
| | |_|_|_|_|_|_|_|_|/
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This reverts commit 31746ba6432c624f57df2a6cfb584490095bb849.
The original commit was reverted because it caused breakage in the ryu
build, due to some functions missing from the dragon-tlk libc. The
missing functions were added in
https://chrome-internal-review.googlesource.com/257127
|
| |\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
|
| | | |_|_|_|_|_|_|/
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit fed2be428f769650ca07c3858ef40880bba2ed18 because it broke the ryu build in some very non-obvious way.
Change-Id: Ia7d697233a9f43365edb395a893f2a46d9303f61
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* changes:
Add EC curve tag to keymaster1 SoftKeymaster1 attestations.
Fix SoftKeymaster handling of EC curve specification.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Key attestations for EC keys must include the EC curve tag, which didn't
exist in keymaster1. When SoftKeymaster produces attestations for
keymaster1 keys, it must deduce the curve (based on key size; the
mapping is unambiguous) and add the curve tag to the attestation.
Bug: 28366732
Change-Id: I8705aac6cf39b82754ee2c9f17d60484d3263ece
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Keymaster2 should accept EC curve specification either by key size (as
done in KM1) or with the new KM_TAG_EC_CURVE, filling in the other value
if not specified, and validating that they match if both are
provided. SoftKeymaster doesn't correctly implement this KM2
requirement.
Bug: 28365747
Change-Id: I27d98b71730b69bb2f0c2543af6c027b1a5670f1
|
| |/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The attestation certificate chain produced by softkeymaster is hard to
verify because the leaf certificate does not contain the X509v3 Key
Authority ID extension, which provides the ID of the signing key. This
isn't strictly required by the standard, but many tools get badly
confused without the ID extension, including openssl.
Bug: 28321678
Change-Id: I91136f08eaf0b81b5443753488beb8a40af60e6c
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Compiler can optimize away pointer overflow checks. Cast pointers
to uintptr_t to make sure this doesn't happen.
Bug: 27774248
Change-Id: Ib1d054ea5586cf110ae6cbbcd8ca1cd9e157c170
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ie1ee2e701a7f10da31a9b448987953dd025f8a11
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: If0f3bc12380b8b65bf1e60d5d8d039eb972c8a15
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This CL updates the attestation record content and format to match the
final version published in the keymaster2 implementation guide.
Change-Id: I112c7557b1c650420fd2fad78c8ed3fc9e34f24e
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Key agreement (ECDH) has been punted from the N release, and a
configuration method has been added to support version binding.
Change-Id: Ie3219e9a5062c2f2bc4e298cd88af764f4c3809c
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 22914603
Change-Id: I5ad9a97dd1eebb45c05eeaa4ceccfebcf4b69e03
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 26862905
Change-Id: I05823b07fbbc957b7f4b7eacb9f25c1d869a8045
|