Lines Matching defs:fallback
146 struct crypto_skcipher *fallback;
644 * The requested key size is not supported by HW, do a fallback.
646 crypto_skcipher_clear_flags(ctx->fallback, CRYPTO_TFM_REQ_MASK);
647 crypto_skcipher_set_flags(ctx->fallback, tfm->base.crt_flags &
649 return crypto_skcipher_setkey(ctx->fallback, key, keylen);
658 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback);
731 ctx->fallback = crypto_alloc_skcipher(name, 0,
733 if (IS_ERR(ctx->fallback)) {
734 pr_err("Error allocating fallback algo %s\n", name);
735 return PTR_ERR(ctx->fallback);
739 crypto_skcipher_reqsize(ctx->fallback));
748 crypto_free_skcipher(ctx->fallback);