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()
33 memset(dctx, 0, sizeof(*dctx)); in des_setkey()
39 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_encrypt() local
41 des_encrypt(dctx, dst, src); in crypto_des_encrypt()
46 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_decrypt() local
48 des_decrypt(dctx, dst, src); in crypto_des_decrypt()
54 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey() local
57 err = des3_ede_expand_key(dctx, key, keylen); in des3_ede_setkey()
65 memset(dctx, 0, sizeof(*dctx)); in des3_ede_setkey()
72 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_encrypt() local
74 des3_ede_encrypt(dctx, dst, src); in crypto_des3_ede_encrypt()
80 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_decrypt() local
82 des3_ede_decrypt(dctx, dst, src); in crypto_des3_ede_decrypt()