mbedtls_cipher_info_get_key_bitlen() function
Retrieve the key size for a cipher info structure.
Arguments
info
The cipher info structure to query. This may be \c NULL.
Return value
The key length in bits. For variable-sized ciphers, this is the default length. For DES, this includes the parity bits. \c 0 if \p info is \c NULL.
mbedtls_cipher_info_get_key_bitlen() is called by 7 functions:
![]()
mbedtls_cipher_info_get_key_bitlen()
mbedtls_cipher_info_get_key_bitlen():
![]()
mbedtls_cipher_info_get_key_bitlen()