Adithya R c65c2e9bc6 [SQUASH] treewide: Revert backported crypto algos
* breaks vowifi, besides i had little to no improvement
   in geekbench aex-xts scores with these

Revert "ARM64/configs: surya: Enable backported crypto algos"

This reverts commit 53cf765af430ea1ce8b99cfdebfaf1fbd05ce9e7.

Revert "arm64: crypto: aes-glue: always clear out defines before assuming"

This reverts commit 6bdf40bd12304f3c26c7278be8172dae4d355d23.

Revert "lib: crypto: move out aes generic library into arm64"

This reverts commit 6f53883b2cac7ec3818464e90738182c7da727b4.

Revert "crypto: bring back blkcipher"

This reverts commit 49ab3ad968fdf0f3b15a7014d6958cc46e50c4a3.

Revert "crypto: lib/aes - export sbox and inverse sbox"

This reverts commit 6d7509597228bb2824b229b6f92200621af17039.

Revert "crypto: lib/aes add aes generic"

This reverts commit cd956b7d9c2533f72a41eaa1421d7896c867137c.

Revert "HACK: include: crypto: aes.h: redirect aes function definitions to current ones"

This reverts commit 90035f7567d034bebd0672724d2ee341d9ef789a.

Revert "arm64: assembler: add utility macros to push/pop stack frames"

This reverts commit 5899671c86c750a23f68fce359ac4574f289b252.

Revert "crypto: skcipher - add the ability to abort a skcipher walk"

This reverts commit 6bfa9de12bea39c63115d573b292e6352a85ef69.

Revert "crypto: aes/fixed-time - align key schedule with other implementations"

This reverts commit 6b930b634c0bab896b127835ffba9a3c2d796760.

Revert "crypto: sm4 - export encrypt/decrypt routines to other drivers"

This reverts commit 306ce112895e48e8c67f5531dcc7794b8c9799d2.

Revert "crypto: sm4 - introduce SM4 symmetric cipher algorithm"

This reverts commit 9e677e8a2fe26fd4694dfff61279bd85237aacc8.

Revert "crypto: hash - introduce crypto_shash_tfm_digest()"

This reverts commit 2e972aa2655e7e50b4362d92e13b78723ab32c01.

Revert "crypto: ctr - add helper for performing a CTR encryption walk"

This reverts commit 20d0ffb036d9f88eb7b2c056202a9e6f4cece6bf.

Revert "crypto: sm3 - export crypto_sm3_final function"

This reverts commit d6983c76e3da30db111421795beda5c703955aa9.

Revert "crypto: sm3 - add OSCCA SM3 secure hash"

This reverts commit d6a29406704f117dfd2cc99b78078831d1fe287e.

Revert "crypto: don't optimize keccakf()"

This reverts commit 598d21bacff6319be4aa058025c632b107413f32.

Revert "crypto: sha3-generic - Use __optimize to support old compilers"

This reverts commit 734a8b2ae19a5e6e1ca1ada7ccb333a9655a0673.

Revert "crypto: sha3-generic - deal with oversize stack frames"

This reverts commit 83f16c21f6e058890a258a2a5b765046f6d1230c.

Revert "crypto: sha3-generic - export init/update/final routines"

This reverts commit 591f7afb9d0890c2ee9460360112aa4e448a3924.

Revert "crypto: sha3-generic - simplify code"

This reverts commit 6a9ea8f69fb0baa3d403fbbb82e052d684bc9fec.

Revert "crypto: sha3-generic - rewrite KECCAK transform to help the compiler optimize"

This reverts commit f7f038880d90b321a48788160beea14fa294f109.

Revert "arm64: crypto: fallback to may_use_yield"

This reverts commit 5dc3c1306cd51f5ca293e8b76f7f382ba68da2c2.

Revert "arm64: assembler: add cond_yield macro"

This reverts commit 10ec3894fbd69c75638c44925408b4a618a6afa8.

Revert "crypto: arm64/aes-ce - deal with oversight in new CTR carry code"

This reverts commit 769190a03e8e1373a4e6ebfffa409bd89a123e85.

Revert "crypto: arm64/crc-t10dif - move NEON yield to C code"

This reverts commit ae264b6f57eb729aaeb9f8c0cb64d6da7d2a61ae.

