Lines Matching refs:cipher_desc
442 const struct tls_cipher_desc *cipher_desc;
481 cipher_desc = get_cipher_desc(crypto_info->cipher_type);
482 if (!cipher_desc || len != cipher_desc->crypto_info) {
487 memcpy(crypto_info_iv(crypto_info, cipher_desc),
488 cctx->iv + cipher_desc->salt, cipher_desc->iv);
489 memcpy(crypto_info_rec_seq(crypto_info, cipher_desc),
490 cctx->rec_seq, cipher_desc->rec_seq);
492 if (copy_to_user(optval, crypto_info, cipher_desc->crypto_info))
594 const struct tls_cipher_desc *cipher_desc;
635 cipher_desc = get_cipher_desc(crypto_info->cipher_type);
636 if (!cipher_desc) {
651 if (optlen != cipher_desc->crypto_info) {