Julia Kreger ab00904e27 Catch ValueError for FIPS 140-2 mode
In FIPS 140-2 mode, the underlying operating system will
prevent the loading of certian algorithms for hasing and
encryption. Python hashlib returns a ValueError exception
when the type cannot be instantiated.

This change catches the error and returns a relatively
user understandable reason as to why a failure has occured.

Change-Id: Id1a144b906303caa92ce88793fba8d1b14def738
Story: 2007306
Task: 38788
2020-02-18 10:45:23 -08:00
..
2014-04-14 15:09:12 -07:00
2019-12-04 16:50:47 +01:00
2016-06-28 17:02:11 +01:00