#include <string.h>
#include "ecs_locl.h"
#include <openssl/engine.h>
#include <openssl/err.h>
#include <openssl/bn.h>
Go to the source code of this file.
ecdsa_check checks whether ECKEY->meth_data is a pointer to a ECDSA_DATA structure and if not it removes the old meth_data and creates a ECDSA_DATA structure.
- Parameters
-
eckey | pointer to a EC_KEY object |
- Returns
- pointer to a ECDSA_DATA structure
Definition at line 192 of file ecs_lib.c.
Returns the default ECDSA method
- Returns
- pointer to ECDSA_METHOD structure containing the default method
Definition at line 80 of file ecs_lib.c.
Sets the default ECDSA method
- Parameters
-
meth | new default ECDSA_METHOD |
Definition at line 75 of file ecs_lib.c.
int ECDSA_set_ex_data |
( |
EC_KEY * |
d, |
|
|
int |
idx, |
|
|
void * |
arg |
|
) |
| |
Sets method to be used for the ECDSA operations
- Parameters
-
eckey | EC_KEY object |
meth | new method |
- Returns
- 1 on success and 0 otherwise
Definition at line 96 of file ecs_lib.c.
int ECDSA_size |
( |
const EC_KEY * |
eckey | ) |
|
Returns the maximum length of the DER encoded signature
- Parameters
-
- Returns
- numbers of bytes required for the DER encoded signature
Definition at line 220 of file ecs_lib.c.
const char ECDSA_version[] ="ECDSA" OPENSSL_VERSION_PTEXT |