mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-08 10:09:54 +00:00
Minor improvement in documentation of hardcoded config func ptrs
This commit is contained in:
parent
65f6f38097
commit
572a5d84d6
|
@ -3605,10 +3605,10 @@
|
|||
* If defined,
|
||||
* - MBEDTLS_SSL_CONF_SET_TIMER must evaluate to the name of an externally
|
||||
* defined function with signature
|
||||
* void (*f_set_timer)( void* , uint32_t, uint32_t ),
|
||||
* void f_set_timer( void* , uint32_t, uint32_t ),
|
||||
* * MBEDTLS_SSL_CONF_SEND must evaluate to the name of an externally
|
||||
* defined function with signature
|
||||
* int (*f_get_timer)( void* ).
|
||||
* int f_get_timer( void* ).
|
||||
*/
|
||||
//#define MBEDTLS_SSL_CONF_GET_TIMER mbedtls_timing_get_delay
|
||||
//#define MBEDTLS_SSL_CONF_SET_TIMER mbedtls_timing_set_delay
|
||||
|
@ -3617,13 +3617,13 @@
|
|||
* If defined,
|
||||
* - MBEDTLS_SSL_CONF_RECV must evaluate to the name of an externally
|
||||
* defined function with signature
|
||||
* int (*f_recv)( void*, unsigned char *, size_t ),
|
||||
* int f_recv( void*, unsigned char *, size_t ),
|
||||
* * MBEDTLS_SSL_CONF_SEND must evaluate to the name of an externally
|
||||
* defined function with signature
|
||||
* int (*f_send)( void*, const unsigned char *, size_t ),
|
||||
* int f_send( void*, const unsigned char *, size_t ),
|
||||
* * MBEDTLS_SSL_CONF_RECV_TIMEOUT must evaluate to the name of an
|
||||
* externally defined function with signature
|
||||
* int (*f_recv_timeout)( void*, const unsigned char *, size_t, uint32_t ).
|
||||
* int f_recv_timeout( void*, const unsigned char *, size_t, uint32_t ).
|
||||
*/
|
||||
//#define MBEDTLS_SSL_CONF_RECV mbedtls_net_recv
|
||||
//#define MBEDTLS_SSL_CONF_SEND mbedtls_net_send
|
||||
|
@ -3631,7 +3631,7 @@
|
|||
|
||||
/* The PRNG to use by the SSL module. If defined, this must
|
||||
* evaluate to the name on externally defined function with signature
|
||||
* int (*f_rng)(void *, unsigned char *, size_t),
|
||||
* int f_rng(void *, unsigned char *, size_t),
|
||||
* e.g. mbedtls_ctr_drbg_random or mbedtls_hmac_drbg_random.
|
||||
*/
|
||||
//#define MBEDTLS_SSL_CONF_RNG mbedtls_ctr_drbg_random
|
||||
|
|
Loading…
Reference in a new issue