[os_crypto] fix sign compare
[os_crypto] fix CID 28439