Go to the source code of this file.
Defines | |
#define | AST_KEY_PRIVATE (1 << 1) |
#define | AST_KEY_PUBLIC (1 << 0) |
Variables | |
int(* | ast_check_signature )(struct ast_key *key, const char *msg, const char *sig) |
Check the authenticity of a message signature using a given public key. | |
int(* | ast_check_signature_bin )(struct ast_key *key, const char *msg, int msglen, const unsigned char *sig) |
Check the authenticity of a message signature using a given public key. | |
int(* | ast_decrypt_bin )(unsigned char *dst, const unsigned char *src, int srclen, struct ast_key *key) |
int(* | ast_encrypt_bin )(unsigned char *dst, const unsigned char *src, int srclen, struct ast_key *key) |
struct ast_key *(* | ast_key_get )(const char *key, int type) |
Retrieve a key. | |
int(* | ast_sign )(struct ast_key *key, char *msg, char *sig) |
int(* | ast_sign_bin )(struct ast_key *key, const char *msg, int msglen, unsigned char *sig) |
Definition in file crypto.h.
#define AST_KEY_PRIVATE (1 << 1) |
Definition at line 31 of file crypto.h.
Referenced by __ast_decrypt_bin(), __ast_sign_bin(), authenticate(), check_key(), pw_cb(), try_load_key(), and update_key().
#define AST_KEY_PUBLIC (1 << 0) |
Definition at line 30 of file crypto.h.
Referenced by __ast_check_signature_bin(), __ast_encrypt_bin(), authenticate_verify(), check_key(), register_verify(), show_keys(), try_load_key(), and update_key().
int(* ast_check_signature)(struct ast_key *key, const char *msg, const char *sig) |
int(* ast_check_signature_bin)(struct ast_key *key, const char *msg, int msglen, const unsigned char *sig) |
int(* ast_decrypt_bin)(unsigned char *dst, const unsigned char *src, int srclen, struct ast_key *key) |
int(* ast_encrypt_bin)(unsigned char *dst, const unsigned char *src, int srclen, struct ast_key *key) |
struct ast_key*(* ast_key_get)(const char *key, int type) |
int(* ast_sign_bin)(struct ast_key *key, const char *msg, int msglen, unsigned char *sig) |