Lines Matching refs:crt
366 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_ablkcipher_ops() local
371 crt->setkey = setkey; in crypto_init_ablkcipher_ops()
372 crt->encrypt = alg->encrypt; in crypto_init_ablkcipher_ops()
373 crt->decrypt = alg->decrypt; in crypto_init_ablkcipher_ops()
375 crt->givencrypt = skcipher_null_givencrypt; in crypto_init_ablkcipher_ops()
376 crt->givdecrypt = skcipher_null_givdecrypt; in crypto_init_ablkcipher_ops()
378 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_ablkcipher_ops()
379 crt->ivsize = alg->ivsize; in crypto_init_ablkcipher_ops()
448 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_givcipher_ops() local
453 crt->setkey = tfm->__crt_alg->cra_flags & CRYPTO_ALG_GENIV ? in crypto_init_givcipher_ops()
455 crt->encrypt = alg->encrypt; in crypto_init_givcipher_ops()
456 crt->decrypt = alg->decrypt; in crypto_init_givcipher_ops()
457 crt->givencrypt = alg->givencrypt; in crypto_init_givcipher_ops()
458 crt->givdecrypt = alg->givdecrypt ?: no_givdecrypt; in crypto_init_givcipher_ops()
459 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_givcipher_ops()
460 crt->ivsize = alg->ivsize; in crypto_init_givcipher_ops()