History log of /external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3e864353764fcc44f9fc8e81b257b486cc249b44 07-Jun-2018 nagendra modadugu <ngm@google.com> keymaster: remove unused buffer and blockMode fields

Some build targets are stricter and failing on
initialized but unused private class variables.

Change-Id: I741dad483fb95a13acbcd8b383879f1fb71528f3
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
fe116590a6d86d2feb7dd2cb3bf7cba8277afbac 07-Jun-2018 Allen Webb <allenwebb@google.com> Keymaster HAL: fixed stoi exception.

Bug: 109835434

Change-Id: Ia910eda79b1b32f2faf8473be8af254e665aa0f0
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
5104bbcd7dead2f1a2d5e8d173fdcd629ecdf0fc 06-Jun-2018 nagendra modadugu <ngm@google.com> keymaster: rpc scaffolding for attestation

Bug: 38428944
Change-Id: I7b9522eb3c3a75fe2e64b3c913d4b179d6bcb1ee
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
9d75b7da31faed0571ae99cd4ec0e0410cfd274f 05-Jun-2018 nagendra modadugu <ngm@google.com> keymaster: add rsa and ec support to update()

Bug: 79945189
Change-Id: I6e02b63abdf55a48b8fe8b2bd1717b8f2e656bd7
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
6c9d8bdf0280c1df243589d22198de8d41d056da 03-Jun-2018 nagendra modadugu <ngm@google.com> keymaster: add buffering layer

Optimize ciphering by adding a buffering layer.

Change-Id: Iff23de5dc66dba8081a1cb27221816d6f2dbec31
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
835426245da702f1ea63d86c6c8f5b695adde4f8 01-Jun-2018 Allen Webb <allenwebb@google.com> Keymaster HAL: Fix the format of the OS version.

Change-Id: I4e5d77849aeb376a0faff0f1c6fdec836c9efccb
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
b5ec912b4b1c2a6b782cef6aefead5c1e2ea928b 30-May-2018 Allen Webb <allenwebb@google.com> keymaster: Added GetBootInfo.

Change-Id: I45af466232de0b7d31145069c0c3a543f08b2236
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
2a2d419413e60b54c2296979499bc833beed6b56 29-May-2018 nagendra modadugu <ngm@google.com> keymaster: fix typo, use vendor_patchlevel

Change-Id: I68eb3ac185461415fb4ab17869430d5eb6168fa9
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
6f869fdf9bbbdd7d9f8568e36da4aa7f9a872bbd 25-May-2018 Allen Webb <allenwebb@google.com> hals: KeymasterDevice: Utilize the SetSystemVersionInfo() RPC.

Change-Id: I66de4310515d2bb470526d44ea9faabcc450458c
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
3f96bd7d0d29008a0f70d012db283074b8bdc870 25-May-2018 Allen Webb <allenwebb@google.com> hals: KeymasterDevice.cpp: Post merge nits.

Change-Id: I7449ace133bba8cb3c734f050b72de9419aaaac6
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
8fb68f1d9b29eb9845ffd2ed7ef90aa00de649c2 25-May-2018 Allen Webb <allenwebb@google.com> hal: KeymasterDevice: Fetch os_version, os_patchlevel, and vendor_patchlevel.

Change-Id: I2cc4461f5ae26b8a41b0ef56afe6455a27565341
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
24945eaa687f20fe4715f28fb3255ab43a08e2fe 17-May-2018 nagendra modadugu <ngm@google.com> keymaster: fill in auth and verification tokens

Pass auth & verification tokens through the
begin/update/final calls.

Bug: 37427639
Change-Id: I5cd1fa8ac0f49460b56e843e078c62b001b53e42
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
da932b97b175eab8fa548b5143fc481a5f7fb2b6 14-Apr-2018 Janis Danisevskis <jdanis@google.com> Add HMAC sharing glue to keymaster hal

Test: VtsHalKeymasterV4_0TargetTest --hal_service_instance android.hardware.keymaster@4.0::IKeymasterDevice/strongbox
Change-Id: Iddc631834177ae0aba69245dde0337d5cfb67168
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
f5127a38e4b51c9691d2c7bdd0bd38e25d8268d4 25-Jan-2018 nagendra modadugu <ngm@google.com> keymaster: add support for ExportKey

Implement ExportKey (RSA and EC keys in DER form).
Also some tweaks to get DES working.

Change-Id: I9b3b0243d15a960124b628efc86195be8fc059b8
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
19439678954d1342c671f1db407f23aa42b9a8cd 18-Jan-2018 nagendra modadugu <ngm@google.com> keymaster: limit the input message size

Bail early on large inputs.

