Wiselib
|
#include <ecdsafp.h>
Public Types | |
typedef OsModel_P | OsModel |
Public Member Functions | |
void | sign (uint8_t *msg, uint8_t len, NN_DIGIT *r, NN_DIGIT *s, NN_DIGIT *d) |
ECDSA Functionality Public Key (Assymetric) Digital Signature Algorithm based on elliptic curve cryptography Alice generates a signature (r,s) on message m using her private key Bob verifies the signature (r,s) on message m using alice's public key. | |
uint8_t | verify (uint8_t *msg, uint8_t len, NN_DIGIT *r, NN_DIGIT *s, Point *Q) |
void | key_setup (uint8_t seed) |
Construction / Destruction | |
ECDSA () | |
~ECDSA () | |
Control | |
void | enable (void) |
void | disable (void) |
ECDSA Algorithm.
A Public Key (Assymetric) Digital Signature Algorithm based on elliptic curve cryptography.
typedef OsModel_P wiselib::ECDSA< OsModel_P >::OsModel |
wiselib::ECDSA< OsModel_P >::ECDSA | ( | ) |
wiselib::ECDSA< OsModel_P >::~ECDSA | ( | ) |
void wiselib::ECDSA< OsModel_P >::disable | ( | void | ) |
void wiselib::ECDSA< OsModel_P >::enable | ( | void | ) |
void wiselib::ECDSA< OsModel_P >::key_setup | ( | uint8_t | seed | ) |
uint8_t wiselib::ECDSA< OsModel_P >::verify | ( | uint8_t * | msg, |
uint8_t | len, | ||
NN_DIGIT * | r, | ||
NN_DIGIT * | s, | ||
Point * | Q | ||
) |