Yes they have their own but at least for ssh on macOS it is built against LibreSSL.
~: sw_vers
ProductName: macOS
ProductVersion: 11.2.1
BuildVersion: 20D74
~: ssh -V
OpenSSH_8.1p1, LibreSSL 2.7.3