• Home
  • Raw
  • Download

Lines Matching refs:tfm

72 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key,  in aesbs_setkey()  argument
75 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_setkey()
96 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local
97 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in __ecb_crypt()
131 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey() argument
134 struct aesbs_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_cbc_setkey()
156 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
157 struct aesbs_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt()
179 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
180 struct aesbs_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt()
207 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local
208 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt()
246 static int aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_xts_setkey() argument
249 struct aesbs_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_xts_setkey()
253 err = xts_verify_key(tfm, in_key, key_len); in aesbs_xts_setkey()
268 return aesbs_setkey(tfm, in_key, key_len); in aesbs_xts_setkey()
275 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __xts_crypt() local
276 struct aesbs_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in __xts_crypt()
294 skcipher_request_set_tfm(&subreq, tfm); in __xts_crypt()