mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
Updated mktable to new api
This commit is contained in:
parent
6f66162e93
commit
a90257c422
@ -2,8 +2,8 @@
|
||||
#include <assert.h>
|
||||
#include "bignum.h"
|
||||
#include "ecdsa.h"
|
||||
#include "rand.h"
|
||||
#include "bip32.h"
|
||||
#include "rand.h"
|
||||
|
||||
/*
|
||||
* This program prints the contents of the ecdsa_curve.cp array.
|
||||
@ -17,7 +17,8 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
const char *name = argv[1];
|
||||
const curve_info *curve = get_curve_by_name(name);
|
||||
const curve_info *info = get_curve_by_name(name);
|
||||
const ecdsa_curve *curve = info->params;
|
||||
if (curve == 0) {
|
||||
printf("Unknown curve '%s'\n", name);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user