Solaris Porting Layer with crypto functions