Lines Matching refs:tfm
173 struct crypto_tfm *tfm = crypto_skcipher_tfm(ablk); in qce_skcipher_setkey() local
174 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_skcipher_setkey()
258 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in qce_skcipher_crypt() local
259 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in qce_skcipher_crypt()
261 struct qce_alg_template *tmpl = to_cipher_tmpl(tfm); in qce_skcipher_crypt()
262 unsigned int blocksize = crypto_skcipher_blocksize(tfm); in qce_skcipher_crypt()
320 static int qce_skcipher_init(struct crypto_skcipher *tfm) in qce_skcipher_init() argument
323 crypto_skcipher_set_reqsize(tfm, offsetof(struct qce_cipher_reqctx, in qce_skcipher_init()
328 static int qce_skcipher_init_fallback(struct crypto_skcipher *tfm) in qce_skcipher_init_fallback() argument
330 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in qce_skcipher_init_fallback()
332 ctx->fallback = crypto_alloc_skcipher(crypto_tfm_alg_name(&tfm->base), in qce_skcipher_init_fallback()
337 crypto_skcipher_set_reqsize(tfm, sizeof(struct qce_cipher_reqctx) + in qce_skcipher_init_fallback()
342 static void qce_skcipher_exit(struct crypto_skcipher *tfm) in qce_skcipher_exit() argument
344 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in qce_skcipher_exit()