Lines Matching refs:fallback
34 struct crypto_blkcipher *fallback; member
42 struct crypto_blkcipher *fallback; in p8_aes_cbc_init() local
50 fallback = in p8_aes_cbc_init()
52 if (IS_ERR(fallback)) { in p8_aes_cbc_init()
55 alg, PTR_ERR(fallback)); in p8_aes_cbc_init()
56 return PTR_ERR(fallback); in p8_aes_cbc_init()
59 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_cbc_init()
62 fallback, in p8_aes_cbc_init()
64 ctx->fallback = fallback; in p8_aes_cbc_init()
73 if (ctx->fallback) { in p8_aes_cbc_exit()
74 crypto_free_blkcipher(ctx->fallback); in p8_aes_cbc_exit()
75 ctx->fallback = NULL; in p8_aes_cbc_exit()
94 ret += crypto_blkcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
107 .tfm = ctx->fallback, in p8_aes_cbc_encrypt()
148 .tfm = ctx->fallback, in p8_aes_cbc_decrypt()