pedro-n-rocha / secr

14 stars 7 forks source link

Improve parser robustness in case a tag occurs more than once. #2

Closed LuKePicci closed 5 years ago

LuKePicci commented 5 years ago

Correctly parse eripv2 dumps where the same tag appears more then once. I had some strange parsing errors against a VDNT-O board, where the first OSIK/OSCK occurrence fails the EIK signature check while the last passes. Without this patch the parser always reads data field from the first occurrence of that tag.

pedro-n-rocha commented 5 years ago

thanks, you are welcome :+1: