[sr-dev] git:master:b4daf059: core/crypto: fix several mismatched bound warnings