Searched refs:fallback (Results 1 - 25 of 127) sorted by relevance

123456

/linux-master/arch/powerpc/crypto/
H A Daes.c23 struct crypto_cipher *fallback; member in struct:p8_aes_ctx
31 struct crypto_cipher *fallback; local
34 fallback = crypto_alloc_cipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK);
35 if (IS_ERR(fallback)) {
38 alg, PTR_ERR(fallback));
39 return PTR_ERR(fallback);
42 crypto_cipher_set_flags(fallback,
46 ctx->fallback = fallback;
55 if (ctx->fallback) {
[all...]
H A Daes_cbc.c19 struct crypto_skcipher *fallback; member in struct:p8_aes_cbc_ctx
27 struct crypto_skcipher *fallback; local
29 fallback = crypto_alloc_skcipher("cbc(aes)", 0,
32 if (IS_ERR(fallback)) {
33 pr_err("Failed to allocate cbc(aes) fallback: %ld\n",
34 PTR_ERR(fallback));
35 return PTR_ERR(fallback);
39 crypto_skcipher_reqsize(fallback));
40 ctx->fallback = fallback;
[all...]
H A Daes_ctr.c19 struct crypto_skcipher *fallback; member in struct:p8_aes_ctr_ctx
26 struct crypto_skcipher *fallback; local
28 fallback = crypto_alloc_skcipher("ctr(aes)", 0,
31 if (IS_ERR(fallback)) {
32 pr_err("Failed to allocate ctr(aes) fallback: %ld\n",
33 PTR_ERR(fallback));
34 return PTR_ERR(fallback);
38 crypto_skcipher_reqsize(fallback));
39 ctx->fallback = fallback;
[all...]
H A Daes_xts.c20 struct crypto_skcipher *fallback; member in struct:p8_aes_xts_ctx
29 struct crypto_skcipher *fallback; local
31 fallback = crypto_alloc_skcipher("xts(aes)", 0,
34 if (IS_ERR(fallback)) {
35 pr_err("Failed to allocate xts(aes) fallback: %ld\n",
36 PTR_ERR(fallback));
37 return PTR_ERR(fallback);
41 crypto_skcipher_reqsize(fallback));
42 ctx->fallback = fallback;
[all...]
/linux-master/include/linux/
H A Dbcm47xx_sprom.h16 bool fallback);
21 bool fallback)
19 bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
H A Datomic.h80 #include <linux/atomic/atomic-arch-fallback.h>
/linux-master/block/
H A Dblk-mq-virtio.c30 goto fallback;
35 goto fallback;
43 fallback:
H A Dblk-mq-pci.c34 goto fallback;
42 fallback:
/linux-master/arch/riscv/lib/
H A Driscv_v_helpers.c26 goto fallback;
37 goto fallback;
42 fallback:
/linux-master/scripts/atomic/
H A Dgen-atomics.sh13 gen-atomic-fallback.sh linux/atomic/atomic-arch-fallback.h
/linux-master/drivers/base/firmware_loader/
H A DMakefile7 firmware_class-$(CONFIG_FW_LOADER_USER_HELPER) += fallback.o
/linux-master/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c50 const char *name, char *buf, int len, bool fallback)
58 if (fallback && err == -ENOENT && prefix) {
68 type *val, type allset, bool fallback) \
75 fallback); \
97 u16 *val_lo, u16 *val_hi, bool fallback)
103 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
118 bool fallback)
124 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
142 u8 val[6], bool fallback)
147 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback);
49 get_nvram_var(const char *prefix, const char *postfix, const char *name, char *buf, int len, bool fallback) argument
96 nvram_read_u32_2(const char *prefix, const char *name, u16 *val_lo, u16 *val_hi, bool fallback) argument
116 nvram_read_leddc(const char *prefix, const char *name, u8 *leddc_on_time, u8 *leddc_off_time, bool fallback) argument
141 nvram_read_macaddr(const char *prefix, const char *name, u8 val[6], bool fallback) argument
156 nvram_read_alpha2(const char *prefix, const char *name, char val[2], bool fallback) argument
188 bcm47xx_sprom_fill_auto(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
409 bcm47xx_fill_sprom_path_r4589(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
460 bcm47xx_fill_sprom_path_r45(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
510 bcm47xx_fill_sprom_ethernet(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
555 bcm47xx_fill_board_data(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
564 bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix, bool fallback) argument
655 bool fallback = false; local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_edid_load.c58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; local
70 * the last one found one as a fallback.
87 fallback = edidname;
91 if (!fallback) {
95 edidname = fallback;
/linux-master/drivers/crypto/
H A Datmel-ecc.c31 * @fallback : used for unsupported curves or when user wants to use its own
42 struct crypto_kpp *fallback; member in struct:atmel_ecdh_ctx
97 /* fallback to ecdh software implementation */
99 return crypto_kpp_set_secret(ctx->fallback, buf, len);
145 kpp_request_set_tfm(req, ctx->fallback);
174 kpp_request_set_tfm(req, ctx->fallback);
250 struct crypto_kpp *fallback; local
260 fallback = crypto_alloc_kpp(alg, 0, CRYPTO_ALG_NEED_FALLBACK);
261 if (IS_ERR(fallback)) {
263 alg, PTR_ERR(fallback));
[all...]
H A Dgeode-aes.c127 * The requested key size is not supported by HW, do a fallback
129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK;
130 tctx->fallback.cip->base.crt_flags |=
133 return crypto_cipher_setkey(tctx->fallback.cip, key, len);
153 * The requested key size is not supported by HW, do a fallback
155 crypto_skcipher_clear_flags(tctx->fallback.skcipher,
157 crypto_skcipher_set_flags(tctx->fallback.skcipher,
160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len);
169 crypto_cipher_encrypt_one(tctx->fallback.cip, out, in);
184 crypto_cipher_decrypt_one(tctx->fallback
[all...]
H A Dgeode-aes.h54 } fallback; member in struct:geode_aes_tfm_ctx
H A Dpadlock-sha.c25 struct shash_desc fallback; member in struct:padlock_sha_desc
29 struct crypto_shash *fallback; member in struct:padlock_sha_ctx
37 dctx->fallback.tfm = ctx->fallback;
38 return crypto_shash_init(&dctx->fallback);
46 return crypto_shash_update(&dctx->fallback, data, length);
53 return crypto_shash_export(&dctx->fallback, out);
61 dctx->fallback.tfm = ctx->fallback;
62 return crypto_shash_import(&dctx->fallback, i
[all...]
/linux-master/drivers/crypto/qce/
H A Dcipher.h17 struct crypto_skcipher *fallback; member in struct:qce_cipher_ctx
H A Daead.h23 struct crypto_aead *fallback; member in struct:qce_aead_ctx
/linux-master/scripts/dtc/
H A Ddtc.c114 static const char *guess_type_by_name(const char *fname, const char *fallback) argument
120 return fallback;
129 return fallback;
132 static const char *guess_input_format(const char *fname, const char *fallback) argument
139 return fallback;
145 return fallback;
149 return fallback;
152 return fallback;
159 return guess_type_by_name(fname, fallback);
/linux-master/arch/s390/crypto/
H A Daes_s390.c50 } fallback; member in struct:s390_aes_ctx
58 struct crypto_skcipher *fallback; member in struct:s390_xts_ctx
77 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK;
78 sctx->fallback.cip->base.crt_flags |= (tfm->crt_flags &
81 return crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len);
110 crypto_cipher_encrypt_one(sctx->fallback.cip, out, in);
121 crypto_cipher_decrypt_one(sctx->fallback.cip, out, in);
133 sctx->fallback.cip = crypto_alloc_cipher(name, 0,
136 if (IS_ERR(sctx->fallback.cip)) {
137 pr_err("Allocating AES fallback algorith
[all...]
/linux-master/kernel/bpf/preload/iterators/
H A Diterators.bpf.c59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) argument
66 return fallback;
72 return fallback;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_res_cursor.h63 goto fallback;
77 goto fallback;
104 goto fallback;
109 fallback:
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c21 volatile const char fallback[TCP_CA_NAME_MAX]; variable
67 if (!(tp->ecn_flags & TCP_ECN_OK) && fallback[0]) {
68 /* Switch to fallback */
70 (void *)fallback, sizeof(fallback)) == -EBUSY)
81 /* Switch back to fallback */
83 (void *)fallback, sizeof(fallback)) == -EBUSY)
/linux-master/drivers/pci/hotplug/
H A Drpaphp_pci.c90 goto fallback;
98 fallback:

Completed in 238 milliseconds

123456