Revert "crypto: arm64/aes-ce-mac - simplify NEON yield"

This reverts commit f497267b2d962c1d1e3227b68ed47450235c0134.

Revert "crypto: arm64/aes-neonbs - remove NEON yield calls"

This reverts commit e3bf48533edde9d66e0de81df758b75e5daf7649.

Revert "crypto: arm64/sha512-ce - simplify NEON yield"

This reverts commit 223c7a38e2597442d1bfa9b8cf1d22d4e5bc975b.

Revert "crypto: arm64/sha3-ce - simplify NEON yield"

This reverts commit c4ab0f1013d7f75e77bbb190d2d0a45931777e06.

Revert "crypto: arm64/sha2-ce - simplify NEON yield"

This reverts commit c194acd3691aa17bb4bfff16124b2a3f476d0f4f.

Revert "crypto: arm64/sha1-ce - simplify NEON yield"

This reverts commit 2c13ddfe897ccda89cdbbb77d44522b7a1b52d71.

Revert "crypto: arm64/sha - add missing module aliases"

This reverts commit 0ccfa37388086d02858f9a829a8424ea6fe91369.

Revert "crypto: arm64/aes-ctr - improve tail handling"

This reverts commit 76050bf6b606b2a634d5d2615e3e37da30de1ccd.

Revert "crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled"

This reverts commit 5648ba13a3c67b2f15544c73d75525f4b47af4f6.

Revert "crypto: arm64/gcm - move authentication tag check to SIMD domain"

This reverts commit 1efe38494e3a102b79f267e85359dad696483790.

Revert "crypto: arm64/chacha - simplify tail block handling"

This reverts commit c5f4710f95bbc3b530f22d6752cd1ff3d2006f67.

Revert "crypto: hash - Use memzero_explicit() for clearing state"

This reverts commit 1ec2a7f09f56c06773a754b1037d9463d44cf5b0.

Revert "crypto: arm64: Use x16 with indirect branch to bti_c"

This reverts commit a8c3cc4987341e820cf33589fb8be1e80d6a1455.

Revert "crypto: arm64/gcm - Fix endianness warnings"

This reverts commit 02adba8b71b749dbd0d4912e233e18b20f5a8a9d.

Revert "crypto: arm64/sha - Add declarations for assembly variables"

This reverts commit 435ec992f88cefba133194f1ee249805d482d8b2.

Revert "crypto: arm64/gcm - use inline helper to suppress indirect calls"

This reverts commit bc92b86fadeb48ae4bfef2b0d3c5b9ba078a4328.

Revert "crypto: arm64/gcm - use variably sized key struct"

This reverts commit 0aa3bc4ef6a0400c29fa82bf222996ed63a221f9.

Revert "crypto: arm64/gcm - disentangle ghash and gcm setkey() routines"

This reverts commit 4ff08ef5dd27b020b66fbe45f61282f20942c7cb.

Revert "crypto: arm64/ghash - drop PMULL based shash"

This reverts commit 313a347394fc9593669d088608fa327c21481d16.

Revert "crypto: arm64/aes-glue - use crypto_shash_tfm_digest()"

This reverts commit fb5c6d2fd18e01024fc8a509945545ec6925cdd7.

Revert "crypto: arm64 - Consistently enable extension"

This reverts commit 6eae8549471bc9b81b8d25859e6683e9be4cc67c.

Revert "crypto: arm/neon - memzero_explicit aes-cbc key"

This reverts commit fda9fcfafd679f7ed2ef75f8859ff91680b9dd6b.

Revert "arm64: crypto: Modernize names for AES function macros"

This reverts commit 2d88fdbd9de0f95ef5b8e135474a40004b0b63c3.

Revert "arm64: crypto: Modernize some extra assembly annotations"

This reverts commit d6b0bf996b79a03a37c407bfe93a8c80adbd7821.

Revert "crypto: arm64/sha-ce - implement export/import"

This reverts commit 62e0842054a83d169791e1fddb0699589b82079d.

Revert "crypto: arm64 - Use modern annotations for assembly functions"

This reverts commit cecb3c804506cae6693fa140435dc47a5ee9154c.

Revert "crypto: arm64/ghash-neon - bump priority to 150"

This reverts commit c1c96a11a6618724bd9f2c094d22118a6244439a.

Revert "crypto: arm64/sha - fix function types"

