Lines Matching full:fallback
19 struct crypto_skcipher *fallback; member
27 struct crypto_skcipher *fallback; in p8_aes_cbc_init() local
29 fallback = crypto_alloc_skcipher("cbc(aes)", 0, in p8_aes_cbc_init()
32 if (IS_ERR(fallback)) { in p8_aes_cbc_init()
33 pr_err("Failed to allocate cbc(aes) fallback: %ld\n", in p8_aes_cbc_init()
34 PTR_ERR(fallback)); in p8_aes_cbc_init()
35 return PTR_ERR(fallback); in p8_aes_cbc_init()
39 crypto_skcipher_reqsize(fallback)); in p8_aes_cbc_init()
40 ctx->fallback = fallback; in p8_aes_cbc_init()
48 crypto_free_skcipher(ctx->fallback); in p8_aes_cbc_exit()
66 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
83 skcipher_request_set_tfm(subreq, ctx->fallback); in p8_aes_cbc_crypt()