Lines Matching refs:crt
463 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_blkcipher_ops_async() local
466 crt->setkey = async_setkey; in crypto_init_blkcipher_ops_async()
467 crt->encrypt = async_encrypt; in crypto_init_blkcipher_ops_async()
468 crt->decrypt = async_decrypt; in crypto_init_blkcipher_ops_async()
470 crt->givencrypt = skcipher_null_givencrypt; in crypto_init_blkcipher_ops_async()
471 crt->givdecrypt = skcipher_null_givdecrypt; in crypto_init_blkcipher_ops_async()
473 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_blkcipher_ops_async()
474 crt->ivsize = alg->ivsize; in crypto_init_blkcipher_ops_async()
481 struct blkcipher_tfm *crt = &tfm->crt_blkcipher; in crypto_init_blkcipher_ops_sync() local
486 crt->setkey = setkey; in crypto_init_blkcipher_ops_sync()
487 crt->encrypt = alg->encrypt; in crypto_init_blkcipher_ops_sync()
488 crt->decrypt = alg->decrypt; in crypto_init_blkcipher_ops_sync()
493 crt->iv = (void *)addr; in crypto_init_blkcipher_ops_sync()