|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#include <pke.h>Go to the source code of this file.
| enum ECDSA_RET_CODE |
| uint32_t ecdsa_sign | ( | eccp_curve_t * | curve, |
| uint8_t * | E, | ||
| uint32_t | EByteLen, | ||
| uint8_t * | rand_k, | ||
| uint8_t * | priKey, | ||
| uint8_t * | signature | ||
| ) |
| uint32_t ecdsa_verify | ( | eccp_curve_t * | curve, |
| uint8_t * | E, | ||
| uint32_t | EByteLen, | ||
| uint8_t * | pubKey, | ||
| uint8_t * | signature | ||
| ) |