Lines Matching defs:tfm
25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm);
30 unsigned int bs = crypto_skcipher_blocksize(tfm);
70 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq);
71 struct rk_cipher_ctx *op = crypto_skcipher_ctx(tfm);
73 struct skcipher_alg *alg = crypto_skcipher_alg(tfm);
111 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
112 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(tfm);
255 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
260 block = crypto_tfm_alg_blocksize(tfm);
302 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq);
306 int ivsize = crypto_skcipher_ivsize(tfm);
313 struct skcipher_alg *alg = crypto_skcipher_alg(tfm);
324 ivsize = crypto_skcipher_ivsize(tfm);
325 if (areq->iv && crypto_skcipher_ivsize(tfm) > 0) {
434 static int rk_cipher_tfm_init(struct crypto_skcipher *tfm)
436 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm);
437 const char *name = crypto_tfm_alg_name(&tfm->base);
438 struct skcipher_alg *alg = crypto_skcipher_alg(tfm);
448 crypto_skcipher_set_reqsize(tfm, sizeof(struct rk_cipher_rctx) +
454 static void rk_cipher_tfm_exit(struct crypto_skcipher *tfm)
456 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm);