Home
last modified time | relevance | path

Searched refs:greq (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/crypto/
Dauthenc.c427 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_givencrypt_done() local
429 err = crypto_authenc_genicv(areq, greq->giv, 0); in crypto_authenc_givencrypt_done()
440 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_givencrypt() local
444 skcipher_givcrypt_set_tfm(greq, ctx->enc); in crypto_authenc_givencrypt()
445 skcipher_givcrypt_set_callback(greq, aead_request_flags(areq), in crypto_authenc_givencrypt()
447 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_givencrypt()
449 skcipher_givcrypt_set_giv(greq, iv, req->seq); in crypto_authenc_givencrypt()
451 err = crypto_skcipher_givencrypt(greq); in crypto_authenc_givencrypt()
Dauthencesn.c503 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_esn_givencrypt_done() local
505 err = crypto_authenc_esn_genicv(areq, greq->giv, 0); in crypto_authenc_esn_givencrypt_done()
516 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_esn_givencrypt() local
520 skcipher_givcrypt_set_tfm(greq, ctx->enc); in crypto_authenc_esn_givencrypt()
521 skcipher_givcrypt_set_callback(greq, aead_request_flags(areq), in crypto_authenc_esn_givencrypt()
523 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_esn_givencrypt()
525 skcipher_givcrypt_set_giv(greq, iv, req->seq); in crypto_authenc_esn_givencrypt()
527 err = crypto_skcipher_givencrypt(greq); in crypto_authenc_esn_givencrypt()
/linux-4.1.27/net/ipv6/
Dipv6_sockglue.c643 struct group_req greq; in do_ipv6_setsockopt() local
650 if (copy_from_user(&greq, optval, sizeof(struct group_req))) in do_ipv6_setsockopt()
652 if (greq.gr_group.ss_family != AF_INET6) { in do_ipv6_setsockopt()
656 psin6 = (struct sockaddr_in6 *)&greq.gr_group; in do_ipv6_setsockopt()
658 retv = ipv6_sock_mc_join(sk, greq.gr_interface, in do_ipv6_setsockopt()
661 retv = ipv6_sock_mc_drop(sk, greq.gr_interface, in do_ipv6_setsockopt()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c460 struct cpl_set_tcb_field *greq; in init_tp_parity() local
483 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
506 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
529 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
535 skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
541 greq = (struct cpl_set_tcb_field *)__skb_put(skb, sizeof(*greq)); in init_tp_parity()
542 memset(greq, 0, sizeof(*greq)); in init_tp_parity()
543 greq->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD)); in init_tp_parity()
544 OPCODE_TID(greq) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, 0)); in init_tp_parity()
545 greq->mask = cpu_to_be64(1); in init_tp_parity()
[all …]
/linux-4.1.27/net/ipv4/
Dip_sockglue.c966 struct group_req greq; in do_ip_setsockopt() local
973 if (copy_from_user(&greq, optval, sizeof(greq))) in do_ip_setsockopt()
975 psin = (struct sockaddr_in *)&greq.gr_group; in do_ip_setsockopt()
980 mreq.imr_ifindex = greq.gr_interface; in do_ip_setsockopt()
/linux-4.1.27/drivers/crypto/caam/
Dcaamalg.c2839 *greq, int desc_bytes, in aead_giv_edesc_alloc()
2842 struct aead_request *req = &greq->areq; in aead_giv_edesc_alloc()
2877 iv_dma = dma_map_single(jrdev, greq->giv, ivsize, DMA_TO_DEVICE); in aead_giv_edesc_alloc()
3233 struct skcipher_givcrypt_request *greq, in ablkcipher_giv_edesc_alloc() argument
3237 struct ablkcipher_request *req = &greq->creq; in ablkcipher_giv_edesc_alloc()
3272 iv_dma = dma_map_single(jrdev, greq->giv, ivsize, DMA_TO_DEVICE); in ablkcipher_giv_edesc_alloc()