- Improved information provided about current Hashing, Cipher and Suite capabilities
This commit is contained in:
parent
76fd75a3de
commit
72f6266f02
7 changed files with 167 additions and 18 deletions
|
@ -319,6 +319,26 @@ extern "C" {
|
|||
|
||||
extern int ssl_default_ciphers[];
|
||||
|
||||
/**
|
||||
* \brief Returns the list of ciphers supported by the SSL/TLS module.
|
||||
*
|
||||
* \return a statically allocated array of ciphers, the last entry
|
||||
* is 0.
|
||||
*/
|
||||
static inline const int *ssl_list_ciphers( void )
|
||||
{
|
||||
return ssl_default_ciphers;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Return the name of the cipher associated with the given ID
|
||||
*
|
||||
* \param cipher_id SSL cipher ID
|
||||
*
|
||||
* \return a string containing the cipher name
|
||||
*/
|
||||
const char *ssl_get_cipher_name( const int cipher_id );
|
||||
|
||||
/**
|
||||
* \brief Initialize an SSL context
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue