Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore.cpp641 size_t fileLength = encryptedLength + headerLength + mBlob.info; in writeBlob() local
650 size_t writtenBytes = writeFully(out, (uint8_t*) &mBlob, fileLength); in writeBlob()
654 if (writtenBytes != fileLength) { in writeBlob()
655 ALOGW("blob not fully written %zu != %zu", writtenBytes, fileLength); in writeBlob()
675 size_t fileLength = readFully(in, (uint8_t*) &mBlob, sizeof(mBlob)); in readBlob() local
680 if (fileLength == 0) { in readBlob()
689 if (fileLength < headerLength) { in readBlob()
693 ssize_t encryptedLength = fileLength - (headerLength + mBlob.info); in readBlob()
1591 size_t fileLength = readFully(in, (uint8_t*) &mMetaData, sizeof(mMetaData)); in readMetaData() local
1592 if (fileLength != sizeof(mMetaData)) { in readMetaData()
[all …]