Lines Matching refs:crt
349 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_ablkcipher_ops() local
354 crt->setkey = setkey; in crypto_init_ablkcipher_ops()
355 crt->encrypt = alg->encrypt; in crypto_init_ablkcipher_ops()
356 crt->decrypt = alg->decrypt; in crypto_init_ablkcipher_ops()
357 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_ablkcipher_ops()
358 crt->ivsize = alg->ivsize; in crypto_init_ablkcipher_ops()
423 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_givcipher_ops() local
428 crt->setkey = tfm->__crt_alg->cra_flags & CRYPTO_ALG_GENIV ? in crypto_init_givcipher_ops()
430 crt->encrypt = alg->encrypt; in crypto_init_givcipher_ops()
431 crt->decrypt = alg->decrypt; in crypto_init_givcipher_ops()
432 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_givcipher_ops()
433 crt->ivsize = alg->ivsize; in crypto_init_givcipher_ops()