Home
last modified time | relevance | path

Searched refs:payloadSize (Results 1 – 2 of 2) sorted by relevance

/trusty/user/base/app/apploader/tests/cbor_test/
Dcbor_test.cpp110 for (uint64_t payloadSize : cases) { in TEST() local
112 cbor::encodeBstrHeader(payloadSize, sizeof(cborBuf), cborBuf); in TEST()
114 cppbor::encodeHeader(cppbor::BSTR, payloadSize, cppborBuf, in TEST()
/trusty/user/base/lib/apploader_package/
Dcose.cpp649 size_t payloadSize = packageSize - kPayloadOffset; in strictCheckEcDsaSignature() local
650 size_t payloadSizeHeaderSize = cbor::encodedSizeOf(payloadSize); in strictCheckEcDsaSignature()
655 cbor::encodeBstrHeader(payloadSize, kMaxPayloadSizeHeaderSize, in strictCheckEcDsaSignature()
660 {packageStart + kPayloadOffset, payloadSize}}); in strictCheckEcDsaSignature()
672 *outPackageSize = payloadSize; in strictCheckEcDsaSignature()