test: improve readability of some crypto tests
This change replaces some for (index in range)
loops with for (element of array)
and uses .prop
instead of ['prop']
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test