Searched refs:authbuf (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/crypto/armv8/ |
| H A D | armv8_crypto.c | 385 uint8_t *buf, *authbuf, *outbuf; in armv8_crypto_cipher_process() local 399 authbuf = NULL; in armv8_crypto_cipher_process() 409 authbuf = crp->crp_aad; in armv8_crypto_cipher_process() 411 authbuf = armv8_crypto_cipher_alloc(crp, crp->crp_aad_start, in armv8_crypto_cipher_process() 413 if (authbuf == NULL) { in armv8_crypto_cipher_process() 486 crp->crp_aad_length, authbuf, in armv8_crypto_cipher_process() 496 crp->crp_aad_length, authbuf, in armv8_crypto_cipher_process() 520 zfree(authbuf, M_ARMV8_CRYPTO); in armv8_crypto_cipher_process()
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesni.c | 694 uint8_t *authbuf, *buf, *outbuf; in aesni_cipher_crypt() local 705 authbuf = NULL; in aesni_cipher_crypt() 709 authbuf = crp->crp_aad; in aesni_cipher_crypt() 711 authbuf = aesni_cipher_alloc(crp, crp->crp_aad_start, in aesni_cipher_crypt() 713 if (authbuf == NULL) { in aesni_cipher_crypt() 780 AES_GCM_encrypt(buf, outbuf, authbuf, iv, tag, in aesni_cipher_crypt() 788 if (!AES_GCM_decrypt(buf, outbuf, authbuf, iv, tag, in aesni_cipher_crypt() 797 AES_CCM_encrypt(buf, outbuf, authbuf, iv, tag, in aesni_cipher_crypt() 805 if (!AES_CCM_decrypt(buf, outbuf, authbuf, iv, tag, in aesni_cipher_crypt() 821 zfree(authbuf, M_AESNI); in aesni_cipher_crypt()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 421 ccmp.authData = authbuf; in zio_do_crypt_uio() 432 gcmp.pAAD = authbuf; in zio_do_crypt_uio() 1543 *authbuf = aadbuf; in zio_crypt_init_uios_zil() 1568 *authbuf = NULL; in zio_crypt_init_uios_zil() 1730 *authbuf = aadbuf; in zio_crypt_init_uios_dnode() 1755 *authbuf = NULL; in zio_crypt_init_uios_dnode() 1850 *authbuf = NULL; in zio_crypt_init_uios() 1891 uint8_t *authbuf = NULL; in zio_do_crypt_data() local 1974 if (authbuf != NULL) in zio_do_crypt_data() 1975 zio_buf_free(authbuf, datalen); in zio_do_crypt_data() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 1399 *authbuf = aadbuf; in zio_crypt_init_uios_zil() 1548 *authbuf = aadbuf; in zio_crypt_init_uios_dnode() 1628 datalen, byteswap, puio, cuio, enc_len, authbuf, auth_len, in zio_crypt_init_uios() 1633 cipherbuf, datalen, byteswap, puio, cuio, enc_len, authbuf, in zio_crypt_init_uios() 1639 *authbuf = NULL; in zio_crypt_init_uios() 1682 uint8_t *authbuf = NULL; in zio_do_crypt_data() local 1703 &authbuf, &auth_len, no_crypt); in zio_do_crypt_data() 1745 if (authbuf != NULL) in zio_do_crypt_data() 1746 zio_buf_free(authbuf, datalen); in zio_do_crypt_data() 1764 if (authbuf != NULL) in zio_do_crypt_data() [all …]
|