Skip to content

Commit 14fdd3a

Browse files
committed
actually send the data to the chip
1 parent 6cf0cdd commit 14fdd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ECCX08.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ int ECCX08Class::AESBlockMultiplication(byte H[], byte block[])
637637
byte data[32];
638638
memcpy(data, H, 16);
639639
memcpy(data+16, block, 16);
640-
if (!sendCommand(0x51, 0x03, 0xFFFF, block, 16)) {
640+
if (!sendCommand(0x51, 0x03, 0xFFFF, data, 32)) {
641641
return 0;
642642
}
643643

0 commit comments

Comments
 (0)