panda/crypto
kernyan e0dd55841a Fixed undefined reference error when "make recover" in EON
In fd233832ef
the linker flag -lgcc might not work on EON as it does not have the
correct library.

The fix was a workaround in sha.c such that we no longer need to import
function __aeabi_llsr from library, by replacing right shift operation
with const argument.

E.g.,
uint64_t a = b >> i // requires __aeabi_llsr from libgcc
uint64_t a = b >> 2 // does not require external library

Resolves: #522
2019-02-13 00:43:30 -08:00
..
getcertheader.py add release cert support 2017-04-28 15:06:01 -07:00
hash-internal.h add crypto stuff to ESP as well 2017-04-27 22:06:31 -07:00
rsa.c fix warnings in board build 2017-05-01 22:59:10 -07:00
rsa.h add crypto stuff to ESP as well 2017-04-27 22:06:31 -07:00
sha.c Fixed undefined reference error when "make recover" in EON 2019-02-13 00:43:30 -08:00
sha.h add crypto stuff to ESP as well 2017-04-27 22:06:31 -07:00
sign.py signature check works 2017-04-27 23:27:42 -07:00
stdint.h add crypto stuff to ESP as well 2017-04-27 22:06:31 -07:00