Home
last modified time | relevance | path

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

/freebsd-head/sys/opencrypto/
HDcryptodev.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 …]
HDxform_aes_icm.c86 .ivsize = AES_BLOCK_LEN,
105 .ivsize = AES_GCM_IV_LEN,
127 .ivsize = AES_CCM_IV_LEN,
HDxform_chacha20_poly1305.c159 .ivsize = CHACHA20_POLY1305_IV_LEN,
216 .ivsize = XCHACHA20_POLY1305_IV_LEN,
HDxform_gmac.c60 .ivsize = AES_GCM_IV_LEN,
HDxform_enc.h54 uint16_t ivsize; member
HDxform_null.c69 .ivsize = 0,
HDxform_aes_xts.c67 .ivsize = AES_XTS_IV_LEN,
HDxform_aes_cbc.c72 .ivsize = AES_BLOCK_LEN,
HDxform_cml.c72 .ivsize = CAMELLIA_BLOCK_LEN,
HDcryptosoft.c1462 txf->ivsize != csp->csp_ivlen) in swcr_cipher_supported()
/freebsd-head/sys/crypto/openssl/
HDossl_cipher.h49 uint16_t ivsize; member
HDossl_aes.c56 .ivsize = AES_BLOCK_LEN,
67 .ivsize = AES_GCM_IV_LEN,
HDossl_chacha20.c48 .ivsize = CHACHA_CTR_SIZE,
/freebsd-head/sys/crypto/chacha20/
HDchacha-sw.c55 .ivsize = CHACHA_NONCELEN + CHACHA_CTRLEN,
/freebsd-head/sys/netipsec/
HDxform_esp.c183 sav->ivlen = txform->ivsize; in esp_init()
248 csp.csp_ivlen = txform->ivsize; in esp_init()
HDkey.c7540 alg->sadb_alg_ivlen = ealgo->ivsize; in key_register()