R16B01 compatibility changes.

- pull in sbv's param mods drop with some additional porting make it compatible with 1.4 features.
- export some opaque types
- change some crypto hash functions to remove warnings