crypto: avoid two coverity false positive error reports