This reverts commit b2a6b1e16dc2abd35ec6cb0fee1bb5681fc27e95.

Revert "crypto: skcipher - rename the crypto_blkcipher module and kconfig option"

This reverts commit 515e10b92b2b7bf161703c0ffbdbb7273626de1d.

Revert "crypto: arm64/aes-neonbs - add return value of skcipher_walk_done() in __xts_crypt()"

This reverts commit 06cd75589703d1b6bce80320a182b595ed42ab8e.

Revert "crypto: arm64/gcm-ce - implement 4 way interleave"

This reverts commit c14ebb4667dd5e494867ee129a997c6d2198507d.

Revert "crypto: arm64/aes-neonbs - implement ciphertext stealing for XTS"

This reverts commit d5397cf5dc32382901d611cd724eec6c3817656c.

Revert "crypto: arm64/aes - implement support for XTS ciphertext stealing"

This reverts commit 192933ba203e238cae5b16ab599e4cfa6b698d51.

Revert "crypto: arm64/aes-cts-cbc - move request context data to the stack"

This reverts commit f71bf2534f6d610950b010790b8e5675ed5455c7.

Revert "crypto: arm64/aes-cts-cbc-ce - performance tweak"

This reverts commit 7e8f61db4e78db217a3364ee47cfca764cbc5f0d.

Revert "crypto: arm64/aes-neon - limit exposed routines if faster driver is enabled"

This reverts commit ecd648682b2dc6bed3214b2e43a0eca35b63094d.

Revert "crypto: arm64/aes-neonbs - replace tweak mask literal with composition"

This reverts commit 5be595c6ba8edae081cdb63dca0353115d2484d1.

Revert "crypto: arm64/aes - Use PTR_ERR_OR_ZERO rather than its implementation."

This reverts commit aab710faff1ec9001c805568e6b8831103e3ecb6.

Revert "crypto: arm64 - Rename functions to avoid conflict with crypto/sha256.h"

This reverts commit caf246ef54b23c9675585fa555d4bb541bd59c92.

Revert "crypto: arm64/aes - implement accelerated ESSIV/CBC mode"

This reverts commit f8779aee4500c50d6d94bd980a2842308abeb79c.

Revert "crypto: arm64/aes-cts-cbc - factor out CBC en/decryption of a walk"

This reverts commit e0a1f4f64a8d1f4edf497ff327e016fbffadf66f.

Revert "crypto: arm64/aes-cipher - switch to shared AES inverse Sbox"

This reverts commit 186ffd910b0d5b0489d89ba6ca191c0cd376f05c.

Revert "crypto: arm64/aes-neon - switch to shared AES Sboxes"

This reverts commit 59e5b082956da502c60ac5760a915b486d1b8e5a.

Revert "crypto: arm64/aes-ce-cipher - use AES library as fallback"

This reverts commit a700606c4170512da6f9b4c96aba4f6df8ccf8a7.

Revert "crypto: aes - move sync ctr(aes) to AES library and generic helper"

This reverts commit 48b821c53fc518c80c410047748577bea1983e71.

Revert "crypto: arm64/aes-ce - switch to library version of key expansion routine"

This reverts commit cdd168c7cd95008f372dfadc2ba3861fc906ca60.

Revert "crypto: arm64/aes-neonbs - switch to library version of key expansion routine"

This reverts commit e2eb9cb4f948c5541bf39bbe3c5b4298c8a92909.

Revert "crypto: arm64/aes-ccm - switch to AES library"

This reverts commit 9fd25afeced4df2f1da1ecdebab4833b2aa98c3a.

Revert "crypto: arm64/ghash - switch to AES library"

This reverts commit 8790d3e83a3f13e887eadd033719c08e1156ad52.

Revert "crypto: aes - rename local routines to prevent future clashes"

This reverts commit cef928c589372b9fc280695fcaecfb6c21b7ee83.

Revert "crypto: arm64/aes-ce - implement 5 way interleave for ECB, CBC and CTR"

This reverts commit fdce296ea17bff501601164bb25b783798b4a402.

Revert "crypto: arm64/aes-ce - add 5 way interleave routines"

This reverts commit 917c3db52e00f145613a362143cb01fa16e72676.

Revert "crypto: chacha - constify ctx and iv arguments"

