Home
last modified time | relevance | path

Searched refs:ivsize (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/opencrypto/
H A Dcryptodev.c271 int ivsize; member
433 csp.csp_ivlen = txform->ivsize; in cse_create()
508 cse->ivsize = csp.csp_ivlen; in cse_create()
703 (cop->iv == NULL && cop->len == cse->ivsize)) { in cryptodev_op()
737 if (cse->ivsize != 0 && cop->iv == NULL) { in cryptodev_op()
773 if (cse->ivsize == 0) { in cryptodev_op()
778 error = copyin(cop->iv, crp->crp_iv, cse->ivsize); in cryptodev_op()
784 } else if (cse->ivsize != 0) { in cryptodev_op()
785 if (crp->crp_payload_length < cse->ivsize) { in cryptodev_op()
791 crp->crp_payload_length -= cse->ivsize; in cryptodev_op()
[all …]
H A Dxform_aes_icm.c86 .ivsize = AES_BLOCK_LEN,
105 .ivsize = AES_GCM_IV_LEN,
127 .ivsize = AES_CCM_IV_LEN,
H A Dxform_chacha20_poly1305.c159 .ivsize = CHACHA20_POLY1305_IV_LEN,
216 .ivsize = XCHACHA20_POLY1305_IV_LEN,
H A Dxform_gmac.c60 .ivsize = AES_GCM_IV_LEN,
H A Dxform_enc.h54 uint16_t ivsize; member
H A Dxform_null.c69 .ivsize = 0,
H A Dxform_aes_xts.c67 .ivsize = AES_XTS_IV_LEN,
H A Dxform_aes_cbc.c72 .ivsize = AES_BLOCK_LEN,
H A Dxform_cml.c72 .ivsize = CAMELLIA_BLOCK_LEN,
H A Dcryptosoft.c1462 txf->ivsize != csp->csp_ivlen) in swcr_cipher_supported()
/freebsd/sys/crypto/openssl/
H A Dossl_cipher.h49 uint16_t ivsize; member
H A Dossl_aes.c56 .ivsize = AES_BLOCK_LEN,
67 .ivsize = AES_GCM_IV_LEN,
H A Dossl_chacha20.c48 .ivsize = CHACHA_CTR_SIZE,
/freebsd/sys/crypto/chacha20/
H A Dchacha-sw.c55 .ivsize = CHACHA_NONCELEN + CHACHA_CTRLEN,
/freebsd/sys/netipsec/
H A Dxform_esp.c183 sav->ivlen = txform->ivsize; in esp_init()
248 csp.csp_ivlen = txform->ivsize; in esp_init()
H A Dkey.c7540 alg->sadb_alg_ivlen = ealgo->ivsize; in key_register()