client: Add functions for keyring and cfg crypto
client: Add functions for keyring and cfg crypto

- Move keyring and cfg crypto to functions, rather than calling openssl
and friends directly

cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr