Lines Matching refs:blob
30 #include <security_utilities/blob.h>
86 // kernel returns a blob header with magic == 0, length == needed size
95 const BlobCore *blob = (const BlobCore *)buffer;
96 if (blob->length() < sizeof(*blob))
97 fail("runt entitlement blob returned from kernel");
98 if (blob->magic() == kSecCodeMagicEntitlement)
99 fwrite(blob+1, blob->length() - sizeof(*blob), 1, stdout);
101 printf("Entitlement blob type 0x%x not understood\n", blob->magic());