Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dserializable.cpp76 if (available_write() < size) { in reserve()
77 size_t new_size = buffer_size_ + size - available_write(); in reserve()
113 size_t Buffer::available_write() const { in available_write() function in keymaster::Buffer
125 if (available_write() < write_length) return false; in write()
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp65 const uint8_t* end = info.peek_write() + info.available_write(); in BuildAesGcmInfo()
103 if (!HKDF_expand(keyEncryptionKey.peek_write(), keyEncryptionKey.available_write(), // in DeriveAesGcmKeyEncryptionKey()
Docb_utils.cpp120 if (tag->available_write() != OCB_TAG_LENGTH) return KM_ERROR_INVALID_ARGUMENT; in OcbEncryptKey()
/system/keymaster/km_openssl/
Decdsa_operation.cpp97 if (!data_.write(input.peek_read(), min(data_.available_write(), input.available_read()))) in StoreData()
/system/keymaster/include/keymaster/
Dserializable.h238 size_t available_write() const;