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);