Home
last modified time | relevance | path

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

/system/security/keystore/
Dblob.h51 struct __attribute__((packed)) blobv3 { struct
75 static_assert(sizeof(blobv3) == sizeof(blobv2) && argument
76 offsetof(blobv3, initialization_vector) == offsetof(blobv2, vector) &&
77 offsetof(blobv3, aead_tag) == offsetof(blobv2, digest) &&
78 offsetof(blobv3, aead_tag) == offsetof(blobv2, encrypted) &&
79 offsetof(blobv3, length) == offsetof(blobv2, length) &&
80 offsetof(blobv3, value) == offsetof(blobv2, value),
110 explicit Blob(blobv3 b);
158 std::unique_ptr<blobv3> mBlob;
Dblob.cpp203 mBlob = std::make_unique<blobv3>(); in Blob()
204 memset(mBlob.get(), 0, sizeof(blobv3)); in Blob()
229 Blob::Blob(blobv3 b) { in Blob()
230 mBlob = std::make_unique<blobv3>(b); in Blob()
239 mBlob = std::make_unique<blobv3>(*rhs.mBlob); in Blob()
249 mBlob = std::make_unique<blobv3>(*rhs.mBlob); in operator =()
309 static ResponseCode writeBlob(const std::string& filename, Blob blob, blobv3* rawBlob, in writeBlob()
333 size_t fileLength = offsetof(blobv3, value) + dataLength + rawBlob->info; in writeBlob()
375 blobv3* rawBlob = keyBlob.mBlob.get(); in writeBlobs()
383 blobv3* rawBlob = characteristicsBlob.mBlob.get(); in writeBlobs()
[all …]
Duser_state.cpp117 blobv3 rawBlob; in copyMasterKeyFile()
162 blobv3 rawBlob; in readMasterKey()