Device cross platform? If it means to you what it means to me that means not linux or perhaps operating system independent. I would and did avoid such things as openssl. I went with libtomcrypt. Now as far as speed goes? Well fast, portable, C, chose any two.