chg: test: Improve crypto support detection and algorithm selection in pytest
Ensure that the selected algorithms remains stable throughout the entire test session. Crypto support detection was rewritten to python and simplified.
Closes #4202 (closed)
Closes #4422 (closed)
Related #3810
Edited by Nicki Křížek