Lines Matching refs:txform
332 struct enc_xform *txform; member
402 struct enc_xform *txform; in cse_create() local
411 txform = NULL; in cse_create()
414 txform = &enc_xform_rijndael128; in cse_create()
417 txform = &enc_xform_aes_xts; in cse_create()
420 txform = &enc_xform_null; in cse_create()
423 txform = &enc_xform_camellia; in cse_create()
426 txform = &enc_xform_aes_icm; in cse_create()
429 txform = &enc_xform_aes_nist_gcm; in cse_create()
432 txform = &enc_xform_chacha20; in cse_create()
435 txform = &enc_xform_ccm; in cse_create()
438 txform = &enc_xform_chacha20_poly1305; in cse_create()
550 if (txform == NULL && thash == NULL) { in cse_create()
604 } else if (txform != NULL && thash != NULL) in cse_create()
606 else if (txform != NULL) in cse_create()
619 if (txform != NULL) { in cse_create()
620 csp.csp_cipher_alg = txform->type; in cse_create()
622 if (sop->keylen > txform->maxkey || in cse_create()
623 sop->keylen < txform->minkey) { in cse_create()
638 csp.csp_ivlen = txform->ivsize; in cse_create()
708 cse->txform = txform; in cse_create()
848 if (cse->txform) { in cryptodev_op()
849 if ((cop->len % cse->txform->blocksize) != 0) { in cryptodev_op()
1079 if (cse->txform == NULL || cse->hashsize == 0 || caead->tag == NULL || in cryptodev_aead()
1080 (caead->len % cse->txform->blocksize) != 0) { in cryptodev_aead()