Searched refs:asg (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/ipv6/ |
D | esp6.c | 151 struct scatterlist *asg; in esp6_output() local 208 asg = esp_givreq_sg(aead, req); in esp6_output() 209 sg = asg + sglists; in esp6_output() 239 sg_init_table(asg, 3); in esp6_output() 240 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp6_output() 242 sg_set_buf(asg + 1, seqhi, seqhilen); in esp6_output() 243 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp6_output() 245 sg_init_one(asg, esph, sizeof(*esph)); in esp6_output() 249 aead_givcrypt_set_assoc(req, asg, assoclen); in esp6_output() 337 struct scatterlist *asg; in esp6_input() local [all …]
|
/linux-4.1.27/net/ipv4/ |
D | esp4.c | 123 struct scatterlist *asg; in esp_output() local 181 asg = esp_givreq_sg(aead, req); in esp_output() 182 sg = asg + sglists; in esp_output() 247 sg_init_table(asg, 3); in esp_output() 248 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp_output() 250 sg_set_buf(asg + 1, seqhi, seqhilen); in esp_output() 251 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp_output() 253 sg_init_one(asg, esph, sizeof(*esph)); in esp_output() 257 aead_givcrypt_set_assoc(req, asg, assoclen); in esp_output() 387 struct scatterlist *asg; in esp_input() local [all …]
|
/linux-4.1.27/crypto/ |
D | authenc.c | 42 struct scatterlist asg[2]; member 332 struct scatterlist *asg = areq_ctx->asg; in crypto_authenc_genicv() local 353 sg_init_table(asg, 2); in crypto_authenc_genicv() 354 sg_set_page(asg, sg_page(assoc), assoc->length, assoc->offset); in crypto_authenc_genicv() 355 scatterwalk_crypto_chain(asg, dst, 0, 2); in crypto_authenc_genicv() 356 dst = asg; in crypto_authenc_genicv() 489 struct scatterlist *asg = areq_ctx->asg; in crypto_authenc_iverify() local 508 sg_init_table(asg, 2); in crypto_authenc_iverify() 509 sg_set_page(asg, sg_page(assoc), assoc->length, assoc->offset); in crypto_authenc_iverify() 510 scatterwalk_crypto_chain(asg, src, 0, 2); in crypto_authenc_iverify() [all …]
|
D | tcrypt.c | 279 struct scatterlist *asg; in test_aead_speed() local 314 asg = &sg[8]; in test_aead_speed() 315 sgout = &asg[8]; in test_aead_speed() 341 sg_init_one(&asg[0], assoc, aad_size); in test_aead_speed() 384 aead_request_set_assoc(req, asg, aad_size); in test_aead_speed()
|
D | testmgr.c | 428 struct scatterlist *asg; in __test_aead() local 458 asg = &sg[8]; in __test_aead() 459 sgout = &asg[8]; in __test_aead() 549 sg_init_one(&asg[0], assoc, template[i].alen); in __test_aead() 554 aead_request_set_assoc(req, asg, template[i].alen); in __test_aead() 685 sg_init_table(asg, template[i].anp); in __test_aead() 691 sg_set_buf(&asg[k], in __test_aead() 704 aead_request_set_assoc(req, asg, template[i].alen); in __test_aead()
|