mbedtls_pk_info_t struct
Public key information and operations
Fields
int (*)( void *ctx, mbedtls_md_type_t md_alg,
const unsigned char *hash, size_t hash_len,
const unsigned char *sig, size_t sig_len )
Verify signature.
int (*)( void *ctx, mbedtls_md_type_t md_alg,
const unsigned char *hash, size_t hash_len,
unsigned char *sig, size_t *sig_len,
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng )
Make signature.
int (*)( void *ctx, const unsigned char *input, size_t ilen,
unsigned char *output, size_t *olen, size_t osize,
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng )
Decrypt message.
int (*)( void *ctx, const unsigned char *input, size_t ilen,
unsigned char *output, size_t *olen, size_t osize,
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng )
Encrypt message.
int (*)( const void *pub, const void *prv )
Check public-private key pair.
Interface with the debug module.
size_t (*)( const void * )
Get key size in bits.
Tell if the context implements this type (e.g. ECKEY can do ECDSA).