Home
last modified time | relevance | path

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

/system/keymaster/
Drsa_operation.cpp465 size_t bytes_to_compare = bytes_decrypted; in VerifyUndigested() local
467 if (padding_ == KM_PAD_NONE && data_.available_read() < bytes_to_compare) { in VerifyUndigested()
471 const uint8_t* zero_end = compare_pos + bytes_to_compare - data_.available_read(); in VerifyUndigested()
474 bytes_to_compare = data_.available_read(); in VerifyUndigested()
476 if (memcmp_s(compare_pos, data_.peek_read(), bytes_to_compare) != 0 || zero_check_result != 0) in VerifyUndigested()