Stubs for res_crypto routines.
More...
#include "asterisk.h"
#include "asterisk/crypto.h"
#include "asterisk/logger.h"
Go to the source code of this file.
Defines |
#define | build_stub(func_name,...) |
Functions |
| build_stub (ast_check_signature, struct ast_key *key, const char *msg, const char *sig) |
| build_stub (ast_decrypt_bin, unsigned char *dst, const unsigned char *src, int srclen, struct ast_key *key) |
| build_stub (ast_encrypt_bin, unsigned char *dst, const unsigned char *src, int srclen, struct ast_key *key) |
| build_stub (ast_sign_bin, struct ast_key *key, const char *msg, int msglen, unsigned char *sig) |
| build_stub (ast_sign, struct ast_key *key, char *msg, char *sig) |
| build_stub (ast_check_signature_bin, struct ast_key *key, const char *msg, int msglen, const unsigned char *sig) |
static struct ast_key * | stub_ast_key_get (const char *kname, int ktype) |
Variables |
struct ast_key *(* | ast_key_get )(const char *key, int type) |
| Retrieve a key.
|
Detailed Description
Stubs for res_crypto routines.
- Author:
- Mark Spencer <markster@digium.com>
Definition in file cryptostub.c.
Define Documentation
#define build_stub |
( |
|
func_name, |
|
|
|
... |
|
) |
| |
Function Documentation
build_stub |
( |
ast_decrypt_bin |
, |
|
|
unsigned char * |
dst, |
|
|
const unsigned char * |
src, |
|
|
int |
srclen, |
|
|
struct ast_key * |
key |
|
) |
| |
build_stub |
( |
ast_encrypt_bin |
, |
|
|
unsigned char * |
dst, |
|
|
const unsigned char * |
src, |
|
|
int |
srclen, |
|
|
struct ast_key * |
key |
|
) |
| |
build_stub |
( |
ast_sign_bin |
, |
|
|
struct ast_key * |
key, |
|
|
const char * |
msg, |
|
|
int |
msglen, |
|
|
unsigned char * |
sig |
|
) |
| |
static struct ast_key* stub_ast_key_get |
( |
const char * |
kname, |
|
|
int |
ktype |
|
) |
| [static, read] |
Variable Documentation