Home
last modified time | relevance | path

Searched refs:fallback (Results 1 – 25 of 26) sorted by relevance

12

/arch/powerpc/crypto/
A Daes.c23 struct crypto_cipher *fallback; member
31 struct crypto_cipher *fallback; in p8_aes_init() local
35 if (IS_ERR(fallback)) { in p8_aes_init()
38 alg, PTR_ERR(fallback)); in p8_aes_init()
39 return PTR_ERR(fallback); in p8_aes_init()
42 crypto_cipher_set_flags(fallback, in p8_aes_init()
46 ctx->fallback = fallback; in p8_aes_init()
55 if (ctx->fallback) { in p8_aes_exit()
56 crypto_free_cipher(ctx->fallback); in p8_aes_exit()
57 ctx->fallback = NULL; in p8_aes_exit()
[all …]
A Daes_cbc.c23 struct crypto_skcipher *fallback; member
31 struct crypto_skcipher *fallback; in p8_aes_cbc_init() local
33 fallback = crypto_alloc_skcipher("cbc(aes)", 0, in p8_aes_cbc_init()
36 if (IS_ERR(fallback)) { in p8_aes_cbc_init()
38 PTR_ERR(fallback)); in p8_aes_cbc_init()
39 return PTR_ERR(fallback); in p8_aes_cbc_init()
43 crypto_skcipher_reqsize(fallback)); in p8_aes_cbc_init()
44 ctx->fallback = fallback; in p8_aes_cbc_init()
52 crypto_free_skcipher(ctx->fallback); in p8_aes_cbc_exit()
70 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
[all …]
A Daes_ctr.c23 struct crypto_skcipher *fallback; member
30 struct crypto_skcipher *fallback; in p8_aes_ctr_init() local
32 fallback = crypto_alloc_skcipher("ctr(aes)", 0, in p8_aes_ctr_init()
35 if (IS_ERR(fallback)) { in p8_aes_ctr_init()
37 PTR_ERR(fallback)); in p8_aes_ctr_init()
38 return PTR_ERR(fallback); in p8_aes_ctr_init()
42 crypto_skcipher_reqsize(fallback)); in p8_aes_ctr_init()
43 ctx->fallback = fallback; in p8_aes_ctr_init()
51 crypto_free_skcipher(ctx->fallback); in p8_aes_ctr_exit()
68 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey()
[all …]
A Daes_xts.c24 struct crypto_skcipher *fallback; member
33 struct crypto_skcipher *fallback; in p8_aes_xts_init() local
35 fallback = crypto_alloc_skcipher("xts(aes)", 0, in p8_aes_xts_init()
38 if (IS_ERR(fallback)) { in p8_aes_xts_init()
40 PTR_ERR(fallback)); in p8_aes_xts_init()
41 return PTR_ERR(fallback); in p8_aes_xts_init()
45 crypto_skcipher_reqsize(fallback)); in p8_aes_xts_init()
46 ctx->fallback = fallback; in p8_aes_xts_init()
54 crypto_free_skcipher(ctx->fallback); in p8_aes_xts_exit()
77 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey()
[all …]
/arch/riscv/lib/
A Driscv_v_helpers.c29 goto fallback; in enter_vector_usercopy()
41 goto fallback; in enter_vector_usercopy()
46 fallback: in enter_vector_usercopy()
/arch/s390/crypto/
A Daes_s390.c50 } fallback; member
63 struct crypto_skcipher *fallback; member
140 if (IS_ERR(sctx->fallback.cip)) { in fallback_init_cip()
143 return PTR_ERR(sctx->fallback.cip); in fallback_init_cip()
153 crypto_free_cipher(sctx->fallback.cip); in fallback_exit_cip()
154 sctx->fallback.cip = NULL; in fallback_exit_cip()
266 if (IS_ERR(sctx->fallback.skcipher)) { in fallback_init_skcipher()
269 return PTR_ERR(sctx->fallback.skcipher); in fallback_init_skcipher()
498 if (IS_ERR(xts_ctx->fallback)) { in xts_fallback_init()
501 return PTR_ERR(xts_ctx->fallback); in xts_fallback_init()
[all …]
/arch/arm/crypto/
A Daes-neonbs-glue.c51 struct crypto_aes_ctx fallback; member
56 struct crypto_aes_ctx fallback; member
125 err = aes_expandkey(&ctx->fallback, in_key, key_len); in aesbs_cbc_setkey()
132 aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); in aesbs_cbc_setkey()
155 __aes_arm_encrypt(ctx->fallback.key_enc, in cbc_encrypt()
242 err = aes_expandkey(&ctx->fallback, in_key, key_len); in aesbs_xts_setkey()
314 __aes_arm_encrypt(ctx->fallback.key_enc, rounds, buf, buf); in __xts_crypt()
316 __aes_arm_decrypt(ctx->fallback.key_dec, rounds, buf, buf); in __xts_crypt()
A DKconfig106 attacks will still be used as a fallback method; specifically CBC
/arch/arm64/boot/dts/freescale/
A Dimx8mp-skov-basic.dts8 model = "SKOV IMX8MP CPU basic/fallback";
/arch/x86/kernel/cpu/
A Daperfmperf.c510 goto fallback; in arch_freq_get_on_cpu()
524 goto fallback; in arch_freq_get_on_cpu()
528 fallback: in arch_freq_get_on_cpu()
/arch/powerpc/platforms/pasemi/
A Ddma_lib.c477 goto fallback; in map_onedev()
481 goto fallback; in map_onedev()
484 fallback: in map_onedev()
/arch/alpha/lib/
A Dev6-memcpy.S97 addq $16, 64, $1 # E : fallback value for wh64
119 # fallback wh64 address if < 2 more trips
/arch/arc/
A DMakefile26 $(warning ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '$(tune-mcpu)' is unknown, fallback to '$(tune-mc…
A DKconfig161 ISA default value will be used as a fallback.
/arch/arm/boot/dts/renesas/
A Dr8a7790-lager.dts313 * IIC0/I2C0 does not appear to support fallback to GPIO.
326 * with a fallback to GPIO also provided.
338 * A fallback to GPIO is also provided.
431 * IIC3/I2C3 does not appear to support fallback to GPIO.
A Dr8a7794-alt.dts193 * A fallback to GPIO is provided for I2C1.
223 * A fallback to GPIO is provided.
A Dr8a7791-koelsch.dts359 * A fallback to GPIO is provided.
370 * A fallback to GPIO is provided for I2C2.
469 * A fallback to GPIO is provided.
A Dr8a7793-gose.dts343 * A fallback to GPIO is provided for I2C2.
453 * A fallback to GPIO is provided.
A Dr8a7791-porter.dts167 * A fallback to GPIO is provided for I2C2.
A Dr8a7794-silk.dts235 * A fallback to GPIO is provided for I2C1.
/arch/arm/boot/dts/nxp/mxs/
A Dimx28-btt3.dtsi134 * Value specified below is used as a fallback during recovery.
/arch/powerpc/lib/
A Dfeature-fixups.c163 bool do_fallback, void *fallback) in do_patch_entry_fixups() argument
179 patch_branch(dest + 1, (unsigned long)fallback, BRANCH_SET_LINK); in do_patch_entry_fixups()
/arch/loongarch/
A DKconfig386 Use the built-in command line as fallback in case we get nothing
552 this option is disabled by default, making WUC silently fallback to
/arch/riscv/
A DKconfig1188 Use the built-in command line as fallback in case we get nothing
1313 fallback, unless the commandline "riscv_isa_fallback" parameter is
/arch/arm64/
A DKconfig627 All software should have a fallback implementation for CPUs

Completed in 46 milliseconds

12