Skip to content

Commit c4e9ca4

Browse files
committed
Fix some errors in the doc edits
1 parent 026fa2d commit c4e9ca4

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

doc/dox_comments/header_files/ed448.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ int wc_ed448_make_key(WC_RNG* rng, int keysize, ed448_key* key);
9999
bytes written to out upon successfully generating a message signature.
100100
\param [in] key Pointer to a private ed448_key with which to generate the
101101
signature.
102+
\param [in] context Pointer to the buffer containing the context for which
103+
message is being signed.
104+
\param [in] contextLen Length of the context buffer.
102105
103106
_Example_
104107
\code

doc/dox_comments/header_files/memory.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@ void* wolfSSL_Malloc(size_t size, void* heap, int type);
4747
\param ptr pointer to the memory to be freed.
4848
\param heap heap hint to use for memory. Can be NULL
4949
\param type dynamic type (see DYNAMIC_TYPE_ list in types.h)
50-
\param func name of calling function (for allocation tracking)
51-
\param line source line number of call site
5250
5351
_Example_
5452
\code
5553
int* tenInts = (int*)wolfSSL_Malloc(sizeof(int)*10);
5654
// process data as desired
5755
...
5856
if(tenInts) {
59-
wolfSSL_Free(tenInts);
57+
wolfSSL_Free(tenInts, NULL, DYNAMIC_TYPE_TMP_BUFFER);
6058
}
6159
\endcode
6260
@@ -67,8 +65,7 @@ void* wolfSSL_Malloc(size_t size, void* heap, int type);
6765
\sa XFREE
6866
\sa XREALLOC
6967
*/
70-
void wolfSSL_Free(void *ptr, void* heap, int type, const char* func,
71-
unsigned int line);
68+
void wolfSSL_Free(void *ptr, void* heap, int type);
7269

7370
/*!
7471
\ingroup Memory

doc/dox_comments/header_files/random.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
\sa wc_FreeNetRandom
2626
*/
27-
int wc_InitNetRandom(const char*, wnr_hmac_key, int);
27+
int wc_InitNetRandom(const char* configFile, wnr_hmac_key hmac_cb, int timeout);
2828

2929
/*!
3030
\ingroup Random

doc/dox_comments/header_files/wolfio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ int EmbedSend(WOLFSSL* ssl, char* buf, int sz, void* ctx);
115115
\sa wolfSSL_SSLSetIORecv
116116
\sa wolfSSL_dtls_get_current_timeout
117117
*/
118-
int EmbedReceiveFrom(WOLFSSL *ssl, char *buf, int sz, void *ctx);
118+
int EmbedReceiveFrom(WOLFSSL* ssl, char* buf, int sz, void* ctx);
119119

120120
/*!
121121
\brief This function is the send embedded callback.
@@ -189,8 +189,8 @@ int EmbedSendTo(WOLFSSL* ssl, char* buf, int sz, void* ctx);
189189
190190
\sa wolfSSL_CTX_SetGenCookie
191191
*/
192-
int EmbedGenerateCookie(WOLFSSL* ssl, byte *buf,
193-
int sz, void *ctx);
192+
int EmbedGenerateCookie(WOLFSSL* ssl, byte* buf,
193+
int sz, void* ctx);
194194

195195
/*!
196196
\brief This function frees the response buffer.

0 commit comments

Comments
 (0)