mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
Temporarily override the blake2s trampoline
This commit is contained in:
parent
b602de145c
commit
632bd33b9b
@ -14,6 +14,7 @@
|
|||||||
#include "proto.h"
|
#include "proto.h"
|
||||||
#include "rng.h"
|
#include "rng.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
|
#include "syscall.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
@ -419,7 +420,8 @@ int main(void)
|
|||||||
print_hw_version();
|
print_hw_version();
|
||||||
|
|
||||||
// Let the app know the function address for blake2s()
|
// Let the app know the function address for blake2s()
|
||||||
*fw_blake2s_addr = (uint32_t)blake2s;
|
*fw_blake2s_addr = (uint32_t)syscall;
|
||||||
|
/**fw_blake2s_addr = (uint32_t)blake2s;*/
|
||||||
|
|
||||||
/*@-mustfreeonly@*/
|
/*@-mustfreeonly@*/
|
||||||
/* Yes, splint, this points directly to RAM and we don't care
|
/* Yes, splint, this points directly to RAM and we don't care
|
||||||
|
Loading…
Reference in New Issue
Block a user