Remove the static definitions of the ckch functions and add them to ssl_ckch.h in order to use them outside ssl_sock.c.