Lines Matching refs:sw_cipher
914 ctx->sw_cipher.cipher =
917 if (IS_ERR(ctx->sw_cipher.cipher))
918 return PTR_ERR(ctx->sw_cipher.cipher);
936 if (ctx->sw_cipher.cipher)
937 crypto_free_sync_skcipher(ctx->sw_cipher.cipher);
946 ctx->sw_cipher.aead = crypto_alloc_aead(alg->base.cra_name, 0,
949 if (IS_ERR(ctx->sw_cipher.aead))
950 return PTR_ERR(ctx->sw_cipher.aead);
955 crypto_aead_reqsize(ctx->sw_cipher.aead),
965 crypto_free_aead(ctx->sw_cipher.aead);