]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - crypto/openssh/regress/unittests/sshkey/common.h
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.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