Found 2 other functions taking a
crypto_cipher
argument:
crypto_cipher_decrypt - Free cipher context @ctx: Context pointer from crypto_cipher_init() 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.
crypto_cipher_encrypt - Cipher encrypt @ctx: Context pointer from crypto_cipher_init() @plain: Plaintext to cipher @crypt: Resulting ciphertext @len: Length of the plaintext Returns: 0 on success, -1 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.