This reverts commit c83b6ad8ff05e72d0142471ed848023d984da356.

Revert "arm64: HWCAP: add support for AT_HWCAP2"

This reverts commit 9bb745a4cea3de91bf69fe01af7532f2877f6ac3.

Revert "crypto: arm64/cbcmac - handle empty messages in same way as template"

This reverts commit 4e90675cbb0ff662a9027f73d1f13fd6ec3d694a.

Revert "crypto: arm64 - convert to use crypto_simd_usable()"

This reverts commit 3b5ca4665ab8281d8ccec34709aafa8e43dc2e6d.

Revert "crypto: arm64/gcm-aes-ce - fix no-NEON fallback code"

This reverts commit 924a1110fe35f605fb92804200bf21b4594479d3.

Revert "crypto: arm64/chacha - fix hchacha_block_neon() for big endian"

This reverts commit 6ecb0ec105fdd67f4f60736e166ae33bc96c3821.

Revert "crypto: arm64/chacha - fix chacha_4block_xor_neon() for big endian"

This reverts commit e0c9ed3235e0d9460acc931eff40d02244553204.

Revert "crypto: arm64/aes-blk - update IV after partial final CTR block"

This reverts commit 18b10273b19d1e5e9e29d27948f68fb9a9291a28.

Revert "crypto: arm64/aes-neonbs - fix returning final keystream block"

This reverts commit 9f297390e264ffa3f1a00ff46f21c656dde26df9.

Revert "crypto: arm64/crct10dif-ce - cleanup and optimizations"

This reverts commit 2aae1e3d62019544b8716d1b69ebf90614e8cdab.

Revert "crypto: arm64/crct10dif - register PMULL variants as separate algos"

This reverts commit bb84013e29730f4f68d227d2668a67a23eea8187.

Revert "crypto: arm64/crct10dif - remove dead code"

This reverts commit e9a91b8f781aa9b9ce9b8cba96b84f564aa5c9f4.

Revert "crypto: arm64/ghash - register PMULL variants as separate algos"

This reverts commit 7d747b051d69639da21c96e934909611c9f81549.

Revert "crypto: arm64/aes-ccm - don't use an atomic walk needlessly"

This reverts commit 25b54060800d593a4ffdb34579210fc804b5489a.

Revert "crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling"

This reverts commit 8b995fb58cc5c8c6bf7489dab8fe8142301ac1da.

Revert "crypto: arm64/chacha - use combined SIMD/ALU routine for more speed"

This reverts commit fefef573014532d1deb1bdc428d3a71306d0e558.

Revert "crypto: arm64/chacha - optimize for arbitrary length inputs"

This reverts commit d7764657bd5578c796275ba5dbbac2ad713cfdca.

Revert "crypto: arm64/chacha - add XChaCha12 support"

This reverts commit e6c5e231ae1cd27d51526fafa4a7b081f332b019.

Revert "crypto: arm64/chacha20 - refactor to allow varying number of rounds"

This reverts commit fe2906d03233b94e1ddc91c505a6d2f385cc6679.

Revert "crypto: arm64/chacha20 - add XChaCha20 support"

This reverts commit b4e2ca051adf26b8cafad012b16b39d96cb77d3f.

Revert "crypto: arm64/nhpoly1305 - add NEON-accelerated NHPoly1305"

This reverts commit f5d169f37be30ca6360232e88357d715a578174f.

Revert "crypto: arm64/aes-blk - ensure XTS mask is always loaded"

This reverts commit a21d4e59e8d54c315ccbc196def1aa15ee6538c9.

Revert "crypto: arm64/aes - fix handling sub-block CTS-CBC inputs"

This reverts commit 2211e34cc97c80548ab831166373fefc7dc2f29d.

Revert "crypto: arm64/aes-blk - improve XTS mask handling"

This reverts commit 3fef20ad89773585e81febe97e7337664b488450.

Revert "crypto: arm64/aes-blk - add support for CTS-CBC mode"

This reverts commit 54f8af3c79f88da71c3173be25cbd790c8bd07ec.

Revert "crypto: arm64/aes-blk - revert NEON yield for skciphers"

This reverts commit 4007f6d321639b70146b5f3c1e4612c8f8158fee.

Revert "crypto: arm64/aes-blk - remove pointless (u8 *) casts"

