| /OK3568_Linux_fs/kernel/drivers/crypto/vmx/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/buildroot/package/log4cxx/ |
| H A D | 0001-boost-fallback-only-check-for-boost-if-really-needed.patch | 4 Subject: [PATCH] boost-fallback: only check for boost if really needed 10 src/cmake/boost-fallback/boost-fallback.cmake | 3 +++ 13 diff --git a/src/cmake/boost-fallback/boost-fallback.cmake b/src/cmake/boost-fallback/boost-fallbac… 15 --- a/src/cmake/boost-fallback/boost-fallback.cmake 16 +++ b/src/cmake/boost-fallback/boost-fallback.cmake 17 @@ -55,6 +55,8 @@ try_compile(STD_SHARED_PTR_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tes 18 try_compile(STD_ATOMIC_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tests" 25 try_compile(Boost_SHARED_PTR_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tests" 27 try_compile(Boost_ATOMIC_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tests"
|
| /OK3568_Linux_fs/kernel/drivers/firmware/broadcom/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A 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 …]
|
| H A D | atmel-ecc.c | 43 struct crypto_kpp *fallback; member 111 return crypto_kpp_set_secret(ctx->fallback, buf, len); in atmel_ecdh_set_secret() 158 kpp_request_set_tfm(req, ctx->fallback); in atmel_ecdh_generate_public_key() 187 kpp_request_set_tfm(req, ctx->fallback); in atmel_ecdh_compute_shared_secret() 263 struct crypto_kpp *fallback; in atmel_ecdh_init_tfm() local 272 fallback = crypto_alloc_kpp(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in atmel_ecdh_init_tfm() 273 if (IS_ERR(fallback)) { in atmel_ecdh_init_tfm() 275 alg, PTR_ERR(fallback)); in atmel_ecdh_init_tfm() 276 return PTR_ERR(fallback); in atmel_ecdh_init_tfm() 279 crypto_kpp_set_flags(fallback, crypto_kpp_get_flags(tfm)); in atmel_ecdh_init_tfm() [all …]
|
| H A D | padlock-sha.c | 24 struct shash_desc fallback; member 28 struct crypto_shash *fallback; member 36 dctx->fallback.tfm = ctx->fallback; in padlock_sha_init() 37 return crypto_shash_init(&dctx->fallback); in padlock_sha_init() 45 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update() 52 return crypto_shash_export(&dctx->fallback, out); in padlock_sha_export() 60 dctx->fallback.tfm = ctx->fallback; in padlock_sha_import() 61 return crypto_shash_import(&dctx->fallback, in); in padlock_sha_import() 86 err = crypto_shash_export(&dctx->fallback, &state); in padlock_sha1_finup() 91 return crypto_shash_finup(&dctx->fallback, in, count, out); in padlock_sha1_finup() [all …]
|
| H A D | sa2ul.c | 822 crypto_free_sync_skcipher(ctx->fallback.skcipher); in sa_cipher_cra_exit() 844 ctx->fallback.skcipher = in sa_cipher_cra_init() 847 if (IS_ERR(ctx->fallback.skcipher)) { in sa_cipher_cra_init() 849 return PTR_ERR(ctx->fallback.skcipher); in sa_cipher_cra_init() 877 crypto_sync_skcipher_clear_flags(ctx->fallback.skcipher, in sa_cipher_setkey() 879 crypto_sync_skcipher_set_flags(ctx->fallback.skcipher, in sa_cipher_setkey() 882 ret = crypto_sync_skcipher_setkey(ctx->fallback.skcipher, key, keylen); in sa_cipher_setkey() 1289 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback.skcipher); in sa_cipher_run() 1291 skcipher_request_set_sync_tfm(subreq, ctx->fallback.skcipher); in sa_cipher_run() 1397 ahash_request_set_tfm(subreq, ctx->fallback.ahash); in sa_sha_run() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/crypto/ |
| H A D | aes_s390.c | 50 } fallback; member 58 struct crypto_skcipher *fallback; member 77 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in setkey_fallback_cip() 78 sctx->fallback.cip->base.crt_flags |= (tfm->crt_flags & in setkey_fallback_cip() 81 return crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len); in setkey_fallback_cip() 110 crypto_cipher_encrypt_one(sctx->fallback.cip, out, in); in crypto_aes_encrypt() 121 crypto_cipher_decrypt_one(sctx->fallback.cip, out, in); in crypto_aes_decrypt() 133 sctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip() 136 if (IS_ERR(sctx->fallback.cip)) { in fallback_init_cip() 139 return PTR_ERR(sctx->fallback.cip); in fallback_init_cip() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/firmware/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H A D | dtc.c | 114 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument 120 return fallback; in guess_type_by_name() 127 return fallback; in guess_type_by_name() 130 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument 137 return fallback; in guess_input_format() 143 return fallback; in guess_input_format() 147 return fallback; in guess_input_format() 150 return fallback; in guess_input_format() 157 return guess_type_by_name(fname, fallback); in guess_input_format()
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/ |
| H A D | dtc.c | 124 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument 130 return fallback; in guess_type_by_name() 135 return fallback; in guess_type_by_name() 138 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument 145 return fallback; in guess_input_format() 151 return fallback; in guess_input_format() 155 return fallback; in guess_input_format() 158 return fallback; in guess_input_format() 165 return guess_type_by_name(fname, fallback); in guess_input_format()
|
| /OK3568_Linux_fs/kernel/drivers/base/firmware_loader/ |
| H A D | Kconfig | 72 bool "Enable the firmware sysfs fallback mechanism" 76 loading to the kernel through userspace as a fallback mechanism 81 built-in. For details on how to work with the sysfs fallback mechanism 82 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst. 87 the requested firmware a sysfs fallback loading facility is made 90 this is known as the driver using the custom fallback mechanism. 91 If the custom fallback mechanism is used userspace must always 92 acknowledge failure to find firmware as the timeout for the fallback 98 can no longer be relied upon as a fallback mechanism. Linux no longer 99 relies on or uses a fallback mechanism in userspace. If you need to [all …]
|
| /OK3568_Linux_fs/kernel/scripts/atomic/ |
| H A D | gen-atomics.sh | 13 gen-atomic-fallback.sh linux/atomic-arch-fallback.h arch_ 14 gen-atomic-fallback.sh linux/atomic-fallback.h
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0037-kmssink-Improve-monitor-and-plane-selection.patch | 54 + int i, pipe, plane_type, num_primary, fallback; 57 + fallback = 0; 75 + } else if (!fallback && plane_type == DRM_PLANE_TYPE_OVERLAY) { 76 + /* Use first overlay plane as fallback */ 77 + fallback = plane->plane_id; 84 + if (fallback) 85 + return drmModeGetPlane (fd, fallback);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0038-kmssink-Improve-monitor-and-plane-selection.patch | 54 + int i, pipe, plane_type, num_primary, fallback; 57 + fallback = 0; 75 + } else if (!fallback && plane_type == DRM_PLANE_TYPE_OVERLAY) { 76 + /* Use first overlay plane as fallback */ 77 + fallback = plane->plane_id; 84 + if (fallback) 85 + return drmModeGetPlane (fd, fallback);
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/ |
| H A D | 0038-kmssink-Improve-monitor-and-plane-selection.patch | 54 + int i, pipe, plane_type, num_primary, fallback; 57 + fallback = 0; 75 + } else if (!fallback && plane_type == DRM_PLANE_TYPE_OVERLAY) { 76 + /* Use first overlay plane as fallback */ 77 + fallback = plane->plane_id; 84 + if (fallback) 85 + return drmModeGetPlane (fd, fallback);
|
| /OK3568_Linux_fs/external/gstreamer-rockchip/ |
| H A D | meson.build | 74 fallback : ['gstreamer', 'gst_dep']) 76 fallback : ['gstreamer', 'gst_base_dep']) 78 fallback : ['gst-plugins-base', 'allocators_dep']) 80 fallback : ['gst-plugins-base', 'video_dep']) 82 fallback : ['gst-plugins-base', 'pbutils_dep']) 85 fallback : ['glib', 'libglib_dep'])
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-mq-virtio.c | 31 goto fallback; in blk_mq_virtio_map_queues() 36 goto fallback; in blk_mq_virtio_map_queues() 43 fallback: in blk_mq_virtio_map_queues()
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_accel.c | 433 goto fallback; in exaHWCopyNtoN() 447 goto fallback; in exaHWCopyNtoN() 452 goto fallback; in exaHWCopyNtoN() 477 goto fallback; in exaHWCopyNtoN() 486 goto fallback; in exaHWCopyNtoN() 513 goto fallback; in exaHWCopyNtoN() 516 goto fallback; in exaHWCopyNtoN() 519 goto fallback; in exaHWCopyNtoN() 524 goto fallback; in exaHWCopyNtoN() 536 goto fallback; in exaHWCopyNtoN() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/block/ |
| H A D | inline-encryption.rst | 27 To allow for testing, we also want a crypto API fallback when actual 84 blk-mq changes, other block layer changes and blk-crypto-fallback 93 We introduce ``block/blk-crypto-fallback.c``, which allows upper layers to remain 97 en/decrypt the bio with the blk-crypto-fallback. 102 concerned). ``blk-crypto-fallback`` sets the bounce bio's ``bi_end_io`` to an 106 is saved and overwritten by ``blk-crypto-fallback`` to 114 blk-crypto-fallback is used, the ciphertext written to disk (and hence the 120 ``blk-crypto-fallback``. We will eventually reach a point in blk-mq when a 154 blk-crypto-fallback, if hardware support isn't available for the desired 160 (either by real inline encryption hardware, or by the blk-crypto-fallback). [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-support/libevent/libevent/ |
| H A D | 0003-test-mark-util-monotonic_prc_fallback-as-retriable.patch | 18 …nic_res_fallback", test_evutil_monotonic_res, TT_OFF_BY_DEFAULT, &basic_setup, (void*)"fallback" }, 21 - { "monotonic_prc_fallback", test_evutil_monotonic_prc, 0, &basic_setup, (void*)"fallback" }, 22 …onotonic_prc_fallback", test_evutil_monotonic_prc, TT_RETRIABLE, &basic_setup, (void*)"fallback" },
|
| /OK3568_Linux_fs/app/QLauncher/ |
| H A D | xdgdesktopfile.cpp | 584 QIcon XdgDesktopFile::fromTheme(const QString& iconName, int size, const QIcon& fallback) in fromTheme() argument 586 return QIcon::fromTheme(iconName, fallback); in fromTheme() 589 QIcon const XdgDesktopFile::icon(int size, const QIcon& fallback) const in icon() 591 QIcon result = fromTheme(value(iconKey).toString(), size, fallback); in icon() 702 QString fallback; in userDir() local 708 fallback = QString::fromLatin1("%1/%2").arg(home, QLatin1String("Desktop")); in userDir() 710 fallback = home; in userDir() 712 return fallback; in userDir() 729 return fallback; in userDir() 732 return fallback; in userDir() [all …]
|