File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -324,11 +324,17 @@ typedef struct mbedtls_cipher_context_t
324
324
} mbedtls_cipher_context_t ;
325
325
326
326
/**
327
- * \brief This function retrieves the list of ciphers supported by the generic
328
- * cipher module.
327
+ * \brief This function retrieves the list of ciphers supported
328
+ * by the generic cipher module.
329
329
*
330
- * \return A statically-allocated array of ciphers. The last entry
331
- * is zero.
330
+ * For any cipher identifier in the returned list, you can
331
+ * obtain the corresponding generic cipher information structure
332
+ * via mbedtls_cipher_info_from_type(), which can then be used
333
+ * to prepare a cipher context via mbedtls_cipher_setup().
334
+ *
335
+ *
336
+ * \return A statically-allocated array of cipher identifiers
337
+ * of type cipher_type_t. The last entry is zero.
332
338
*/
333
339
const int * mbedtls_cipher_list ( void );
334
340
You can’t perform that action at this time.
0 commit comments