Lines Matching defs:tfm

161 static int ecb_paes_init(struct crypto_skcipher *tfm)
163 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
171 static void ecb_paes_exit(struct crypto_skcipher *tfm)
173 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
198 static int ecb_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key,
202 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
214 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
215 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
276 static int cbc_paes_init(struct crypto_skcipher *tfm)
278 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
286 static void cbc_paes_exit(struct crypto_skcipher *tfm)
288 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
313 static int cbc_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key,
317 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
329 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
330 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
396 static int xts_paes_init(struct crypto_skcipher *tfm)
398 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm);
407 static void xts_paes_exit(struct crypto_skcipher *tfm)
409 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm);
455 static int xts_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key,
459 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm);
490 return xts_verify_key(tfm, ckey, 2*ckey_len);
495 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
496 struct s390_pxts_ctx *ctx = crypto_skcipher_ctx(tfm);
576 static int ctr_paes_init(struct crypto_skcipher *tfm)
578 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
586 static void ctr_paes_exit(struct crypto_skcipher *tfm)
588 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
614 static int ctr_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key,
618 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);
645 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
646 struct s390_paes_ctx *ctx = crypto_skcipher_ctx(tfm);