Searched refs:max_bytes (Results 1 – 1 of 1) sorted by relevance
281 uint32_t number_of_operations, max_bytes, bytes_left, remaining_bytes; in tegra_se_calculate_sha256_hash() local293 max_bytes = (SHA256_HASH_SIZE_BYTES * SHA256_MSG_LENGTH_ONETIME); in tegra_se_calculate_sha256_hash()316 number_of_operations = (src_len_inbyte / max_bytes); in tegra_se_calculate_sha256_hash()317 remaining_bytes = (src_len_inbyte % max_bytes); in tegra_se_calculate_sha256_hash()355 if (len_bits_lsb <= (max_bytes * 8U)) { in tegra_se_calculate_sha256_hash()358 len_bits_lsb -= (max_bytes * 8U); in tegra_se_calculate_sha256_hash()364 max_bytes = (SHA256_HASH_SIZE_BYTES * in tegra_se_calculate_sha256_hash()366 if (bytes_left < max_bytes) { in tegra_se_calculate_sha256_hash()367 max_bytes = bytes_left; in tegra_se_calculate_sha256_hash()370 bytes_left = bytes_left - max_bytes; in tegra_se_calculate_sha256_hash()[all …]