This reverts commit 3e38de9d524ebc2d509f4af77a1ef53d71579f6b.

Revert "crypto: arm64/crct10dif - implement non-Crypto Extensions alternative"

This reverts commit 7546637992dddb0d5ed8ec161f5aa00b5e13d5e6.

Revert "crypto: arm64/crct10dif - preparatory refactor for 8x8 PMULL version"

This reverts commit 4a0e214b37f461ea570b3e23982447bb2cad31a5.

Revert "crypto: arm64/crc32 - remove PMULL based CRC32 driver"

This reverts commit 7362148d02a38e69e11f2c5f9985ff7375d4bd29.

Revert "crypto: arm64/aes-modes - get rid of literal load of addend vector"

This reverts commit ca48e35e57323d4ce03694240616a9d967c8ebfd.

Revert "crypto: arm64/aes-gcm-ce - fix scatterwalk API violation"

This reverts commit 842ecc8548a5ba41706ce1943f3caabed69ac06a.

Revert "crypto: arm64/sm4-ce - check for the right CPU feature bit"

This reverts commit 0d9a3ccbc34f63956c254406faf28ba2ae22fe6f.

Revert "crypto: arm64/ghash-ce - implement 4-way aggregation"

This reverts commit c2b969ace9aade2625ae01f466289f05762192ff.

Revert "crypto: arm64/ghash-ce - replace NEON yield check with block limit"

This reverts commit 811b2c5d4d1ade3c71dfc62da2ed082490acae6a.

Revert "crypto: arm64/aes-ce-gcm - don't reload key schedule if avoidable"

This reverts commit e873ab3d42c7ad1906ec869900a0507fabc0d517.

Revert "crypto: arm64/aes-ce-gcm - implement 2-way aggregation"

This reverts commit 94ccba0f7c486355122d25da43c39097d81a02c7.

Revert "crypto: arm64/aes-ce-gcm - operate on two input blocks at a time"

This reverts commit f2105c4e7e500b80b28d8ebc2f17db32c1d8bfd6.

Revert "crypto: arm64 - revert NEON yield for fast AEAD implementations"

This reverts commit 39e662f0f9d3db97eccef09f36f2fefc9a618bbd.

Revert "crypto/arm64: aes-ce-gcm - add missing kernel_neon_begin/end pair"

This reverts commit 15d003b13075a16712dcbdb177c41b2bddbcbf0e.

Revert "crypto: arm64/sha256 - increase cra_priority of scalar implementations"

This reverts commit 2ef73cb76eb12bb45bf0f89a49b7dc7126fadd47.

Revert "crypto: shash - remove useless setting of type flags"

This reverts commit c1d4b72ca1321bfcbee7b86390b808428c3a27fa.

Revert "crypto: arm64/aes-blk - fix and move skcipher_walk_done out of kernel_neon_begin, _end"

This reverts commit ac65336b8bd522c96fd50f49ef9c4ceee3603487.

Revert "crypto: clarify licensing of OpenSSL asm code"

This reverts commit e989520a26841372c045c493e7e2c8f7bbda4f59.

Revert "crypto: arm64/sha512-ce - yield NEON after every block of input"

This reverts commit 3bdd591e9b4da8c93d9ef7ae6049cf28385098a0.

Revert "crypto: arm64/sha3-ce - yield NEON after every block of input"

This reverts commit e3d3203e0645587a72da93e482f38695f107c3a4.

Revert "crypto: arm64/crct10dif-ce - yield NEON after every block of input"

This reverts commit 859ffc1c5d38d109ca9c57f0703e792f3a9582c2.

Revert "crypto: arm64/crc32-ce - yield NEON after every block of input"

This reverts commit 5f1c71918b39f512e4c1f4daeeb3c9d5706351a8.

Revert "crypto: arm64/aes-ghash - yield NEON after every block of input"

This reverts commit 3125f780eb7ac53a4cdbeed97ae91e8ec5945ea1.

Revert "crypto: arm64/aes-bs - yield NEON after every block of input"

This reverts commit ad2d657e731bd4d462cedbcd6ef5662a265d75a0.

Revert "Revert "crypto: arm64/aes-neonbs - fix returning final keystream block""

This reverts commit 1525d077c18b78b2953cf0d1868c444c37d3c682.

Revert "crypto: arm64/aes-blk - yield NEON after every block of input"

