11573Srgrimes/* $OpenBSD: common.h,v 1.1 2014/06/24 01:14:18 djm Exp $ */ 21573Srgrimes/* 31573Srgrimes * Helpers for key API tests 41573Srgrimes * 51573Srgrimes * Placed in the public domain 61573Srgrimes */ 71573Srgrimes 81573Srgrimes/* Load a binary file into a buffer */ 91573Srgrimesstruct sshbuf *load_file(const char *name); 101573Srgrimes 111573Srgrimes/* Load a text file into a buffer */ 121573Srgrimesstruct sshbuf *load_text_file(const char *name); 131573Srgrimes 141573Srgrimes/* Load a bignum from a file */ 151573SrgrimesBIGNUM *load_bignum(const char *name); 161573Srgrimes 171573Srgrimes