Lines Matching refs:dctx
22 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey() local
25 err = des_expand_key(dctx, key, keylen); in des_setkey()
34 memset(dctx, 0, sizeof(*dctx)); in des_setkey()
42 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_encrypt() local
44 des_encrypt(dctx, dst, src); in crypto_des_encrypt()
49 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_decrypt() local
51 des_decrypt(dctx, dst, src); in crypto_des_decrypt()
57 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey() local
60 err = des3_ede_expand_key(dctx, key, keylen); in des3_ede_setkey()
69 memset(dctx, 0, sizeof(*dctx)); in des3_ede_setkey()
78 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_encrypt() local
80 des3_ede_encrypt(dctx, dst, src); in crypto_des3_ede_encrypt()
86 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_decrypt() local
88 des3_ede_decrypt(dctx, dst, src); in crypto_des3_ede_decrypt()