Lines Matching refs:ablkcipher
592 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in ablkcipher_setkey() argument
595 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
596 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablkcipher); in ablkcipher_setkey()
599 unsigned int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_setkey()
670 crypto_ablkcipher_set_flags(ablkcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in ablkcipher_setkey()
674 static int xts_ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in xts_ablkcipher_setkey() argument
677 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey()
715 crypto_ablkcipher_set_flags(ablkcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_ablkcipher_setkey()
842 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_unmap() local
843 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_unmap()
1145 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_done() local
1146 struct caam_ctx *caam_ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_done()
1148 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_done()
1196 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_edesc_alloc() local
1197 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_edesc_alloc()
1205 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_edesc_alloc()
1338 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_giv_edesc_alloc() local
1339 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_giv_edesc_alloc()
1347 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_giv_edesc_alloc()
1475 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_crypt() local
1476 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_crypt()
1477 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_crypt()
1521 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_givencrypt() local
1522 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_givencrypt()
1544 #define template_ablkcipher template_u.ablkcipher
1551 struct ablkcipher_alg ablkcipher; member