[ref+tests] crypto: improve error handling & improve test coverage

Merge request reports

Loading