crypto_cipher_init() function
crypto_cipher_init - Initialize block/stream cipher function @alg: Cipher algorithm @iv: Initialization vector for block ciphers or %NULL for stream ciphers @key: Cipher key @key_len: Length of key in bytes Returns: Pointer to cipher context to use with other cipher functions or %NULL on failure This function is only used with internal TLSv1 implementation (CONFIG_TLS=internal). If that is not used, the crypto wrapper does not need to implement this.