Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/saaya1' into 13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
etnperlong committed Apr 19, 2023
2 parents 4113009 + a1cf2a8 commit 82ea499
Show file tree
Hide file tree
Showing 29 changed files with 642 additions and 909 deletions.

This file was deleted.

5 changes: 2 additions & 3 deletions arch/arm64/boot/dts/qcom/pm8150.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@
<0x0 0x8 0x5 IRQ_TYPE_NONE>;
interrupt-names = "kpdpwr", "resin",
"resin-bark", "kpdpwr-resin-bark";
qcom,pon-dbc-delay = <62>;
qcom,pon-sw-dbc-delay = <15500>;
qcom,pon-sw-debounce;
qcom,pon-dbc-delay = <62500>;
qcom,kpdpwr-sw-debounce;
qcom,system-reset;
qcom,store-hard-reset-reason;

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/cuttlefish_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ CONFIG_SECURITY_SELINUX=y
CONFIG_INIT_STACK_ALL_ZERO=y
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
CONFIG_CRYPTO_ADIANTUM=y
CONFIG_CRYPTO_BLAKE2B=y
CONFIG_CRYPTO_LZ4=y
CONFIG_CRYPTO_ANSI_CPRNG=y
# CONFIG_CRYPTO_DEV_VIRTIO is not set
Expand Down
3 changes: 1 addition & 2 deletions arch/arm64/configs/raphael_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_PINCTRL_SM8150=y
CONFIG_GPIO_SYSFS=y
CONFIG_POWER_RESET_QCOM=y
CONFIG_USB_OVERHEAT_MITIGATION=y
CONFIG_QCOM_DLOAD_MODE=y
CONFIG_QPNP_FG_GEN4=y
CONFIG_QPNP_SMB5=y
Expand All @@ -500,7 +499,6 @@ CONFIG_QTI_AOP_REG_COOLING_DEVICE=y
CONFIG_QTI_QMI_COOLING_DEVICE=y
CONFIG_QTI_QMI_SENSOR=y
CONFIG_REGULATOR_COOLING_DEVICE=y
CONFIG_THERMAL_EMULATION=y
CONFIG_QTI_BCL_PMIC5=y
CONFIG_QTI_BCL_SOC_DRIVER=y
CONFIG_QTI_ADC_TM=y
Expand Down Expand Up @@ -885,6 +883,7 @@ CONFIG_STATIC_USERMODEHELPER=y
CONFIG_STATIC_USERMODEHELPER_PATH=""
CONFIG_SECURITY_SELINUX=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_BLAKE2B=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_TWOFISH=y
Expand Down
1 change: 1 addition & 0 deletions arch/x86/configs/x86_64_cuttlefish_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ CONFIG_INIT_STACK_ALL_ZERO=y
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
CONFIG_CRYPTO_ADIANTUM=y
CONFIG_CRYPTO_BLAKE2B=y
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_LZ4=y
# CONFIG_CRYPTO_DEV_VIRTIO is not set
Expand Down
25 changes: 9 additions & 16 deletions crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -533,30 +533,23 @@ config CRYPTO_CRC32_PCLMUL
which will enable any routine to use the CRC-32-IEEE 802.3 checksum
and gain better performance as compared with the table implementation.

config CRYPTO_BLAKE2S
tristate "BLAKE2s digest algorithm"
select CRYPTO_LIB_BLAKE2S_GENERIC
config CRYPTO_BLAKE2B
tristate "BLAKE2b digest algorithm"
select CRYPTO_HASH
help
Implementation of cryptographic hash function BLAKE2s
optimized for 8-32bit platforms and can produce digests of any size
between 1 to 32. The keyed hash is also implemented.
Implementation of cryptographic hash function BLAKE2b (or just BLAKE2),
optimized for 64bit platforms and can produce digests of any size
between 1 to 64. The keyed hash is also implemented.

This module provides the following algorithms:

- blake2s-128
- blake2s-160
- blake2s-224
- blake2s-256
- blake2b-160
- blake2b-256
- blake2b-384
- blake2b-512

See https://blake2.net for further information.

config CRYPTO_BLAKE2S_X86
tristate "BLAKE2s digest algorithm (x86 accelerated version)"
depends on X86 && 64BIT
select CRYPTO_LIB_BLAKE2S_GENERIC
select CRYPTO_ARCH_HAVE_LIB_BLAKE2S

config CRYPTO_CRCT10DIF
tristate "CRCT10DIF algorithm"
select CRYPTO_HASH
Expand Down
2 changes: 1 addition & 1 deletion crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ obj-$(CONFIG_CRYPTO_SHA3) += sha3_generic.o
obj-$(CONFIG_CRYPTO_WP512) += wp512.o
CFLAGS_wp512.o := $(call cc-option,-fno-schedule-insns) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149
obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
obj-$(CONFIG_CRYPTO_BLAKE2S) += blake2s_generic.o
obj-$(CONFIG_CRYPTO_BLAKE2B) += blake2b_generic.o
obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
obj-$(CONFIG_CRYPTO_ECB) += ecb.o
obj-$(CONFIG_CRYPTO_CBC) += cbc.o
Expand Down
Loading

0 comments on commit 82ea499

Please sign in to comment.