Skip to content

Commit

Permalink
Test code clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Aug 18, 2023
1 parent 7b63233 commit e63a9c4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test-app/app_stm32l5.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,25 +130,10 @@ void main(void)
const char TokenPin[] = "0123456789ABCDEF";
const char UserPin[] = "ABCDEF0123456789";

wcs_get_random((void*)&rand, 4);
for (i = 0; i < (rand / 100000000); i++)
;

#if 0
hal_init();
uart_init(115200, 8, 'N', 1);
boot_led_on();
usr_led_on();
boot_led_off();
if (wolfBoot_current_firmware_version() > 1)
boot_led_on();
#endif

wolfCrypt_Init();

PKCS11_d.heap = NULL,
PKCS11_d.func = &wolfpkcs11nsFunctionList;
// ret = wc_Pkcs11Token_Init_NoLogin(&token, &PKCS11_d, 1, "EccKey");

ret = wc_Pkcs11Token_Init(&token, &PKCS11_d, 1, "EccKey",
(const byte*)TokenPin, strlen(TokenPin));
Expand Down

0 comments on commit e63a9c4

Please sign in to comment.