1 /* $OpenBSD: common.h,v 1.1 2014/06/24 01:14:18 djm Exp $ */ 2 /* 3 * Helpers for key API tests 4 * 5 * Placed in the public domain 6 */ 7 8 /* Load a binary file into a buffer */ 9 struct sshbuf *load_file(const char *name); 10 11 /* Load a text file into a buffer */ 12 struct sshbuf *load_text_file(const char *name); 13 14 /* Load a bignum from a file */ 15 BIGNUM *load_bignum(const char *name); 16 17