Lines Matching refs:crt
462 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_blkcipher_ops_async() local
465 crt->setkey = async_setkey; in crypto_init_blkcipher_ops_async()
466 crt->encrypt = async_encrypt; in crypto_init_blkcipher_ops_async()
467 crt->decrypt = async_decrypt; in crypto_init_blkcipher_ops_async()
469 crt->givencrypt = skcipher_null_givencrypt; in crypto_init_blkcipher_ops_async()
470 crt->givdecrypt = skcipher_null_givdecrypt; in crypto_init_blkcipher_ops_async()
472 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_blkcipher_ops_async()
473 crt->ivsize = alg->ivsize; in crypto_init_blkcipher_ops_async()
480 struct blkcipher_tfm *crt = &tfm->crt_blkcipher; in crypto_init_blkcipher_ops_sync() local
485 crt->setkey = setkey; in crypto_init_blkcipher_ops_sync()
486 crt->encrypt = alg->encrypt; in crypto_init_blkcipher_ops_sync()
487 crt->decrypt = alg->decrypt; in crypto_init_blkcipher_ops_sync()
492 crt->iv = (void *)addr; in crypto_init_blkcipher_ops_sync()