From c4919d191b16acbc420549e1fa57bdb5ecf7b673 Mon Sep 17 00:00:00 2001 From: abrahamsonn Date: Wed, 28 Nov 2018 13:36:00 -0700 Subject: [PATCH] Added doxygen comment page The new doxygen comment page (pkcs11.h) lets Doxygen know when running that there are new API and that they will need a page created. --- doc/dox_comments/header_files/pkcs11.h | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 doc/dox_comments/header_files/pkcs11.h diff --git a/doc/dox_comments/header_files/pkcs11.h b/doc/dox_comments/header_files/pkcs11.h new file mode 100644 index 000000000..784b13217 --- /dev/null +++ b/doc/dox_comments/header_files/pkcs11.h @@ -0,0 +1,43 @@ +/*! + \ingroup PKCS11 +*/ +WOLFSSL_API int wc_Pkcs11_Initialize(Pkcs11Dev* dev, const char* library, + void* heap); + +/*! + \ingroup PKCS11 +*/ +WOLFSSL_API void wc_Pkcs11_Finalize(Pkcs11Dev* dev); + +/*! + \ingroup PKCS11 +*/ +WOLFSSL_API int wc_Pkcs11Token_Init(Pkcs11Token* token, Pkcs11Dev* dev, + int slotId, const char* tokenName, const unsigned char *userPin, + int userPinSz); + +/*! + \ingroup PKCS11 +*/ +WOLFSSL_API void wc_Pkcs11Token_Final(Pkcs11Token* token); + +/*! + \ingroup PKCS11 + */ +WOLFSSL_API int wc_Pkcs11Token_Open(Pkcs11Token* token, int readWrite); + +/*! + \ingroup PKCS11 + */ +WOLFSSL_API void wc_Pkcs11Token_Close(Pkcs11Token* token); + +/*! + \ingroup PKCS11 + */ +WOLFSSL_API int wc_Pkcs11StoreKey(Pkcs11Token* token, int type, int clear, + +/*! + \ingroup PKCS11 + */ +WOLFSSL_API int wc_Pkcs11_CryptoDevCb(int devId, wc_CryptoInfo* info, + void* ctx);