Home
last modified time | relevance | path

Searched refs:txform (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sys/netipsec/
H A Dxform_esp.c147 const struct enc_xform *txform; in esp_init() local
152 txform = enc_algorithm_lookup(sav->alg_enc); in esp_init()
153 if (txform == NULL) { in esp_init()
160 __func__, txform->name)); in esp_init()
173 if (txform->minkey > keylen || keylen > txform->maxkey) { in esp_init()
176 keylen, txform->minkey, txform->maxkey, in esp_init()
177 txform->name)); in esp_init()
184 sav->ivlen = txform->ivsize; in esp_init()
199 sav->tdb_encalgxform = txform; in esp_init()
223 keylen, txform->name)); in esp_init()
[all …]
/freebsd-14.2/sys/opencrypto/
H A Dcryptodev.c337 const struct enc_xform *txform; in cse_create() local
390 txform = crypto_cipher(&csp); in cse_create()
392 if (txform != NULL && txform->macsize != 0) { in cse_create()
400 } else if (txform != NULL) { in cse_create()
417 if (txform != NULL) { in cse_create()
418 if (sop->keylen > txform->maxkey || in cse_create()
419 sop->keylen < txform->minkey) { in cse_create()
434 csp.csp_ivlen = txform->ivsize; in cse_create()
508 cse->hashsize = txform->macsize; in cse_create()
516 if (txform != NULL) in cse_create()
[all …]