Lines Matching defs:blob
277 struct __attribute__((packed)) blob { struct
278 uint8_t version;
279 uint8_t type;
280 uint8_t reserved;
281 uint8_t info;
282 uint8_t vector[AES_BLOCK_SIZE];
283 uint8_t encrypted[0]; // Marks offset to encrypted data.
284 uint8_t digest[MD5_DIGEST_LENGTH];
285 uint8_t digested[0]; // Marks offset to digested data.
286 int32_t length; // in network byte order when encrypted
287 uint8_t value[VALUE_SIZE + AES_BLOCK_SIZE];
778 void upgrade(const char* filename, Blob* blob, const uint8_t oldVersion, const BlobType type) { in upgrade()
811 ResponseCode importBlobAsKey(Blob* blob, const char* filename) { in importBlobAsKey()