Home
last modified time | relevance | path

Searched refs:blob_length (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp211 auto blob_length = blob.size(); in serializeParamValue() local
212 if (blob_length > std::numeric_limits<uint32_t>::max()) { in serializeParamValue()
216 buffer = blob_length; in serializeParamValue()
223 blob_length) { // overflow check in serializeParamValue()
231 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue()
321 uint32_t blob_length = 0; in deserializeParamValue() local
323 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue()
324 blob->resize(blob_length); in deserializeParamValue()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp213 auto blob_length = blob.size(); in serializeParamValue() local
214 if (blob_length > std::numeric_limits<uint32_t>::max()) { in serializeParamValue()
218 buffer = blob_length; in serializeParamValue()
224 uint32_t(offset) + uint32_t(blob_length) < uint32_t(offset)) { // overflow check in serializeParamValue()
232 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue()
336 uint32_t blob_length = 0; in deserializeParamValue() local
338 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue()
339 blob->resize(blob_length); in deserializeParamValue()