Discovered on SDK v2.6.0 (latest at time of posting)
Was trying this sample on my nRF52dk board, but was getting a "peripheral not configured" error on key generation. Some debugging led me to find that the psa_generate_random() function was failing to be enabled. I knew it worked on another project of mine, and I eventually realized that if I added "CONFIG_BT=y" to the prj.conf, RNG would be enabled correctly. This sounds like unintentional behavior to me.