1.: I just simply renamed the fips.dylib that was generated by the build to fips_armv8.dylib. 2.: I used the usual build steps for building the openssl libs and fips.dylib : ./config --strict-warnings --release enable-fips --prefix=/tmp/mybuild darwin64-arm64-cc make clean make ...
intn){if(FIPS_mode_set(n)==0){_setSSLError(ERR_error_string(ERR_get_error(),NULL),0,__FILE__,__LINE__);returnNULL;}Py_RETURN_NONE;}static PyMethodDef PySSL_methods[]={_SSL__TEST_DECODE_CERT_METHODDEF