Lines Matching defs:blob
78 * blob.
81 * try to import from the trust blob.
623 * Refer to ./READMEs/README.jit-trust.md for blob layout specification
631 const uint8_t *pskidlen, *pskids, *pder, *blob = (uint8_t *)_blob;
635 /* sanity check blob length and magic */
638 lws_ser_ru32be(blob) != LWS_JIT_TRUST_MAGIC_BE ||
639 lws_ser_ru32be(blob + LJT_OFS_END) != blen) {
640 lwsl_err("%s: blob not sane\n", __func__);
650 certs = (int)lws_ser_ru16be(blob + LJT_OFS_32_COUNT_CERTS);
652 pderlen = (uint16_t *)(blob + lws_ser_ru32be(blob +
654 pskidlen = blob + lws_ser_ru32be(blob + LJT_OFS_32_SKIDLEN);
655 pskids = blob + lws_ser_ru32be(blob + LJT_OFS_32_SKID);
656 pder = blob + LJT_OFS_DER;
664 assert(pskids < blob + blen);
665 assert(pder < blob + blen);
666 assert(pskidlen < blob + blen);
667 assert((uint8_t *)pderlen < blob + blen);