diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-07 23:04:01 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-07 23:04:01 +0000 |
commit | 595d13f8764d5e41ffbe2d8fc078ba31417d560d (patch) | |
tree | 0c7204d7e3713b731a0855eca39d8930798cdc6c /res/res_crypto.c | |
parent | 9d14a34591010092472183bea6ee6ad749ec6409 (diff) |
Add another big set of doxygen documentation improvements from snuffy.
(closes issue #9892)
(closes issue #10395)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78541 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_crypto.c')
-rw-r--r-- | res/res_crypto.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/res/res_crypto.c b/res/res_crypto.c index 65c5b768d..4ad6885c5 100644 --- a/res/res_crypto.c +++ b/res/res_crypto.c @@ -102,6 +102,16 @@ static AST_RWLIST_HEAD_STATIC(keys, ast_key); * \param userdata * \return length of string,-1 on failure */ + + +/*! + * \brief setting of priv key + * \param buf + * \param size + * \param rwflag + * \param userdata + * \return length of string,-1 on failure +*/ static int pw_cb(char *buf, int size, int rwflag, void *userdata) { struct ast_key *key = (struct ast_key *)userdata; @@ -283,6 +293,10 @@ static struct ast_key *try_load_key(char *dir, char *fname, int ifd, int ofd, in * \brief signs outgoing message with public key * \see ast_sign_bin */ +/*! + * \brief signs outgoing message with public key + * \see ast_sign_bin +*/ static int __ast_sign_bin(struct ast_key *key, const char *msg, int msglen, unsigned char *dsig) { unsigned char digest[20]; |