Lines Matching full:decrypt

267 	if (ctx->drv_ctx[DECRYPT]) {  in aead_setkey()
268 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in aead_setkey()
391 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey()
392 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey()
499 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey()
500 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey()
605 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey()
606 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey()
636 /* skcipher encrypt, decrypt shared descriptors */ in skcipher_setkey()
652 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey()
653 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in skcipher_setkey()
759 /* xts skcipher encrypt, decrypt shared descriptors */ in xts_skcipher_setkey()
773 if (ctx->drv_ctx[DECRYPT]) { in xts_skcipher_setkey()
774 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in xts_skcipher_setkey()
850 else /* (type == DECRYPT) */ in get_drv_ctx()
957 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in aead_edesc_alloc()
1261 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in skcipher_edesc_alloc()
1475 .decrypt = skcipher_decrypt,
1491 .decrypt = skcipher_decrypt,
1507 .decrypt = skcipher_decrypt,
1523 .decrypt = skcipher_decrypt,
1541 .decrypt = skcipher_decrypt,
1565 .decrypt = skcipher_decrypt,
1585 .decrypt = ipsec_gcm_decrypt,
1604 .decrypt = ipsec_gcm_decrypt,
1624 .decrypt = aead_decrypt,
1645 .decrypt = aead_decrypt,
1667 .decrypt = aead_decrypt,
1689 .decrypt = aead_decrypt,
1711 .decrypt = aead_decrypt,
1733 .decrypt = aead_decrypt,
1755 .decrypt = aead_decrypt,
1777 .decrypt = aead_decrypt,
1800 .decrypt = aead_decrypt,
1822 .decrypt = aead_decrypt,
1845 .decrypt = aead_decrypt,
1867 .decrypt = aead_decrypt,
1890 .decrypt = aead_decrypt,
1912 .decrypt = aead_decrypt,
1934 .decrypt = aead_decrypt,
1957 .decrypt = aead_decrypt,
1980 .decrypt = aead_decrypt,
2003 .decrypt = aead_decrypt,
2026 .decrypt = aead_decrypt,
2049 .decrypt = aead_decrypt,
2072 .decrypt = aead_decrypt,
2095 .decrypt = aead_decrypt,
2118 .decrypt = aead_decrypt,
2141 .decrypt = aead_decrypt,
2164 .decrypt = aead_decrypt,
2186 .decrypt = aead_decrypt,
2208 .decrypt = aead_decrypt,
2230 .decrypt = aead_decrypt,
2252 .decrypt = aead_decrypt,
2274 .decrypt = aead_decrypt,
2297 .decrypt = aead_decrypt,
2319 .decrypt = aead_decrypt,
2342 .decrypt = aead_decrypt,
2364 .decrypt = aead_decrypt,
2387 .decrypt = aead_decrypt,
2409 .decrypt = aead_decrypt,
2432 .decrypt = aead_decrypt,
2484 ctx->drv_ctx[DECRYPT] = NULL; in caam_init_common()
2535 caam_drv_ctx_rel(ctx->drv_ctx[DECRYPT]); in caam_exit_common()