Lines Matching defs:txform
263 struct enc_xform *txform;
377 struct enc_xform *txform = NULL;
408 txform = &enc_xform_des;
411 txform = &enc_xform_3des;
414 txform = &enc_xform_blf;
417 txform = &enc_xform_cast5;
420 txform = &enc_xform_skipjack;
423 txform = &enc_xform_rijndael128;
426 txform = &enc_xform_aes_xts;
429 txform = &enc_xform_null;
432 txform = &enc_xform_arc4;
435 txform = &enc_xform_camellia;
480 if (txform) {
481 crie.cri_alg = txform->type;
483 if (sop->keylen > txform->maxkey ||
484 sop->keylen < txform->minkey) {
527 error = crypto_newsession(&sid, (txform ? &crie : &cria), crid);
532 cria.cri_key, cria.cri_klen, sop->cipher, sop->mac, txform,
664 if (cse->txform) {
665 if (cop->len == 0 || (cop->len % cse->txform->blocksize) != 0)
684 crp = crypto_getreq((cse->txform != NULL) + (cse->thash != NULL));
692 if (cse->txform)
695 if (cse->txform)
746 if ((error = copyin(cop->iv, cse->tmp_iv, cse->txform->blocksize)))
748 bcopy(cse->tmp_iv, crde->crd_iv, cse->txform->blocksize);
755 crde->crd_skip = cse->txform->blocksize;
756 crde->crd_len -= cse->txform->blocksize;
1043 struct enc_xform *txform, struct auth_hash *thash)
1063 cse->txform = txform;