Commit Graph

3 Commits

Author SHA1 Message Date
Janis Danisevskis
54243610c7 Add localization string for confirmationui.
Bug: 118818420
Test: ConfirmationUITranslations-test.c
Change-Id: I45d96dcce1d459dd889fd48c0724092e642278c2
2019-07-19 15:55:23 -07:00
Chih-Hung Hsieh
40b77ef6b5 Fix implicit fallthrough warnings.
Test: make checkbuild
Bug: 112564944
Change-Id: Iaaa0e2c325e860572d058ae27a7ad7dc00134564
2018-10-15 10:30:38 -07:00
Janis Danisevskis
a9f0fb0db1 Add confirmation UI support libaray
Includes:

A light weight CBOR generator
  This patch adds a header only CBOR generator and unit tests.
  It allows expressing CBOR datastructures in C++ for subsequent
  serialization. The implementation performs no memory allocation
  and only depends on stdint.h (for (u)intx_t) and stddefs.h (for size_t).
  It is tailored for use in constrained environments such as TEEs.

Convenience method for generating a SHA256 HMAC

Bug: 63928580
Test: android.hardware.confirmationui@support-lib-tests
Change-Id: I1d93a85503f861281e71e09b1ede5cbb74219694
2018-01-24 10:10:55 -08:00