[os_crypto] fix compiler warnings

This is the Line @aquerubin was speaking about.  I am going to need a test cases as I don't see why this would be and issue.  Someone smarter then me might know off hand.