intel / intel/tee-io-validator
[Minor] stream_id takes parameter in decimal format only. It would be nice to support hex format as well
Open
- Dominant language
- C
- Stars
- 41
- Forks
- 18
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 1
Description
// stream_id
sprintf(entry_name, "stream_id");
if (!GetDecimalUint32FromDataFile(context, (uint8_t *)section_name, (uint8_t *)entry_name, &data32))
{
TEEIO_DEBUG((TEEIO_DEBUG_ERROR, "[%s] stream_id is missing.\n", section_name));
}
if(data32 > MAX_STREAM_ID) {
TEEIO_DEBUG((TEEIO_DEBUG_ERROR, "[%s] stream_id(%d) shall be in [0, 255].\n", section_name, data32));
}
topology->stream_id = data32;
Contributor guide
Assessment
This issue has not been assessed yet.