crypto_info       181 drivers/crypto/chelsio/chtls/chtls.h 	struct tls12_crypto_info_aes_gcm_128 crypto_info;
crypto_info       221 drivers/crypto/chelsio/chtls/chtls_hw.c 		  &csk->tlshws.crypto_info;
crypto_info       463 drivers/crypto/chelsio/chtls/chtls_main.c 	struct tls_crypto_info crypto_info = { 0 };
crypto_info       465 drivers/crypto/chelsio/chtls/chtls_main.c 	crypto_info.version = TLS_1_2_VERSION;
crypto_info       466 drivers/crypto/chelsio/chtls/chtls_main.c 	if (copy_to_user(optval, &crypto_info, sizeof(struct tls_crypto_info)))
crypto_info       486 drivers/crypto/chelsio/chtls/chtls_main.c 	struct tls_crypto_info *crypto_info, tmp_crypto_info;
crypto_info       493 drivers/crypto/chelsio/chtls/chtls_main.c 	if (!optval || optlen < sizeof(*crypto_info)) {
crypto_info       498 drivers/crypto/chelsio/chtls/chtls_main.c 	rc = copy_from_user(&tmp_crypto_info, optval, sizeof(*crypto_info));
crypto_info       510 drivers/crypto/chelsio/chtls/chtls_main.c 	crypto_info = (struct tls_crypto_info *)&csk->tlshws.crypto_info;
crypto_info       515 drivers/crypto/chelsio/chtls/chtls_main.c 		crypto_info[0] = tmp_crypto_info;
crypto_info       517 drivers/crypto/chelsio/chtls/chtls_main.c 		rc = copy_from_user((char *)crypto_info + sizeof(*crypto_info),
crypto_info       518 drivers/crypto/chelsio/chtls/chtls_main.c 				optval + sizeof(*crypto_info),
crypto_info       520 drivers/crypto/chelsio/chtls/chtls_main.c 				- sizeof(*crypto_info));
crypto_info       259 drivers/crypto/rockchip/rk3288_crypto.c static int rk_crypto_register(struct rk_crypto_info *crypto_info)
crypto_info       265 drivers/crypto/rockchip/rk3288_crypto.c 		rk_cipher_algs[i]->dev = crypto_info;
crypto_info       301 drivers/crypto/rockchip/rk3288_crypto.c 	struct rk_crypto_info *crypto_info = data;
crypto_info       303 drivers/crypto/rockchip/rk3288_crypto.c 	reset_control_assert(crypto_info->rst);
crypto_info       315 drivers/crypto/rockchip/rk3288_crypto.c 	struct rk_crypto_info *crypto_info;
crypto_info       318 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info = devm_kzalloc(&pdev->dev,
crypto_info       319 drivers/crypto/rockchip/rk3288_crypto.c 				   sizeof(*crypto_info), GFP_KERNEL);
crypto_info       320 drivers/crypto/rockchip/rk3288_crypto.c 	if (!crypto_info) {
crypto_info       325 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->rst = devm_reset_control_get(dev, "crypto-rst");
crypto_info       326 drivers/crypto/rockchip/rk3288_crypto.c 	if (IS_ERR(crypto_info->rst)) {
crypto_info       327 drivers/crypto/rockchip/rk3288_crypto.c 		err = PTR_ERR(crypto_info->rst);
crypto_info       331 drivers/crypto/rockchip/rk3288_crypto.c 	reset_control_assert(crypto_info->rst);
crypto_info       333 drivers/crypto/rockchip/rk3288_crypto.c 	reset_control_deassert(crypto_info->rst);
crypto_info       335 drivers/crypto/rockchip/rk3288_crypto.c 	err = devm_add_action_or_reset(dev, rk_crypto_action, crypto_info);
crypto_info       339 drivers/crypto/rockchip/rk3288_crypto.c 	spin_lock_init(&crypto_info->lock);
crypto_info       341 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->reg = devm_platform_ioremap_resource(pdev, 0);
crypto_info       342 drivers/crypto/rockchip/rk3288_crypto.c 	if (IS_ERR(crypto_info->reg)) {
crypto_info       343 drivers/crypto/rockchip/rk3288_crypto.c 		err = PTR_ERR(crypto_info->reg);
crypto_info       347 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->aclk = devm_clk_get(&pdev->dev, "aclk");
crypto_info       348 drivers/crypto/rockchip/rk3288_crypto.c 	if (IS_ERR(crypto_info->aclk)) {
crypto_info       349 drivers/crypto/rockchip/rk3288_crypto.c 		err = PTR_ERR(crypto_info->aclk);
crypto_info       353 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->hclk = devm_clk_get(&pdev->dev, "hclk");
crypto_info       354 drivers/crypto/rockchip/rk3288_crypto.c 	if (IS_ERR(crypto_info->hclk)) {
crypto_info       355 drivers/crypto/rockchip/rk3288_crypto.c 		err = PTR_ERR(crypto_info->hclk);
crypto_info       359 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->sclk = devm_clk_get(&pdev->dev, "sclk");
crypto_info       360 drivers/crypto/rockchip/rk3288_crypto.c 	if (IS_ERR(crypto_info->sclk)) {
crypto_info       361 drivers/crypto/rockchip/rk3288_crypto.c 		err = PTR_ERR(crypto_info->sclk);
crypto_info       365 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->dmaclk = devm_clk_get(&pdev->dev, "apb_pclk");
crypto_info       366 drivers/crypto/rockchip/rk3288_crypto.c 	if (IS_ERR(crypto_info->dmaclk)) {
crypto_info       367 drivers/crypto/rockchip/rk3288_crypto.c 		err = PTR_ERR(crypto_info->dmaclk);
crypto_info       371 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->irq = platform_get_irq(pdev, 0);
crypto_info       372 drivers/crypto/rockchip/rk3288_crypto.c 	if (crypto_info->irq < 0) {
crypto_info       373 drivers/crypto/rockchip/rk3288_crypto.c 		dev_warn(crypto_info->dev,
crypto_info       375 drivers/crypto/rockchip/rk3288_crypto.c 		err = crypto_info->irq;
crypto_info       379 drivers/crypto/rockchip/rk3288_crypto.c 	err = devm_request_irq(&pdev->dev, crypto_info->irq,
crypto_info       384 drivers/crypto/rockchip/rk3288_crypto.c 		dev_err(crypto_info->dev, "irq request failed.\n");
crypto_info       388 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->dev = &pdev->dev;
crypto_info       389 drivers/crypto/rockchip/rk3288_crypto.c 	platform_set_drvdata(pdev, crypto_info);
crypto_info       391 drivers/crypto/rockchip/rk3288_crypto.c 	tasklet_init(&crypto_info->queue_task,
crypto_info       392 drivers/crypto/rockchip/rk3288_crypto.c 		     rk_crypto_queue_task_cb, (unsigned long)crypto_info);
crypto_info       393 drivers/crypto/rockchip/rk3288_crypto.c 	tasklet_init(&crypto_info->done_task,
crypto_info       394 drivers/crypto/rockchip/rk3288_crypto.c 		     rk_crypto_done_task_cb, (unsigned long)crypto_info);
crypto_info       395 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_init_queue(&crypto_info->queue, 50);
crypto_info       397 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->enable_clk = rk_crypto_enable_clk;
crypto_info       398 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->disable_clk = rk_crypto_disable_clk;
crypto_info       399 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->load_data = rk_load_data;
crypto_info       400 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->unload_data = rk_unload_data;
crypto_info       401 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->enqueue = rk_crypto_enqueue;
crypto_info       402 drivers/crypto/rockchip/rk3288_crypto.c 	crypto_info->busy = false;
crypto_info       404 drivers/crypto/rockchip/rk3288_crypto.c 	err = rk_crypto_register(crypto_info);
crypto_info       414 drivers/crypto/rockchip/rk3288_crypto.c 	tasklet_kill(&crypto_info->queue_task);
crypto_info       415 drivers/crypto/rockchip/rk3288_crypto.c 	tasklet_kill(&crypto_info->done_task);
crypto_info        44 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c 			    struct tls_crypto_info *crypto_info,
crypto_info        48 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c 	return mlx5_fpga_tls_add_flow(mdev, flow, crypto_info,
crypto_info        89 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c 			 struct tls_crypto_info *crypto_info,
crypto_info        95 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c 	switch (crypto_info->cipher_type) {
crypto_info        98 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c 			(struct tls12_crypto_info_aes_gcm_128 *)crypto_info;
crypto_info       106 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c 			(struct tls12_crypto_info_aes_gcm_256 *)crypto_info;
crypto_info        42 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 			 struct tls_crypto_info *crypto_info,
crypto_info        58 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 					 struct tls_crypto_info *crypto_info)
crypto_info        60 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 	switch (crypto_info->cipher_type) {
crypto_info        62 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 		if (crypto_info->version == TLS_1_2_VERSION)
crypto_info        72 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 		     struct tls_crypto_info *crypto_info,
crypto_info        81 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 		      struct tls_crypto_info *crypto_info) { return false; }
crypto_info       107 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 			    struct tls_crypto_info *crypto_info,
crypto_info       123 drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h 			struct tls_crypto_info *crypto_info,
crypto_info        21 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c 			  struct tls_crypto_info *crypto_info,
crypto_info        33 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c 	if (WARN_ON(!mlx5e_ktls_type_check(mdev, crypto_info)))
crypto_info        41 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c 	tx_priv->crypto_info  = *(struct tls12_crypto_info_aes_gcm_128 *)crypto_info;
crypto_info        49 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c 	err = mlx5_ktls_create_key(mdev, crypto_info, &tx_priv->key_id);
crypto_info        47 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h 	struct tls12_crypto_info_aes_gcm_128 crypto_info;
crypto_info        27 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	struct tls12_crypto_info_aes_gcm_128 *info = &priv_tx->crypto_info;
crypto_info       254 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	struct tls12_crypto_info_aes_gcm_128 *info = &priv_tx->crypto_info;
crypto_info       104 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 			 struct tls_crypto_info *crypto_info,
crypto_info       123 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	ret = mlx5_accel_tls_add_flow(mdev, flow, crypto_info,
crypto_info       514 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	struct tls12_crypto_info_aes_gcm_128 *crypto_info =
crypto_info       517 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	memcpy(MLX5_ADDR_OF(tls_cmd, cmd, tls_rcd_sn), crypto_info->rec_seq,
crypto_info       521 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	       crypto_info->salt, TLS_CIPHER_AES_GCM_128_SALT_SIZE);
crypto_info       523 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	       crypto_info->key, TLS_CIPHER_AES_GCM_128_KEY_SIZE);
crypto_info       528 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	       crypto_info->key, TLS_CIPHER_AES_GCM_128_KEY_SIZE);
crypto_info       534 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 					  struct tls_crypto_info *crypto_info)
crypto_info       538 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	switch (crypto_info->cipher_type) {
crypto_info       542 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 		mlx5_fpga_tls_set_aes_gcm128_ctx(cmd, crypto_info, &rcd_sn);
crypto_info       552 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 				   struct tls_crypto_info *crypto_info,
crypto_info       567 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	ret = mlx5_fpga_tls_set_key_material(cmd, caps, crypto_info);
crypto_info       585 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 			   struct tls_crypto_info *crypto_info,
crypto_info       606 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c 	ret = _mlx5_fpga_tls_add_flow(mdev, flow, crypto_info, swid,
crypto_info        55 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h 			   struct tls_crypto_info *crypto_info,
crypto_info       265 drivers/net/ethernet/netronome/nfp/crypto/tls.c 		struct tls_crypto_info *crypto_info,
crypto_info       285 drivers/net/ethernet/netronome/nfp/crypto/tls.c 	if (!nfp_net_cipher_supported(nn, crypto_info->cipher_type, direction))
crypto_info       336 drivers/net/ethernet/netronome/nfp/crypto/tls.c 	tls_ci = (struct tls12_crypto_info_aes_gcm_128 *)crypto_info;
crypto_info       303 include/net/tls.h 			   struct tls_crypto_info *crypto_info,
crypto_info       668 include/net/tls.h 			 struct tls_crypto_info *crypto_info);
crypto_info       911 net/tls/tls_device.c 	struct tls_crypto_info *crypto_info;
crypto_info       934 net/tls/tls_device.c 	crypto_info = &ctx->crypto_send.info;
crypto_info       935 net/tls/tls_device.c 	if (crypto_info->version != TLS_1_2_VERSION) {
crypto_info       940 net/tls/tls_device.c 	switch (crypto_info->cipher_type) {
crypto_info       945 net/tls/tls_device.c 		iv = ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->iv;
crypto_info       948 net/tls/tls_device.c 		 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq;
crypto_info       961 net/tls/tls_device.c 	prot->version = crypto_info->version;
crypto_info       962 net/tls/tls_device.c 	prot->cipher_type = crypto_info->cipher_type;
crypto_info       983 net/tls/tls_device.c 	rc = tls_sw_fallback_init(sk, offload_ctx, crypto_info);
crypto_info       441 net/tls/tls_device_fallback.c 			 struct tls_crypto_info *crypto_info)
crypto_info       455 net/tls/tls_device_fallback.c 	key = ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->key;
crypto_info       332 net/tls/tls_main.c 	struct tls_crypto_info *crypto_info;
crypto_info       338 net/tls/tls_main.c 	if (!optval || (len < sizeof(*crypto_info))) {
crypto_info       349 net/tls/tls_main.c 	crypto_info = &ctx->crypto_send.info;
crypto_info       351 net/tls/tls_main.c 	if (!TLS_CRYPTO_INFO_READY(crypto_info)) {
crypto_info       356 net/tls/tls_main.c 	if (len == sizeof(*crypto_info)) {
crypto_info       357 net/tls/tls_main.c 		if (copy_to_user(optval, crypto_info, sizeof(*crypto_info)))
crypto_info       362 net/tls/tls_main.c 	switch (crypto_info->cipher_type) {
crypto_info       366 net/tls/tls_main.c 		  container_of(crypto_info,
crypto_info       390 net/tls/tls_main.c 		  container_of(crypto_info,
crypto_info       450 net/tls/tls_main.c 	struct tls_crypto_info *crypto_info;
crypto_info       457 net/tls/tls_main.c 	if (!optval || (optlen < sizeof(*crypto_info))) {
crypto_info       463 net/tls/tls_main.c 		crypto_info = &ctx->crypto_send.info;
crypto_info       466 net/tls/tls_main.c 		crypto_info = &ctx->crypto_recv.info;
crypto_info       471 net/tls/tls_main.c 	if (TLS_CRYPTO_INFO_READY(crypto_info)) {
crypto_info       476 net/tls/tls_main.c 	rc = copy_from_user(crypto_info, optval, sizeof(*crypto_info));
crypto_info       483 net/tls/tls_main.c 	if (crypto_info->version != TLS_1_2_VERSION &&
crypto_info       484 net/tls/tls_main.c 	    crypto_info->version != TLS_1_3_VERSION) {
crypto_info       491 net/tls/tls_main.c 		if (alt_crypto_info->version != crypto_info->version ||
crypto_info       492 net/tls/tls_main.c 		    alt_crypto_info->cipher_type != crypto_info->cipher_type) {
crypto_info       498 net/tls/tls_main.c 	switch (crypto_info->cipher_type) {
crypto_info       519 net/tls/tls_main.c 	rc = copy_from_user(crypto_info + 1, optval + sizeof(*crypto_info),
crypto_info       520 net/tls/tls_main.c 			    optlen - sizeof(*crypto_info));
crypto_info       561 net/tls/tls_main.c 	memzero_explicit(crypto_info, sizeof(union tls_crypto_context));
crypto_info      2262 net/tls/tls_sw.c 	struct tls_crypto_info *crypto_info;
crypto_info      2311 net/tls/tls_sw.c 		crypto_info = &ctx->crypto_send.info;
crypto_info      2320 net/tls/tls_sw.c 		crypto_info = &ctx->crypto_recv.info;
crypto_info      2326 net/tls/tls_sw.c 	switch (crypto_info->cipher_type) {
crypto_info      2331 net/tls/tls_sw.c 		iv = ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->iv;
crypto_info      2334 net/tls/tls_sw.c 		 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq;
crypto_info      2336 net/tls/tls_sw.c 			(struct tls12_crypto_info_aes_gcm_128 *)crypto_info;
crypto_info      2348 net/tls/tls_sw.c 		iv = ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->iv;
crypto_info      2351 net/tls/tls_sw.c 		 ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->rec_seq;
crypto_info      2353 net/tls/tls_sw.c 			(struct tls12_crypto_info_aes_gcm_256 *)crypto_info;
crypto_info      2365 net/tls/tls_sw.c 		iv = ((struct tls12_crypto_info_aes_ccm_128 *)crypto_info)->iv;
crypto_info      2368 net/tls/tls_sw.c 		((struct tls12_crypto_info_aes_ccm_128 *)crypto_info)->rec_seq;
crypto_info      2370 net/tls/tls_sw.c 		(struct tls12_crypto_info_aes_ccm_128 *)crypto_info;
crypto_info      2390 net/tls/tls_sw.c 	if (crypto_info->version == TLS_1_3_VERSION) {
crypto_info      2399 net/tls/tls_sw.c 	prot->version = crypto_info->version;
crypto_info      2400 net/tls/tls_sw.c 	prot->cipher_type = crypto_info->cipher_type;
crypto_info      2445 net/tls/tls_sw.c 		if (crypto_info->version == TLS_1_3_VERSION)