ReactOS 0.4.16-dev-197-g92996da
|
#include <pk_internal.h>
Definition at line 61 of file pk_internal.h.
int(* mbedtls_pk_info_t::can_do) (mbedtls_pk_type_t type) |
Tell if the context implements this type (e.g. ECKEY can do ECDSA)
Definition at line 73 of file pk_internal.h.
Check public-private key pair
Definition at line 115 of file pk_internal.h.
Allocate a new context
Definition at line 118 of file pk_internal.h.
Free the given context
Definition at line 121 of file pk_internal.h.
Interface with the debug module
Definition at line 132 of file pk_internal.h.
int(* mbedtls_pk_info_t::decrypt_func) (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
Definition at line 103 of file pk_internal.h.
int(* mbedtls_pk_info_t::encrypt_func) (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
Definition at line 109 of file pk_internal.h.
Get key size in bits
Definition at line 70 of file pk_internal.h.
Type name
Definition at line 67 of file pk_internal.h.
int(* mbedtls_pk_info_t::sign_func) (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
Definition at line 81 of file pk_internal.h.
mbedtls_pk_type_t mbedtls_pk_info_t::type |
Public key type
Definition at line 64 of file pk_internal.h.
int(* mbedtls_pk_info_t::verify_func) (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
Definition at line 76 of file pk_internal.h.