This reverts commit 5accaa34eea96c527aa8ec741383d3f38042ff69.

Revert "crypto: arm64/aes-ccm - yield NEON after every block of input"

This reverts commit c8f4e1b6574b2d4fdc06cd352b6950a8da2bef6c.

Revert "Revert "crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling""

This reverts commit 1629c18dda48bbac7154022dccdf9eb952ba8643.

Revert "crypto: arm64/sha2-ce - yield NEON after every block of input"

This reverts commit 343779e3c70586299ab67f3f9216562ab9bd6001.

Revert "crypto: arm64/sha1-ce - yield NEON after every block of input"

This reverts commit 68106b7893e6e78da5dc39601cba4d7a60071dea.

Revert "crypto: arm64 - add support for SM4 encryption using special instructions"

This reverts commit b9547b0195e0c89e59f41a631eadad77220d8993.

Revert "crypto: arm64/sha256-neon - play nice with CONFIG_PREEMPT kernels"

This reverts commit 33045c52eb89af1dca46aa2f31b9ace6848eb1fd.

Revert "crypto: arm64/aes-blk - add 4 way interleave to CBC-MAC encrypt path"

This reverts commit 2624ccfec2c746fd5c38e52be423d81d772ab785.

Revert "crypto: arm64/aes-blk - add 4 way interleave to CBC encrypt path"

This reverts commit 26acced8924afe42757e2f20420d2b412fd5122d.

Revert "crypto: arm64/aes-blk - remove configurable interleave"

This reverts commit aade51c37fda96baf6708504fae38dd7e8f3b525.

Revert "crypto: arm64/chacha20 - move kernel mode neon en/disable into loop"

This reverts commit 563fdb9d8718c999feff21a56e855d7d368bfe38.

Revert "crypto: arm64/aes-bs - move kernel mode neon en/disable into loop"

This reverts commit 7693fb31e5ec7a3a442abc82ce6dc223e0070c63.

Revert "crypto: arm64/aes-blk - move kernel mode neon en/disable into loop"

This reverts commit f3d47872ae322555f1933b89deaedf15f01a1630.

Revert "crypto: arm64/aes-ce-ccm - move kernel mode neon en/disable into loop"

This reverts commit 208213ffed71f368561cddafd96b8d726a96d628.

Revert "crypto: arm64/speck - add NEON-accelerated implementation of Speck-XTS"

This reverts commit a53ebc68fb69e48a0670b74f2107339937af236b.

Revert "crypto: arm64/sha512 - fix/improve new v8.2 Crypto Extensions code"

This reverts commit 3fe60009d5c1a9619412ff4e8f3a3963b90b03ee.

Revert "crypto: arm64/sm3 - new v8.2 Crypto Extensions implementation"

This reverts commit f12a399dc824600b5df583418a96759d7b76df3d.

Revert "crypto: arm64/sha3 - new v8.2 Crypto Extensions implementation"

This reverts commit 0224378dd15ddc1e5bf6999b26f6a722be125604.

Revert "crypto: arm64/sha1-ce - get rid of literal pool"

This reverts commit 537e00dd0c79e6c31c4b3b2adde9727aa9f2590f.

Revert "crypto: arm64/sha2-ce - move the round constant table to .rodata section"

This reverts commit 11f38eee4f30ae202563dce4742be2819cf5ffe7.

Revert "crypto: arm64/crct10dif - move literal data to .rodata section"

This reverts commit 89710355b705b55f2c410c698ee8cd510c769672.

Revert "crypto: arm64/crc32 - move literal data to .rodata section"

This reverts commit d3fada575171f56e3dbbc402b119db0a7e106b65.

Revert "crypto: arm64/aes-neon - move literal data to .rodata section"

This reverts commit b73eae3af478173d89be32546d3db209c241a2ac.

Revert "crypto: arm64/aes-cipher - move S-box to .rodata section"

This reverts commit fc79c79af1578456030b820c8855887f79460eec.

Revert "crypto: arm64 - implement SHA-512 using special instructions"

This reverts commit f85618f0d28e37abd7fbb83acaa3de5e32849c5e.

Revert "crypto: arm64/aes - do not call crypto_unregister_skcipher twice on error"

This reverts commit 095b634144846d00932b2d68b212373b203d8265.

