/linux-6.12.1/arch/powerpc/crypto/ |
D | aes.c | 23 struct crypto_cipher *fallback; member 31 struct crypto_cipher *fallback; in p8_aes_init() local 34 fallback = crypto_alloc_cipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in p8_aes_init() 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() [all …]
|
D | aes_cbc.c | 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() 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() [all …]
|
D | aes_ctr.c | 19 struct crypto_skcipher *fallback; member 26 struct crypto_skcipher *fallback; in p8_aes_ctr_init() local 28 fallback = crypto_alloc_skcipher("ctr(aes)", 0, in p8_aes_ctr_init() 31 if (IS_ERR(fallback)) { in p8_aes_ctr_init() 33 PTR_ERR(fallback)); in p8_aes_ctr_init() 34 return PTR_ERR(fallback); in p8_aes_ctr_init() 38 crypto_skcipher_reqsize(fallback)); in p8_aes_ctr_init() 39 ctx->fallback = fallback; in p8_aes_ctr_init() 47 crypto_free_skcipher(ctx->fallback); in p8_aes_ctr_exit() 64 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey() [all …]
|
D | aes_xts.c | 20 struct crypto_skcipher *fallback; member 29 struct crypto_skcipher *fallback; in p8_aes_xts_init() local 31 fallback = crypto_alloc_skcipher("xts(aes)", 0, in p8_aes_xts_init() 34 if (IS_ERR(fallback)) { in p8_aes_xts_init() 36 PTR_ERR(fallback)); in p8_aes_xts_init() 37 return PTR_ERR(fallback); in p8_aes_xts_init() 41 crypto_skcipher_reqsize(fallback)); in p8_aes_xts_init() 42 ctx->fallback = fallback; in p8_aes_xts_init() 50 crypto_free_skcipher(ctx->fallback); in p8_aes_xts_exit() 73 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey() [all …]
|
/linux-6.12.1/drivers/firmware/broadcom/ |
D | bcm47xx_sprom.c | 50 const char *name, char *buf, int len, bool fallback) in get_nvram_var() argument 58 if (fallback && err == -ENOENT && prefix) { in get_nvram_var() 68 type *val, type allset, bool fallback) \ 75 fallback); \ 97 u16 *val_lo, u16 *val_hi, bool fallback) in NVRAM_READ_VAL() 103 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); in NVRAM_READ_VAL() 118 bool fallback) in nvram_read_leddc() argument 124 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); in nvram_read_leddc() 142 u8 val[6], bool fallback) in nvram_read_macaddr() argument 147 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); in nvram_read_macaddr() [all …]
|
/linux-6.12.1/drivers/crypto/ |
D | atmel-ecc.c | 42 struct crypto_kpp *fallback; member 99 return crypto_kpp_set_secret(ctx->fallback, buf, len); in atmel_ecdh_set_secret() 145 kpp_request_set_tfm(req, ctx->fallback); in atmel_ecdh_generate_public_key() 174 kpp_request_set_tfm(req, ctx->fallback); in atmel_ecdh_compute_shared_secret() 250 struct crypto_kpp *fallback; in atmel_ecdh_init_tfm() local 260 fallback = crypto_alloc_kpp(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in atmel_ecdh_init_tfm() 261 if (IS_ERR(fallback)) { in atmel_ecdh_init_tfm() 263 alg, PTR_ERR(fallback)); in atmel_ecdh_init_tfm() 264 return PTR_ERR(fallback); in atmel_ecdh_init_tfm() 267 crypto_kpp_set_flags(fallback, crypto_kpp_get_flags(tfm)); in atmel_ecdh_init_tfm() [all …]
|
D | geode-aes.c | 129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip() 130 tctx->fallback.cip->base.crt_flags |= in geode_setkey_cip() 133 return crypto_cipher_setkey(tctx->fallback.cip, key, len); in geode_setkey_cip() 155 crypto_skcipher_clear_flags(tctx->fallback.skcipher, in geode_setkey_skcipher() 157 crypto_skcipher_set_flags(tctx->fallback.skcipher, in geode_setkey_skcipher() 160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher() 169 crypto_cipher_encrypt_one(tctx->fallback.cip, out, in); in geode_encrypt() 184 crypto_cipher_decrypt_one(tctx->fallback.cip, out, in); in geode_decrypt() 197 tctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip() 200 if (IS_ERR(tctx->fallback.cip)) { in fallback_init_cip() [all …]
|
D | padlock-sha.c | 25 struct shash_desc fallback; member 29 struct crypto_shash *fallback; member 37 dctx->fallback.tfm = ctx->fallback; in padlock_sha_init() 38 return crypto_shash_init(&dctx->fallback); in padlock_sha_init() 46 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update() 53 return crypto_shash_export(&dctx->fallback, out); in padlock_sha_export() 61 dctx->fallback.tfm = ctx->fallback; in padlock_sha_import() 62 return crypto_shash_import(&dctx->fallback, in); in padlock_sha_import() 87 err = crypto_shash_export(&dctx->fallback, &state); in padlock_sha1_finup() 92 return crypto_shash_finup(&dctx->fallback, in, count, out); in padlock_sha1_finup() [all …]
|
/linux-6.12.1/Documentation/driver-api/firmware/ |
D | fallback-mechanisms.rst | 5 A fallback mechanism is supported to allow to overcome failures to do a direct 8 configuration options related to supporting the firmware fallback mechanism are: 10 * CONFIG_FW_LOADER_USER_HELPER: enables building the firmware fallback 12 CONFIG_FW_LOADER_USER_HELPER_FALLBACK is disabled, only the custom fallback 15 enable the kobject uevent fallback mechanism on all firmware API calls 18 fallback mechanism: if this kconfig option is enabled and your second 20 informing the kernel that you have a custom fallback mechanism and it will 28 the kobject uevent fallback mechanism will never take effect even 31 Justifying the firmware fallback mechanism 36 fallback mechanism: [all …]
|
/linux-6.12.1/scripts/dtc/ |
D | dtc.c | 116 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument 122 return fallback; in guess_type_by_name() 131 return fallback; in guess_type_by_name() 134 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument 141 return fallback; in guess_input_format() 147 return fallback; in guess_input_format() 151 return fallback; in guess_input_format() 154 return fallback; in guess_input_format() 161 return guess_type_by_name(fname, fallback); in guess_input_format()
|
/linux-6.12.1/arch/s390/crypto/ |
D | aes_s390.c | 50 } fallback; member 63 struct crypto_skcipher *fallback; member 82 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in setkey_fallback_cip() 83 sctx->fallback.cip->base.crt_flags |= (tfm->crt_flags & in setkey_fallback_cip() 86 return crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len); in setkey_fallback_cip() 115 crypto_cipher_encrypt_one(sctx->fallback.cip, out, in); in crypto_aes_encrypt() 126 crypto_cipher_decrypt_one(sctx->fallback.cip, out, in); in crypto_aes_decrypt() 138 sctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip() 141 if (IS_ERR(sctx->fallback.cip)) { in fallback_init_cip() 144 return PTR_ERR(sctx->fallback.cip); in fallback_init_cip() [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_edid_load.c | 58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local 87 fallback = edidname; in drm_edid_load_firmware() 91 if (!fallback) { in drm_edid_load_firmware() 95 edidname = fallback; in drm_edid_load_firmware()
|
/linux-6.12.1/block/ |
D | blk-mq-virtio.c | 30 goto fallback; in blk_mq_virtio_map_queues() 35 goto fallback; in blk_mq_virtio_map_queues() 43 fallback: in blk_mq_virtio_map_queues()
|
D | blk-mq-pci.c | 34 goto fallback; in blk_mq_pci_map_queues() 42 fallback: in blk_mq_pci_map_queues()
|
/linux-6.12.1/arch/riscv/lib/ |
D | riscv_v_helpers.c | 26 goto fallback; in enter_vector_usercopy() 37 goto fallback; in enter_vector_usercopy() 42 fallback: in enter_vector_usercopy()
|
/linux-6.12.1/drivers/base/firmware_loader/ |
D | Kconfig | 97 bool "Enable the firmware sysfs fallback mechanism" 102 loading to the kernel through userspace as a fallback mechanism 107 built-in. For details on how to work with the sysfs fallback mechanism 108 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst. 113 the requested firmware a sysfs fallback loading facility is made 116 this is known as the driver using the custom fallback mechanism. 117 If the custom fallback mechanism is used userspace must always 118 acknowledge failure to find firmware as the timeout for the fallback 124 can no longer be relied upon as a fallback mechanism. Linux no longer 125 relies on or uses a fallback mechanism in userspace. If you need to [all …]
|
/linux-6.12.1/arch/arm/crypto/ |
D | aes-neonbs-glue.c | 53 struct crypto_aes_ctx fallback; member 58 struct crypto_aes_ctx fallback; member 64 struct crypto_aes_ctx fallback; member 132 err = aes_expandkey(&ctx->fallback, in_key, key_len); in aesbs_cbc_setkey() 139 aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); in aesbs_cbc_setkey() 162 __aes_arm_encrypt(ctx->fallback.key_enc, in cbc_encrypt() 209 err = aes_expandkey(&ctx->fallback, in_key, key_len); in aesbs_ctr_setkey_sync() 216 aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); in aesbs_ctr_setkey_sync() 261 __aes_arm_encrypt(ctx->fallback.key_enc, ctx->key.rounds, src, dst); in ctr_encrypt_one() 283 err = aes_expandkey(&ctx->fallback, in_key, key_len); in aesbs_xts_setkey() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_res_cursor.h | 63 goto fallback; in amdgpu_res_first() 77 goto fallback; in amdgpu_res_first() 104 goto fallback; in amdgpu_res_first() 109 fallback: in amdgpu_res_first()
|
/linux-6.12.1/include/linux/ |
D | bcm47xx_sprom.h | 16 bool fallback); 21 bool fallback) in bcm47xx_fill_sprom() argument
|
/linux-6.12.1/Documentation/block/ |
D | inline-encryption.rst | 132 blk-crypto-fallback 141 Therefore, we also introduce *blk-crypto-fallback*, which is an implementation 142 of inline encryption using the kernel crypto API. blk-crypto-fallback is built 146 handle en/decryption of the bio using blk-crypto-fallback. 149 on it being unmodified. Instead, blk-crypto-fallback allocates bounce pages, 152 blk-crypto-fallback completes the original bio. If the original bio is too 155 For decryption, blk-crypto-fallback "wraps" the bio's completion callback 158 successfully, blk-crypto-fallback restores the bio's original completion 161 Afterwards, blk-crypto-fallback completes the bio. 163 In both cases, the bios that blk-crypto-fallback submits no longer have an [all …]
|
/linux-6.12.1/kernel/bpf/preload/iterators/ |
D | iterators.bpf.c | 59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name() argument 66 return fallback; in get_name() 72 return fallback; in get_name()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_res_cursor.h | 74 goto fallback; in xe_res_first() 94 goto fallback; in xe_res_first() 114 goto fallback; in xe_res_first() 119 fallback: in xe_res_first()
|
/linux-6.12.1/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 111 unsigned int fallback = 0; in ccp_aes_xts_crypt() local 140 fallback = 1; in ccp_aes_xts_crypt() 143 fallback = 1; in ccp_aes_xts_crypt() 146 fallback = 1; in ccp_aes_xts_crypt() 147 if (fallback) { in ccp_aes_xts_crypt()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 741 static u32 placement_flags(u32 domain, u32 desired, u32 fallback) in placement_flags() argument 743 if (desired & fallback & domain) in placement_flags() 753 set_placement_list(struct ttm_place *pl, u32 desired, u32 fallback) in set_placement_list() argument 755 u32 domain = desired | fallback; in set_placement_list() 764 fallback); in set_placement_list() 772 fallback); in set_placement_list() 780 fallback); in set_placement_list() 788 desired, fallback); in set_placement_list() 796 fallback); in set_placement_list()
|
/linux-6.12.1/scripts/atomic/ |
D | gen-atomics.sh | 13 gen-atomic-fallback.sh linux/atomic/atomic-arch-fallback.h
|