HomeSort by relevance Sort by last modified time
    Searched refs:block_size_bytes (Results 1 - 4 of 4) sorted by null

  /system/keymaster/km_openssl/
aes_operation.h 35 size_t block_size_bytes() const override { return AES_BLOCK_SIZE; }
triple_des_operation.h 35 size_t block_size_bytes() const override { return 8 /* DES_BLOCK_SIZE */; }
block_cipher_operation.cpp 191 if (!output->reserve(block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED;
205 assert(static_cast<size_t>(output_written) <= block_size_bytes());
248 aad_block_buf_.reset(new (std::nothrow) uint8_t[block_size_bytes()]);
263 if (block_mode_ != KM_MODE_GCM && iv_blob.data_length != block_size_bytes()) {
264 LOG_E("Expected %d-byte IV for operation, but got %d bytes", block_size_bytes(),
301 if (aad_block_buf_len_ == block_size_bytes() && !ProcessBufferedAadBlock(error))
305 size_t block_size = block_size_bytes();
340 blocks * block_size_bytes())) {
352 size_t to_buffer = min(block_size_bytes() - aad_block_buf_len_, aad->data_length);
366 if (!output->reserve(input_length + block_size_bytes())) {
    [all...]
block_cipher_operation.h 39 virtual size_t block_size_bytes() const = 0;
101 size_t block_size_bytes() const { return cipher_description_.block_size_bytes(); } function in class:keymaster::BlockCipherEvpOperation

Completed in 877 milliseconds