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) |
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.
|
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(). |
|
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(). |
|
Check the authenticity of a message signature using a given public key.
Definition at line 68 of file cryptostub.c. Referenced by authenticate_verify(), crypto_init(), and register_verify(). |
|
Check the authenticity of a message signature using a given public key.
Definition at line 71 of file cryptostub.c. Referenced by __ast_check_signature(), check_key(), and crypto_init(). |
|
Definition at line 83 of file cryptostub.c. Referenced by check_key(), and crypto_init(). |
|
Definition at line 80 of file cryptostub.c. Referenced by crypto_init(), and update_key(). |
|
Retrieve a key.
Definition at line 65 of file cryptostub.c. Referenced by authenticate(), authenticate_verify(), check_key(), crypto_init(), register_verify(), and update_key(). |
|
Definition at line 74 of file cryptostub.c. Referenced by authenticate(), and crypto_init(). |
|
Definition at line 77 of file cryptostub.c. Referenced by __ast_sign(), crypto_init(), and update_key(). |