projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added silcapputil.[ch] for application utility functions for
[silc.git]
/
lib
/
silccrypt
/
silcpkcs.h
diff --git
a/lib/silccrypt/silcpkcs.h
b/lib/silccrypt/silcpkcs.h
index 43d602aafc6ec8b6913728106ba9d60df90dfe26..7b704b44608341b20a170e2aa0c00b22aebfeea8 100644
(file)
--- a/
lib/silccrypt/silcpkcs.h
+++ b/
lib/silccrypt/silcpkcs.h
@@
-399,7
+399,8
@@
const char *silc_pkcs_get_name(SilcPKCS pkcs);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
- * Returns SILC style public key.
+ * Returns SILC style public key. The caller must free the returned
+ * data.
*
***/
unsigned char *silc_pkcs_get_public_key(SilcPKCS pkcs, SilcUInt32 *len);
*
***/
unsigned char *silc_pkcs_get_public_key(SilcPKCS pkcs, SilcUInt32 *len);
@@
-413,7
+414,8
@@
unsigned char *silc_pkcs_get_public_key(SilcPKCS pkcs, SilcUInt32 *len);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
- * Returns SILC style private key.
+ * Returns SILC style private key. The caller must free the returned
+ * data and SHOULD zero the memory area before freeing.
*
***/
unsigned char *silc_pkcs_get_private_key(SilcPKCS pkcs, SilcUInt32 *len);
*
***/
unsigned char *silc_pkcs_get_private_key(SilcPKCS pkcs, SilcUInt32 *len);