Home
last modified time | relevance | path

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

/f-stack/freebsd/opencrypto/
H A Dcryptodev.c325 struct enc_xform *txform; member
396 struct enc_xform *txform; in cse_create() local
405 txform = NULL; in cse_create()
411 txform = &enc_xform_aes_xts; in cse_create()
414 txform = &enc_xform_null; in cse_create()
420 txform = &enc_xform_aes_icm; in cse_create()
429 txform = &enc_xform_ccm; in cse_create()
591 else if (txform != NULL) in cse_create()
604 if (txform != NULL) { in cse_create()
675 cse->txform = txform; in cse_create()
[all …]
/f-stack/freebsd/netipsec/
H A Dxform_esp.c145 const struct enc_xform *txform; in esp_init() local
150 txform = enc_algorithm_lookup(sav->alg_enc); in esp_init()
151 if (txform == NULL) { in esp_init()
158 __func__, txform->name)); in esp_init()
170 if (txform->minkey > keylen || keylen > txform->maxkey) { in esp_init()
173 keylen, txform->minkey, txform->maxkey, in esp_init()
174 txform->name)); in esp_init()
181 sav->ivlen = txform->ivsize; in esp_init()
196 sav->tdb_encalgxform = txform; in esp_init()
220 keylen, txform->name)); in esp_init()
[all …]