summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/regress/unittests/sshkey/common.h
blob: bf7d19dce397d961a19c466da8a7f62c61401d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 	$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);

OpenPOWER on IntegriCloud