Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c102 if (bufUsed >= sizeof(*image) && image->aosp.magic == NANOAPP_AOSP_MAGIC && in handleEncrypt()
103 image->aosp.header_version == 1 && image->layout.magic == GOOGLE_LAYOUT_MAGIC) { in handleEncrypt()
110 if ((image->aosp.flags & NANOAPP_SIGNED_FLAG) != 0) { in handleEncrypt()
114 if ((image->aosp.flags & NANOAPP_ENCRYPTED_FLAG) != 0) { in handleEncrypt()
119 image->aosp.flags |= NANOAPP_ENCRYPTED_FLAG; in handleEncrypt()
169 image->aosp.header_version == 1 && image->aosp.magic == NANOAPP_AOSP_MAGIC && in handleDecrypt()
172 if (!(image->aosp.flags & NANOAPP_ENCRYPTED_FLAG)) { in handleDecrypt()
176 image->aosp.flags &= ~NANOAPP_ENCRYPTED_FLAG; in handleDecrypt()
/device/linaro/hikey/installer/
Dflash-all.sh14 PTABLE=ptable-aosp-8g.img
19 PTABLE=ptable-aosp-4g.img
/device/google/contexthub/firmware/src/
DappSec.c222 struct nano_app_binary_t *aosp; in appSecProcessIncomingHdr() local
231 aosp = &image->aosp; in appSecProcessIncomingHdr()
232 flags = aosp->flags; in appSecProcessIncomingHdr()
233 if (aosp->header_version != 1 || in appSecProcessIncomingHdr()
234 aosp->magic != NANOAPP_AOSP_MAGIC || in appSecProcessIncomingHdr()
309 .appId = aosp->app_id, in appSecProcessIncomingHdr()
312 .appVer = aosp->app_version, in appSecProcessIncomingHdr()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c251 if (!(image->aosp.flags & NANOAPP_SIGNED_FLAG)) { in handleVerify()
329 if (!(image->aosp.flags & NANOAPP_SIGNED_FLAG)) { in handleSign()
337 image->aosp.flags |= NANOAPP_SIGNED_FLAG; in handleSign()
524 image->aosp.header_version == 1 && in main()
525 image->aosp.magic == NANOAPP_AOSP_MAGIC && in main()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h131 struct nano_app_binary_t aosp; member
/device/linaro/hikey/
DREADME8 $ wget https://dl.google.com/dl/android/aosp/linaro-hikey-20160226-67c37b1a.tgz
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c430 .aosp = (struct nano_app_binary_t) { in handleApp()
492 .aosp = (struct nano_app_binary_t) { in handleKey()
524 .aosp = (struct nano_app_binary_t) { in handleOs()