Home
last modified time | relevance | path

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

/trusty/user/base/app/apploader/package_tool/
Dapploader_package_tool.cpp660 auto pkg_info = parse_package(input, true); in encrypt_package() local
676 coseEncryptAesGcmKeyWrap(key, key_id, pkg_info.elf_item, {}, in encrypt_package()
683 std::vector<uint8_t> enc_headers(pkg_info.headers.begin(), in encrypt_package()
684 pkg_info.headers.end()); in encrypt_package()
692 enc.encodeInt(pkg_info.version); in encrypt_package()
695 enc.encodeBstr(pkg_info.manifest); in encrypt_package()
706 auto pkg_info = parse_package(input, true); in decrypt_package() local
728 if (!coseDecryptAesGcmKeyWrapInPlace(pkg_info.elf_item, get_key, {}, false, in decrypt_package()
734 std::vector<uint8_t> dec_headers(pkg_info.headers.begin(), in decrypt_package()
735 pkg_info.headers.end()); in decrypt_package()
[all …]