Change-Id: I36bbe4e230b1b8ac6d0df66b7d7f841283d992cd
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
9c231ef1cb51252c4f84db851d04b8021791789e 20-Jan-2018 nagendra modadugu <ngm@google.com> keymaster: update interface to ImportWrappedKey

Sync with the latest HAL revision.

Change-Id: I268d5d21596f7dd5d8aee08e16a1237f5a401050
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
e2914e4fca50dce31eb3bfd404372ceea0e11e75 03-Jan-2018 nagendra modadugu <ngm@google.com> keymaster: cleanups to get import key working

ImportKey vts tests now partly pass with this
change. The remaining will pass once Begin()
etc. have been committed.

Change-Id: I20be098d5b288a435fdae87a907e904fce2fe054
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
f110176a87bb9a24302a8852ef27df21eaec36ec 05-Jan-2018 nagendra modadugu <ngm@google.com> keymaster: repace references to KM V3 with V4

The KM V4 HAL no longer references V3 types.

Change-Id: I115aec9fc68ab2daeb07aeaa20a82740cf1bcf10
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
07be7f1acffbe7e075b78693594d433bb179455c 28-Dec-2017 nagendra modadugu <ngm@google.com> keymaster: replace uint32 with ErrorCode enum

The response error_code used to be an int,
replace with an enum since this is what it is.

Change-Id: Iabf344d0d7754868afeb1e5c9bc25a4d917f7e20
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
56e75d59690cafa7698ce8ce04e77cbe90dc77d9 22-Dec-2017 nagendra modadugu <ngm@google.com> keymaster: switch Algorithm to the 3.0 HAL type

DES is yet to be added to the KM 4.0 HAL.
So avoid referencing it for now.

Change-Id: I339096ca647eb1457a7728b914eaa21041be1c62
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
ec6673068d33b2be6fbfbabff35ac2381f158c3f 05-Dec-2017 nagendra modadugu <ngm@google.com> keymaster: update to KM4 HAL & add ImportWrappedKey

Change-Id: Ie378a105bdcf12c5f7ce9a4d1de2a92d14465392
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
e3ef46996fc73b2d643072dd27df90008566c1db 26-Oct-2017 nagendra modadugu <ngm@google.com> keymaster: use enums from keymaster_defs.proto

Change-Id: I82e5ba5f15de309dd82c5fd0eaf63e8feb14cb82
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
8e96ff0cb0621346fb870c7f87b32f394d270885 09-Oct-2017 Andrew Scull <ascull@google.com> Port to new libnos platform abstraction.

Change-Id: I887895c1406ac08cfb310afbd97da086fbb91d6a
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
dc620df6e9c3d833f8ba7fb5050195de8abf4b54 29-Sep-2017 Andrew Scull <ascull@google.com> Refactor the libnos API.

Bug: 67077504
Test: mm
Change-Id: I3b5501f22a8f6562e55d16951c654990fedb4c72
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
9747140b96a6e1c0207d6c1b867dedc65921746e 27-Sep-2017 nagendra modadugu <ngm@google.com> keymaster: implementation and test for ImportKey

This is an initial implementation for ImportKey,
some support libraries, and a test.

The implementation includes some input validation
code that would need to be duplicated in citadel, and
thus could be removed from here (but will leave for
now, and update depending on how the other methods
shape up).

Change-Id: I1cd554d6101fd60b740b7665e3d9889138c79c5b
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
284b9394ba182b5b3340c5eb881cabf9a21f16c1 27-Sep-2017 nagendra modadugu <ngm@google.com> keymaster: base hal implementation

Bare bones HAL implementation.

Should mostly be there now except for
ImportKey and ExportKey which will utilize
ASN.1 on the host.

No tests yet!

Change-Id: I6d71d33de040d3da680300a1e3cabd5050ee9acc
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
8a88337b69b286732a2fc749f96b20ffaf2d5b75 19-Sep-2017 nagendra modadugu <ngm@google.com> keymaster: add impl & test for getHardwareFeatures

Change-Id: Iefc0ccb7978dd26b4d65d6cecb1666183a402877
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
9e8c856c6df9edf0d5d8f70e4ee707e0859b42f8 19-Sep-2017 nagendra modadugu <ngm@google.com> keymaster: build fixups for keymaster hal

Fixup build files to get Keymaster to compile.

Change-Id: I85bbb1ebeb70843bc475a582be644f37256b4976
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp
3a47ea510377783f97d891500a87765ac23a6742 23-Aug-2017 Andrew Scull <ascull@google.com> Restructure with `hals` directory.

Move the HALs into a directory for clarity and hygiene.

Test: mm
Change-Id: Ie3cc78202b20a0211dc858ff036f63289a7dbd9f
/external/nos/host/android/hals/keymaster/KeymasterDevice.cpp