1
0
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:
Jochen Hoenicke 2016-04-25 17:49:17 +02:00
parent 6f66162e93
commit a90257c422

View File

@ -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;