Home
last modified time | relevance | path

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

/system/keymaster/
Drsa_operation.cpp454 size_t bytes_to_compare = bytes_decrypted; in VerifyUndigested() local
456 if (padding_ == KM_PAD_NONE && data_.available_read() < bytes_to_compare) { in VerifyUndigested()
460 const uint8_t* zero_end = compare_pos + bytes_to_compare - data_.available_read(); in VerifyUndigested()
463 bytes_to_compare = data_.available_read(); in VerifyUndigested()
465 if (memcmp_s(compare_pos, data_.peek_read(), bytes_to_compare) != 0 || zero_check_result != 0) in VerifyUndigested()