Searched refs:available_write (Results 1 – 5 of 5) sorted by relevance
76 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::Buffer125 if (available_write() < write_length) return false; in write()
65 const uint8_t* end = info.peek_write() + info.available_write(); in BuildAesGcmInfo()103 if (!HKDF_expand(keyEncryptionKey.peek_write(), keyEncryptionKey.available_write(), // in DeriveAesGcmKeyEncryptionKey()
120 if (tag->available_write() != OCB_TAG_LENGTH) return KM_ERROR_INVALID_ARGUMENT; in OcbEncryptKey()
97 if (!data_.write(input.peek_read(), min(data_.available_write(), input.available_read()))) in StoreData()
238 size_t available_write() const;