Searched refs:crp_aad (Results 1 – 9 of 9) sorted by relevance
| /f-stack/freebsd/netipsec/ |
| H A D | xform_esp.c | 378 if (crp->crp_aad == NULL) { in esp_input() 385 m_copydata(m, skip, SPI_SIZE, crp->crp_aad); in esp_input() 389 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_input() 396 (char *)crp->crp_aad + aad_skip); in esp_input() 553 free(crp->crp_aad, M_XDATA), crp->crp_aad = NULL; in esp_input_cb() 664 free(crp->crp_aad, M_XDATA); in esp_input_cb() 919 if (crp->crp_aad == NULL) { in esp_output() 926 m_copydata(m, skip, SPI_SIZE, crp->crp_aad); in esp_output() 937 (char *)crp->crp_aad + aad_skip); in esp_output() 1009 free(crp->crp_aad, M_XDATA); in esp_output_cb() [all …]
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesni.c | 708 if (crp->crp_aad != NULL) in aesni_cipher_crypt() 709 authbuf = crp->crp_aad; in aesni_cipher_crypt() 858 if (crp->crp_aad != NULL) in aesni_cipher_mac() 859 ses->hash_update(&sctx, crp->crp_aad, in aesni_cipher_mac() 892 if (crp->crp_aad != NULL) in aesni_cipher_mac() 893 ses->hash_update(&sctx, crp->crp_aad, in aesni_cipher_mac()
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptosoft.c | 338 if (crp->crp_aad != NULL) in swcr_authcompute() 339 err = axf->Update(&ctx, crp->crp_aad, crp->crp_aad_length); in swcr_authcompute() 506 if (crp->crp_aad != NULL) { in swcr_gcm() 509 axf->Update(&ctx, crp->crp_aad, len); in swcr_gcm() 512 memcpy(blk, (char *)crp->crp_aad + len, in swcr_gcm() 674 if (crp->crp_aad != NULL) in swcr_ccm_cbc_mac() 675 error = axf->Update(&ctx, crp->crp_aad, crp->crp_aad_length); in swcr_ccm_cbc_mac() 750 if (crp->crp_aad != NULL) in swcr_ccm() 751 error = axf->Update(&ctx, crp->crp_aad, crp->crp_aad_length); in swcr_ccm()
|
| H A D | ktls_ocf.c | 360 crp.crp_aad = &ad; in ktls_ocf_tls12_gcm_encrypt() 436 crp.crp_aad = &ad; in ktls_ocf_tls12_gcm_decrypt() 482 crp.crp_aad = &ad; in ktls_ocf_tls13_gcm_encrypt()
|
| H A D | cryptodev.h | 477 void *crp_aad; /* AAD buffer. */ member
|
| H A D | crypto.c | 1329 if (crp->crp_aad == NULL) { in crp_sanity() 1348 KASSERT(crp->crp_aad == NULL && crp->crp_aad_start == 0 && in crp_sanity()
|
| H A D | cryptodev.c | 1051 crp->crp_aad = cod->aad; in cryptodev_aead()
|
| /f-stack/freebsd/crypto/openssl/ |
| H A D | ossl.c | 226 if (crp->crp_aad != NULL) in ossl_process() 227 error = axf->Update(&ctx, crp->crp_aad, crp->crp_aad_length); in ossl_process()
|
| /f-stack/freebsd/crypto/armv8/ |
| H A D | armv8_crypto.c | 408 if (crp->crp_aad != NULL) in armv8_crypto_cipher_process() 409 authbuf = crp->crp_aad; in armv8_crypto_cipher_process()
|