Lines Matching defs:txform
275 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;
438 txform = &enc_xform_aes_icm;
441 txform = &enc_xform_aes_nist_gcm;
499 if (txform) {
500 crie.cri_alg = txform->type;
502 if (sop->keylen > txform->maxkey ||
503 sop->keylen < txform->minkey) {
554 error = crypto_newsession(&sid, (txform ? &crie : &cria), crid);
561 cria.cri_key, cria.cri_klen, sop->cipher, sop->mac, txform,
705 if (cse->txform) {
706 if (cop->len == 0 || (cop->len % cse->txform->blocksize) != 0) {
727 crp = crypto_getreq((cse->txform != NULL) + (cse->thash != NULL));
736 if (cse->txform)
739 if (cse->txform)
797 cse->txform->blocksize))) {
801 bcopy(cse->tmp_iv, crde->crd_iv, cse->txform->blocksize);
808 crde->crd_skip = cse->txform->blocksize;
809 crde->crd_len -= cse->txform->blocksize;
893 if (cse->txform == NULL || cse->thash == NULL || caead->tag == NULL ||
894 (caead->len % cse->txform->blocksize) != 0)
968 crde->crd_skip = cse->txform->blocksize;
969 crde->crd_len -= cse->txform->blocksize;
1241 struct enc_xform *txform, struct auth_hash *thash)
1256 cse->txform = txform;