Searched refs:encodeKeyValue (Results 1 – 4 of 4) sorted by relevance
/trusty/user/base/lib/apploader_package/include/apploader/ |
D | cbor.h | 345 void encodeKeyValue(int64_t key, Fn fn) { in encodeKeyValue() function 354 void encodeKeyValue(int64_t key, int64_t val) { in encodeKeyValue() function 360 void encodeKeyValue(int64_t key, int val) { in encodeKeyValue() function 361 encodeKeyValue(key, (int64_t)val); in encodeKeyValue() 364 void encodeKeyValue(int64_t key, __UNUSED bool val) { in encodeKeyValue() function 371 void encodeKeyValue(int64_t key, const char* val) { in encodeKeyValue() function 559 void encodeKeyValue(int64_t key, Fn fn) { in encodeKeyValue() function 565 void encodeKeyValue(int64_t key, int val) { in encodeKeyValue() function 566 encodeKeyValue(key, (int64_t)val); in encodeKeyValue() 569 void encodeKeyValue(int64_t key, int64_t val) { in encodeKeyValue() function [all …]
|
/trusty/user/base/app/apploader/tests/cbor_test/ |
D | cbor_test.cpp | 210 enc.encodeKeyValue(key, key); in TEST() 218 enc.encodeKeyValue(key, [&](auto& kvenc) { in TEST() 221 innerenc.encodeKeyValue(key, key); in TEST() 234 enc.encodeKeyValue(key, key); in TEST() 243 enc.encodeKeyValue(key, [&](auto& kvenc) { in TEST() 247 innerenc.encodeKeyValue(key, key); in TEST() 264 enc.encodeKeyValue(1, 1); in TEST()
|
/trusty/user/base/lib/apploader_package/ |
D | cose.cpp | 250 enc.encodeKeyValue(COSE_LABEL_KID, [&](auto& enc) { in coseSignEcDsa() 827 enc.encodeKeyValue(COSE_LABEL_IV, in coseEncryptAesGcm() 883 enc.encodeKeyValue(COSE_LABEL_KEY_KTY, COSE_KEY_TYPE_SYMMETRIC); in coseEncryptAesGcmKeyWrap() 884 enc.encodeKeyValue(COSE_LABEL_KEY_ALG, COSE_VAL_CIPHER_ALG); in coseEncryptAesGcmKeyWrap() 885 enc.encodeKeyValue(COSE_LABEL_KEY_SYMMETRIC_KEY, [&](auto& enc) { in coseEncryptAesGcmKeyWrap() 893 enc.encodeKeyValue(COSE_LABEL_KID, [&](auto& enc) { in coseEncryptAesGcmKeyWrap() 901 enc.encodeKeyValue(COSE_LABEL_ALG, COSE_VAL_CIPHER_ALG); in coseEncryptAesGcmKeyWrap()
|
/trusty/user/base/app/apploader/package_tool/ |
D | apploader_package_tool.cpp | 265 enc.encodeKeyValue(COSE_LABEL_ALG, COSE_VAL_SIGN_ALG); in sign_package() 266 enc.encodeKeyValue(COSE_LABEL_TRUSTY, [&](auto& enc) { in sign_package() 397 enc.encodeKeyValue( in update_header_content_is_cose_encrypt() 670 enc.encodeKeyValue(COSE_LABEL_ALG, COSE_VAL_CIPHER_ALG); in encrypt_package() 671 enc.encodeKeyValue(COSE_LABEL_TRUSTY, "TrustyApp"); in encrypt_package()
|