xref: /freebsd/crypto/openssh/regress/unittests/sshkey/common.h (revision 1f4bcc459a76b7aa664f3fd557684cd0ba6da352)
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