[os_crypto] fix compiler warnings
Merge pull request #285 from cgzones/os_crypto_warnings

[os_crypto] fix compiler warnings