Check defined for crypto impl flag & formatting