Merge tag 'arm-soc-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / net / tls / tls_main.c
index 8d93cea..47b7c53 100644 (file)
@@ -521,6 +521,9 @@ static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval,
        case TLS_CIPHER_AES_CCM_128:
                optsize = sizeof(struct tls12_crypto_info_aes_ccm_128);
                break;
+       case TLS_CIPHER_CHACHA20_POLY1305:
+               optsize = sizeof(struct tls12_crypto_info_chacha20_poly1305);
+               break;
        default:
                rc = -EINVAL;
                goto err_crypto_info;