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

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

Completed in 518 milliseconds