Skip to content

Commit cb13869

Browse files
valeriosettijfischer-no
authored andcommitted
[nrf fromlist] Bluetooth: Host: remove useless select in BT_HOST_CRYPTO_PRNG
PSA Crypto API always allow psa_generate_random() to be called (i.e. there is no PSA_WANT_xxx symbol that can be used to disable it). How random numbers are generated internally is a library internal detail, but the end user (Bluetooth) does not need to worry about this. Upstream PR #: 89468 Signed-off-by: Valerio Setti <[email protected]> (cherry picked from commit 1b205bc4ff5241be6efc8288c0ec555ed2049cf3)
1 parent c8398b5 commit cb13869

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

subsys/bluetooth/host/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ config BT_HOST_CRYPTO
184184
config BT_HOST_CRYPTO_PRNG
185185
bool "Use PSA crypto API library for random number generation"
186186
default y
187-
select PSA_WANT_ALG_SHA_256
188-
select PSA_WANT_KEY_TYPE_HMAC
189-
select PSA_WANT_ALG_HMAC
190187
depends on BT_HOST_CRYPTO
191188
help
192189
When selected, will use PSA Crypto API library for random number generation.

0 commit comments

Comments
 (0)