emse-sas / sca_framework

Demonstration application for RO and TDC based SCA attack on the AES 128
MIT License
1 stars 0 forks source link

Argument parsing memory management #1

Closed samiBendou closed 3 years ago

samiBendou commented 4 years ago

Reproduce the bug : cmd_issue_0

The bug happens while executing the last command

Expected result :

aes -k 0x00d1 -p 0x00f1 -h
*** Start hardware AES ***
Key : 0x00D10000 0x00000000 0x00000000 0x00000000
Plain : 0x00F10000 0x00000000 0x00000000 0x00000000
samiBendou commented 3 years ago

The function HEX_bytes_to_words causes the bug, since we use it again, we have regressed

samiBendou commented 3 years ago

Annotation 2020-08-14 143507