1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

demo: fix crypto call

This commit is contained in:
Pavol Rusnak 2018-09-05 19:07:17 +02:00
parent 2310d96ee1
commit d07d865155
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -269,7 +269,7 @@ int main(void)
switch (state) { switch (state) {
case 1: case 1:
layoutProgress("WORKING", frame % 41 * 25); layoutProgress("WORKING", frame % 41 * 25);
pbkdf2_hmac_sha512(pass, passlen, salt, saltlen, 100, seed); pbkdf2_hmac_sha512(pass, passlen, salt, saltlen, 100, seed, 64);
usbd_ep_write_packet(usbd_dev, 0x81, seed, 64); usbd_ep_write_packet(usbd_dev, 0x81, seed, 64);
break; break;
} }