openssh/regress/unittests/sshkey/common.h

17 lines
376 B
C

/* $OpenBSD: common.h,v 1.1 2014/06/24 01:14:18 djm Exp $ */
/*
* Helpers for key API tests
*
* Placed in the public domain
*/
/* Load a binary file into a buffer */
struct sshbuf *load_file(const char *name);
/* Load a text file into a buffer */
struct sshbuf *load_text_file(const char *name);
/* Load a bignum from a file */
BIGNUM *load_bignum(const char *name);