Searched refs:txform (Results 1 – 2 of 2) sorted by relevance
146 const struct enc_xform *txform; in esp_init() local151 txform = enc_algorithm_lookup(sav->alg_enc); in esp_init()152 if (txform == NULL) { in esp_init()159 __func__, txform->name)); in esp_init()172 if (txform->minkey > keylen || keylen > txform->maxkey) { in esp_init()175 keylen, txform->minkey, txform->maxkey, in esp_init()176 txform->name)); in esp_init()183 sav->ivlen = txform->ivsize; in esp_init()198 sav->tdb_encalgxform = txform; in esp_init()222 keylen, txform->name)); in esp_init()[all …]
336 const struct enc_xform *txform; in cse_create() local389 txform = crypto_cipher(&csp); in cse_create()391 if (txform != NULL && txform->macsize != 0) { in cse_create()397 } else if (txform != NULL && thash != NULL) { in cse_create()399 } else if (txform != NULL) { in cse_create()416 if (txform != NULL) { in cse_create()417 if (sop->keylen > txform->maxkey || in cse_create()418 sop->keylen < txform->minkey) { in cse_create()433 csp.csp_ivlen = txform->ivsize; in cse_create()507 cse->hashsize = txform->macsize; in cse_create()[all …]