You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled the library with Keil Arm compiler 5 and then used functions uECC_set_rng, uECC_make_key, uECC_sign and uECC_verify in that sequence.
while in the uECC_sign function I always get a Hardfault. after a little debugging, I found out a null pointer (g_rng_function) is being dereferenced!? which is very strange because it should remain a variable that points out to my random function. however, setting a write-debug point on the memory location of g_rng_function yielded that at some point it's being accessed and set to 0?!
anyways I could not find where this was happening so I just manually edited the source to point to my rand function directly.
The text was updated successfully, but these errors were encountered:
Hello,
I compiled the library with Keil Arm compiler 5 and then used functions
uECC_set_rng
,uECC_make_key
,uECC_sign
anduECC_verify
in that sequence.while in the
uECC_sign
function I always get a Hardfault. after a little debugging, I found out a null pointer (g_rng_function
) is being dereferenced!? which is very strange because it should remain a variable that points out to my random function. however, setting a write-debug point on the memory location ofg_rng_function
yielded that at some point it's being accessed and set to 0?!anyways I could not find where this was happening so I just manually edited the source to point to my rand function directly.
The text was updated successfully, but these errors were encountered: