For context: the binary file is for wireless firmware updates of an ARM Cortex-M4 MCU. If opening files in binary mode is not possible, I will need to implement a base64 text encoding, which unfortunately increases my image size. -- Sent from: http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html