Securely compare two binaries in constant-time to avoid timing attacks