forked from wolfSSL/wolfssl
Merge pull request #1943 from abrahamsonn/doxygen-update
Doxygen update
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@ -313,3 +313,8 @@ wolfcrypt/src/port/intel/qat_test
|
||||
# Arduino Generated Files
|
||||
/IDE/ARDUINO/wolfSSL
|
||||
scripts/memtest.txt
|
||||
|
||||
# Doxygen generated files
|
||||
doc/doxygen_warnings
|
||||
doc/html
|
||||
doc/pdf
|
||||
|
@ -271,3 +271,130 @@ WOLFSSL_API int wc_DhSetKey(DhKey* key, const byte* p, word32 pSz, const byte* g
|
||||
*/
|
||||
WOLFSSL_API int wc_DhParamsLoad(const byte* input, word32 inSz, byte* p,
|
||||
word32* pInOutSz, byte* g, word32* gInOutSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief This function returns ... and requires that HAVE_FFDHE_2048 be
|
||||
defined.
|
||||
|
||||
\sa wc_Dh_ffdhe3072_Get
|
||||
\sa wc_Dh_ffdhe4096_Get
|
||||
\sa wc_Dh_ffdhe6144_Get
|
||||
\sa wc_Dh_ffdhe8192_Get
|
||||
*/
|
||||
WOLFSSL_API const DhParams* wc_Dh_ffdhe2048_Get(void);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief This function returns ... and requires that HAVE_FFDHE_3072 be
|
||||
defined.
|
||||
|
||||
\sa wc_Dh_ffdhe2048_Get
|
||||
\sa wc_Dh_ffdhe4096_Get
|
||||
\sa wc_Dh_ffdhe6144_Get
|
||||
\sa wc_Dh_ffdhe8192_Get
|
||||
*/
|
||||
WOLFSSL_API const DhParams* wc_Dh_ffdhe3072_Get(void);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief This function returns ... and requires that HAVE_FFDHE_4096 be
|
||||
defined.
|
||||
|
||||
\sa wc_Dh_ffdhe2048_Get
|
||||
\sa wc_Dh_ffdhe3072_Get
|
||||
\sa wc_Dh_ffdhe6144_Get
|
||||
\sa wc_Dh_ffdhe8192_Get
|
||||
*/
|
||||
WOLFSSL_API const DhParams* wc_Dh_ffdhe4096_Get(void);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief This function returns ... and requires that HAVE_FFDHE_6144 be
|
||||
defined.
|
||||
|
||||
\sa wc_Dh_ffdhe2048_Get
|
||||
\sa wc_Dh_ffdhe3072_Get
|
||||
\sa wc_Dh_ffdhe4096_Get
|
||||
\sa wc_Dh_ffdhe8192_Get
|
||||
*/
|
||||
WOLFSSL_API const DhParams* wc_Dh_ffdhe6144_Get(void);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief This function returns ... and requires that HAVE_FFDHE_8192 be
|
||||
defined.
|
||||
|
||||
\sa wc_Dh_ffdhe2048_Get
|
||||
\sa wc_Dh_ffdhe3072_Get
|
||||
\sa wc_Dh_ffdhe4096_Get
|
||||
\sa wc_Dh_ffdhe6144_Get
|
||||
*/
|
||||
WOLFSSL_API const DhParams* wc_Dh_ffdhe8192_Get(void);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief Checks DH keys for pair-wise consistency per process in SP 800-56Ar3,
|
||||
section 5.6.2.1.4, method (b) for FFC.
|
||||
*/
|
||||
WOLFSSL_API int wc_DhCheckKeyPair(DhKey* key, const byte* pub, word32 pubSz,
|
||||
const byte* priv, word32 privSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
|
||||
\brief Check DH private key for invalid numbers
|
||||
*/
|
||||
WOLFSSL_API int wc_DhCheckPrivKey(DhKey* key, const byte* priv, word32 pubSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhCheckPrivKey_ex(DhKey* key, const byte* priv, word32 pubSz,
|
||||
const byte* prime, word32 primeSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhCheckPubKey(DhKey* key, const byte* pub, word32 pubSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhCheckPubKey_ex(DhKey* key, const byte* pub, word32 pubSz,
|
||||
const byte* prime, word32 primeSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhExportParamsRaw(DhKey* dh, byte* p, word32* pSz,
|
||||
byte* q, word32* qSz, byte* g, word32* gSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhGenerateParams(WC_RNG *rng, int modSz, DhKey *dh);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhSetCheckKey(DhKey* key, const byte* p, word32 pSz,
|
||||
const byte* g, word32 gSz, const byte* q, word32 qSz,
|
||||
int trusted, WC_RNG* rng);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_DhSetKey_ex(DhKey* key, const byte* p, word32 pSz,
|
||||
const byte* g, word32 gSz, const byte* q, word32 qSz);
|
||||
|
||||
/*!
|
||||
\ingroup Diffie-Hellman
|
||||
*/
|
||||
WOLFSSL_API int wc_FreeDhKey(DhKey* key);
|
||||
|
@ -18,6 +18,7 @@
|
||||
\defgroup MD4 Algorithms - MD4
|
||||
\defgroup MD5 Algorithms - MD5
|
||||
\defgroup PKCS7 Algorithms - PKCS7
|
||||
\defgroup PKCS11 Algorithms - PKCS11
|
||||
\defgroup Password Algorithms - Password Based
|
||||
\defgroup Poly1305 Algorithms - Poly1305
|
||||
\defgroup RIPEMD Algorithms - RIPEMD
|
||||
|
@ -12,41 +12,45 @@
|
||||
*/
|
||||
/*!
|
||||
\page wolfcrypt_API wolfCrypt API Reference
|
||||
- \ref ASN
|
||||
- \ref Base_Encoding
|
||||
- \ref Compression
|
||||
- \ref Error
|
||||
- \ref Keys
|
||||
- \ref Logging
|
||||
- \ref Math
|
||||
- \ref Random
|
||||
- \ref Signature
|
||||
- \ref wolfCrypt
|
||||
|
||||
- \ref DES
|
||||
- \ref AES
|
||||
- \ref ARC4
|
||||
- \ref BLAKE2
|
||||
- \ref Camellia
|
||||
- \ref ChaCha
|
||||
- \ref ChaCha20Poly1305
|
||||
- \ref Curve25519
|
||||
- \ref DSA
|
||||
- \ref Diffie-Hellman
|
||||
- \ref ECC
|
||||
- \ref ED25519
|
||||
- \ref HC128
|
||||
- \ref HMAC
|
||||
- \ref IDEA
|
||||
- \ref MD2
|
||||
- \ref MD4
|
||||
- \ref MD5
|
||||
- \ref Password
|
||||
- \ref PKCS7
|
||||
- \ref Poly1305
|
||||
- \ref Rabbit
|
||||
- \ref RIPEMD
|
||||
- \ref RSA
|
||||
- \ref SHA
|
||||
- \ref SRP
|
||||
<ul>
|
||||
<li>\ref ASN</li>
|
||||
<li>\ref Base_Encoding</li>
|
||||
<li>\ref Compression</li>
|
||||
<li>\ref Error</li>
|
||||
<li>\ref Keys</li>
|
||||
<li>\ref Logging</li>
|
||||
<li>\ref Math</li>
|
||||
<li>\ref Random</li>
|
||||
<li>\ref Signature</li>
|
||||
<li>\ref wolfCrypt</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>\ref DES</li>
|
||||
<li>\ref AES</li>
|
||||
<li>\ref ARC4</li>
|
||||
<li>\ref BLAKE2</li>
|
||||
<li>\ref Camellia</li>
|
||||
<li>\ref ChaCha</li>
|
||||
<li>\ref ChaCha20Poly1305</li>
|
||||
<li>\ref Curve25519</li>
|
||||
<li>\ref DSA</li>
|
||||
<li>\ref Diffie-Hellman</li>
|
||||
<li>\ref ECC</li>
|
||||
<li>\ref ED25519</li>
|
||||
<li>\ref HC128</li>
|
||||
<li>\ref HMAC</li>
|
||||
<li>\ref IDEA</li>
|
||||
<li>\ref MD2</li>
|
||||
<li>\ref MD4</li>
|
||||
<li>\ref MD5</li>
|
||||
<li>\ref Password</li>
|
||||
<li>\ref PKCS7</li>
|
||||
<li>\ref PKCS11</li>
|
||||
<li>\ref Poly1305</li>
|
||||
<li>\ref Rabbit</li>
|
||||
<li>\ref RIPEMD</li>
|
||||
<li>\ref RSA</li>
|
||||
<li>\ref SHA</li>
|
||||
<li>\ref SRP</li>
|
||||
</ul>
|
||||
*/
|
||||
|
43
doc/dox_comments/header_files/pkcs11.h
Normal file
43
doc/dox_comments/header_files/pkcs11.h
Normal file
@ -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);
|
@ -907,6 +907,10 @@ WOLFSSL_API int wolfSSL_CTX_use_PrivateKey_file(WOLFSSL_CTX*, const char*, int);
|
||||
read, or is corrupted.
|
||||
\return MEMORY_E will be returned if an out of memory condition occurs.
|
||||
\return ASN_INPUT_E will be returned if Base16 decoding fails on the file.
|
||||
\return ASN_BEFORE_DATE_E will be returned if the current date is before the
|
||||
before date.
|
||||
\return ASN_AFTER_DATE_E will be returned if the current date is after the
|
||||
after date.
|
||||
\return BUFFER_E will be returned if a chain buffer is bigger than the
|
||||
receiving buffer.
|
||||
\return BAD_PATH_ERROR will be returned if opendir() fails when trying
|
||||
|
@ -5,6 +5,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen $doxygenversion"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
|
||||
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
|
||||
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
|
||||
|
@ -5,17 +5,17 @@
|
||||
\mainpage This Documentation Covers %wolfSSL, %wolfCrypt, and %CertManager API
|
||||
|
||||
\section apiRef API Reference
|
||||
<!-- <a href="">Encryption API reference</a><br> -->
|
||||
<!-- <a href="">SSL/TLS API reference</a><br> -->
|
||||
<a href="http://wolfssl.com/doxygen/modules.html">Complete API Reference</a><br>
|
||||
<a href="http://wolfssl.com/doxygen/annotated.html">wolfSSL Data Structures</a><br>
|
||||
<a href="http://wolfssl.com/doxygen/pages.html">Useful guides/documentation</a><br>
|
||||
<a href="https://www.wolfssl.com/doxygen/modules.html">Complete API Reference</a><br>
|
||||
<a href="https://www.wolfssl.com/doxygen/wolfssl_API.html">wolfSSL API Reference</a><br>
|
||||
<a href="https://www.wolfssl.com/doxygen/wolfcrypt_API.html">wolfCrypt API Reference</a><br>
|
||||
<a href="https://www.wolfssl.com/doxygen/annotated.html">wolfSSL Data Structures</a><br>
|
||||
<a href="https://www.wolfssl.com/doxygen/pages.html">Useful guides/documentation</a><br>
|
||||
|
||||
<br>
|
||||
|
||||
\subsection website Useful Links
|
||||
https://wolfssl.com/wolfSSL/Home.html - Main website<br>
|
||||
https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-17-wolfssl-api-reference.html - %wolfSSL Manual<br>
|
||||
https://www.wolfssl.com/docs/wolfssl-manual/ch18/ - wolfCrypt Manual<br>
|
||||
https://www.wolfssl.com/ - Main website<br>
|
||||
https://www.wolfssl.com/docs/wolfssl-manual/ - %wolfSSL Manual<br>
|
||||
https://www.wolfssl.com/docs/wolfssl-manual/ch10/ - wolfCrypt Usage Reference<br>
|
||||
https://github.com/wolfssl/wolfssl.git - Git repository
|
||||
*/
|
||||
|
Reference in New Issue
Block a user