Revert "[SQUASH] arm64: crypto: Revert old backports"

This reverts commit 62e858fc144999fd13942977e9de8f0ab4b17041.
2021-08-13 15:21:38 +05:30

130 lines
3.8 KiB
Plaintext

#
# Bluetooth subsystem configuration
#
menuconfig BT
tristate "Bluetooth subsystem support"
depends on NET && !S390
depends on RFKILL || !RFKILL
select CRC16
select CRYPTO
select CRYPTO_BLKCIPHER
select CRYPTO_AES
select CRYPTO_CMAC
select CRYPTO_ECB
select CRYPTO_SHA256
select CRYPTO_ECDH
help
Bluetooth is low-cost, low-power, short-range wireless technology.
It was designed as a replacement for cables and other short-range
technologies like IrDA. Bluetooth operates in personal area range
that typically extends up to 10 meters. More information about
Bluetooth can be found at <http://www.bluetooth.com/>.
Linux Bluetooth subsystem consist of several layers:
Bluetooth Core
HCI device and connection manager, scheduler
SCO audio links
L2CAP (Logical Link Control and Adaptation Protocol)
SMP (Security Manager Protocol) on LE (Low Energy) links
HCI Device drivers (Interface to the hardware)
RFCOMM Module (RFCOMM Protocol)
BNEP Module (Bluetooth Network Encapsulation Protocol)
CMTP Module (CAPI Message Transport Protocol)
HIDP Module (Human Interface Device Protocol)
Say Y here to compile Bluetooth support into the kernel or say M to
compile it as module (bluetooth).
To use Linux Bluetooth subsystem, you will need several user-space
utilities like hciconfig and bluetoothd. These utilities and updates
to Bluetooth kernel modules are provided in the BlueZ packages. For
more information, see <http://www.bluez.org/>.
config BT_BREDR
bool "Bluetooth Classic (BR/EDR) features"
depends on BT
default y
help
Bluetooth Classic includes support for Basic Rate (BR)
available with Bluetooth version 1.0b or later and support
for Enhanced Data Rate (EDR) available with Bluetooth
version 2.0 or later.
source "net/bluetooth/rfcomm/Kconfig"
source "net/bluetooth/bnep/Kconfig"
source "net/bluetooth/cmtp/Kconfig"
source "net/bluetooth/hidp/Kconfig"
config BT_HS
bool "Bluetooth High Speed (HS) features"
depends on BT_BREDR
default y
help
Bluetooth High Speed includes support for off-loading
Bluetooth connections via 802.11 (wifi) physical layer
available with Bluetooth version 3.0 or later.
config BT_LE
bool "Bluetooth Low Energy (LE) features"
depends on BT
default y
help
Bluetooth Low Energy includes support low-energy physical
layer available with Bluetooth version 4.0 or later.
config BT_6LOWPAN
tristate "Bluetooth 6LoWPAN support"
depends on BT_LE && 6LOWPAN
help
IPv6 compression over Bluetooth Low Energy.
config BT_LEDS
bool "Enable LED triggers"
depends on BT
depends on LEDS_CLASS
select LEDS_TRIGGERS
help
This option selects a few LED triggers for different
Bluetooth events.
config BT_SELFTEST
bool "Bluetooth self testing support"
depends on BT && DEBUG_KERNEL
help
Run self tests when initializing the Bluetooth subsystem. This
is a developer option and can cause significant delay when booting
the system.
When the Bluetooth subsystem is built as module, then the test
cases are run first thing at module load time. When the Bluetooth
subsystem is compiled into the kernel image, then the test cases
are run late in the initcall hierarchy.
config BT_SELFTEST_ECDH
bool "ECDH test cases"
depends on BT_LE && BT_SELFTEST
help
Run test cases for ECDH cryptographic functionality used by the
Bluetooth Low Energy Secure Connections feature.
config BT_SELFTEST_SMP
bool "SMP test cases"
depends on BT_LE && BT_SELFTEST
help
Run test cases for SMP cryptographic functionality, including both
legacy SMP as well as the Secure Connections features.
config BT_DEBUGFS
bool "Export Bluetooth internals in debugfs"
depends on BT && DEBUG_FS
default y
help
Provide extensive information about internal Bluetooth states
in debugfs.
source "drivers/bluetooth/Kconfig"