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.
![]()
struct crypto_cipher *crypto_cipher_init(enum crypto_cipher_alg alg,
crypto_cipher_init() is called by 5 functions and calls 6 functions:
![]()
crypto_cipher_init()
crypto_cipher_init() reads 4 variables:
![]()
crypto_cipher_init()
crypto_cipher_init() allocates 1 types and frees 1 types:
![]()
crypto_cipher_init()