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

  /system/keymaster/km_openssl/
block_cipher_operation.cpp 150 caller_iv_(caller_iv), tag_length_(tag_length), data_started_(false), padding_(padding),
199 if (tag_length_ > 0) return KM_ERROR_VERIFICATION_FAILED;
289 assert(tag_length_ > 0);
421 if (!output->reserve(input.available_read() + block_size_bytes() + tag_length_)) {
429 if (tag_length_ > 0) {
430 if (!output->reserve(tag_length_)) return KM_ERROR_MEMORY_ALLOCATION_FAILED;
432 if (!EVP_CIPHER_CTX_ctrl(&ctx_, EVP_CTRL_GCM_GET_TAG, tag_length_, output->peek_write()))
434 if (!output->advance_write(tag_length_)) return KM_ERROR_UNKNOWN_ERROR;
454 if (tag_length_ > 0) {
455 tag_buf_.reset(new (std::nothrow) uint8_t[tag_length_]);
    [all...]
block_cipher_operation.h 107 const size_t tag_length_; member in class:keymaster::BlockCipherEvpOperation
159 size_t tag_buf_unused() { return tag_length_ - tag_buf_len_; }

Completed in 513 milliseconds