Searched refs:crda (Results 1 – 7 of 7) sorted by relevance
/netbsd/sys/netipsec/ |
H A D | xform_esp.c | 402 struct cryptodesc *crda; in esp_input() local 405 crda = crp->crp_desc; in esp_input() 408 crda->crd_skip = skip; in esp_input() 410 crda->crd_len = hlen - sav->ivlen; in esp_input() 415 crda->crd_alg = esph->type; in esp_input() 429 crde = crda->crd_next; in esp_input() 693 struct cryptodesc *crde, *crda; in esp_output() local 850 crda = crde->crd_next; in esp_output() 913 crda->crd_skip = skip; in esp_output() 915 crda->crd_len = hlen - sav->ivlen; in esp_output() [all …]
|
H A D | xform_ah.c | 531 struct cryptodesc *crda; in ah_input() local 601 crda = crp->crp_desc; in ah_input() 602 KASSERT(crda != NULL); in ah_input() 604 crda->crd_skip = 0; in ah_input() 605 crda->crd_len = m->m_pkthdr.len; in ah_input() 609 crda->crd_alg = ahx->type; in ah_input() 692 crda->crd_len, crda->crd_skip, crda->crd_inject); in ah_input() 888 struct cryptodesc *crda; in ah_output() local 1017 crda = crp->crp_desc; in ah_output() 1019 crda->crd_skip = 0; in ah_output() [all …]
|
/netbsd/sys/opencrypto/ |
H A D | cryptodev.c | 525 if (cse->txform && crda) in cryptodev_op() 526 crde = crda->crd_next; in cryptodev_op() 572 if (crda) { in cryptodev_op() 573 crda->crd_skip = 0; in cryptodev_op() 574 crda->crd_len = cop->len; in cryptodev_op() 598 crda->crd_len = 0; in cryptodev_op() 643 if (crda == NULL) { in cryptodev_op() 1162 crde = crda->crd_next; in cryptodev_mop() 1205 if (crda) { in cryptodev_mop() 1206 crda->crd_skip = 0; in cryptodev_mop() [all …]
|
H A D | cryptosoft.c | 570 struct cryptodesc *crd, *crda = NULL, *crde = NULL; in swcr_combined() local 598 crda = crd; in swcr_combined() 609 if (crde == NULL || crda == NULL) in swcr_combined() 647 for (i = 0; i < crda->crd_len; i += blksz) { in swcr_combined() 648 len = MIN(crda->crd_len - i, blksz); in swcr_combined() 649 COPYDATA(outtype, buf, crda->crd_skip + i, len, blk); in swcr_combined() 670 switch (crda->crd_alg) { in swcr_combined() 677 *blkp = htobe32(crda->crd_len * 8); in swcr_combined() 689 COPYBACK(outtype, buf, crda->crd_inject, axf->auth_hash->authsize, aalg); in swcr_combined()
|
/netbsd/sys/dev/pci/qat/ |
H A D | qat_hw17.c | 486 struct cryptodesc *crde, struct cryptodesc *crda, bus_addr_t icv_paddr) in qat_hw17_crypto_setup_req_params() argument 524 auth_param->auth_off = crda->crd_skip; in qat_hw17_crypto_setup_req_params() 525 auth_param->auth_len = crda->crd_len; in qat_hw17_crypto_setup_req_params()
|
H A D | qat_hw15.c | 724 struct cryptodesc *crde, struct cryptodesc *crda, bus_addr_t icv_paddr) in qat_hw15_crypto_setup_req_params() argument 793 auth_req->auth_len = crda->crd_len; in qat_hw15_crypto_setup_req_params() 794 auth_req->auth_off = crda->crd_skip; in qat_hw15_crypto_setup_req_params()
|
H A D | qat.c | 1628 struct cryptodesc *crd, *crda = NULL, *crde = NULL; in qat_crypto_process() local 1660 if (crda != NULL) in qat_crypto_process() 1670 if (crda != NULL) in qat_crypto_process() 1675 crda = crd; in qat_crypto_process() 1705 crde, crda, icv_paddr); in qat_crypto_process()
|