Lines Matching defs:tfm
23 struct crypto_skcipher *tfm;
284 static int virtio_crypto_skcipher_setkey(struct crypto_skcipher *tfm,
288 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm);
330 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
333 unsigned int ivsize = crypto_skcipher_ivsize(tfm);
519 static int virtio_crypto_skcipher_init(struct crypto_skcipher *tfm)
521 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm);
523 crypto_skcipher_set_reqsize(tfm, sizeof(struct virtio_crypto_sym_request));
524 ctx->tfm = tfm;
532 static void virtio_crypto_skcipher_exit(struct crypto_skcipher *tfm)
534 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm);