]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - crypto/openssh/regress/unittests/sshkey/common.h
MFH (r265214, r294333, r294407, r294467): misc prop fixes
[FreeBSD/stable/10.git] / crypto / openssh / regress / unittests / sshkey / common.h
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