Commit ce2f2376 authored by Rich Evans's avatar Rich Evans
Browse files

change test function includes to use one convention

parent 00ab4702
......@@ -27,6 +27,7 @@
#endif
#if defined(POLARSSL_PEM_PARSE_C) || defined(POLARSSL_PEM_WRITE_C)
#include "polarssl/pem.h"
#include "polarssl/base64.h"
#include "polarssl/des.h"
......
/* BEGIN_HEADER */
#include <polarssl/aes.h>
#include "polarssl/aes.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/arc4.h>
#include "polarssl/arc4.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/asn1write.h>
#include "polarssl/asn1write.h"
#define GUARD_LEN 4
#define GUARD_VAL 0x2a
......
/* BEGIN_HEADER */
#include <polarssl/base64.h>
#include "polarssl/base64.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/camellia.h>
#include "polarssl/camellia.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/ccm.h>
#include "polarssl/ccm.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/cipher.h>
#include "polarssl/cipher.h"
#if defined(POLARSSL_GCM_C)
#include <polarssl/gcm.h>
#include "polarssl/gcm.h"
#endif
/* END_HEADER */
......
/* BEGIN_HEADER */
#include <polarssl/ctr_drbg.h>
#include <string.h>
#include "polarssl/ctr_drbg.h"
int test_offset_idx;
int entropy_func( void *data, unsigned char *buf, size_t len )
......
/* BEGIN_HEADER */
#include <polarssl/debug.h>
#include "polarssl/debug.h"
struct buffer_data
{
......
/* BEGIN_HEADER */
#include <polarssl/des.h>
#include "polarssl/des.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/dhm.h>
#include "polarssl/dhm.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/ecdh.h>
#include "polarssl/ecdh.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/ecdsa.h>
#include "polarssl/ecdsa.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/ecp.h>
#include "polarssl/ecp.h"
#define POLARSSL_ECP_PF_UNKNOWN -1
/* END_HEADER */
......
/* BEGIN_HEADER */
#include <polarssl/entropy.h>
#include "polarssl/entropy.h"
/*
* Number of calls made to entropy_dummy_source()
......
/* BEGIN_HEADER */
#include <polarssl/error.h>
#include "polarssl/error.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/gcm.h>
#include "polarssl/gcm.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/hmac_drbg.h>
#include <string.h>
#include "polarssl/hmac_drbg.h"
typedef struct
{
......
/* BEGIN_HEADER */
#include <polarssl/sha1.h>
#include <polarssl/sha256.h>
#include <polarssl/sha512.h>
#include "polarssl/sha1.h"
#include "polarssl/sha256.h"
#include "polarssl/sha512.h"
/* END_HEADER */
/* BEGIN_CASE depends_on:POLARSSL_SHA1_C */
......
/* BEGIN_HEADER */
#include <polarssl/md.h>
#include "polarssl/md.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/md2.h>
#include <polarssl/md4.h>
#include <polarssl/md5.h>
#include <polarssl/ripemd160.h>
#include "polarssl/md2.h"
#include "polarssl/md4.h"
#include "polarssl/md5.h"
#include "polarssl/ripemd160.h"
/* END_HEADER */
/* BEGIN_CASE depends_on:POLARSSL_MD2_C */
......
/* BEGIN_HEADER */
#include <polarssl/memory_buffer_alloc.h>
#include "polarssl/memory_buffer_alloc.h"
#define TEST_SUITE_MEMORY_BUFFER_ALLOC
/* END_HEADER */
......
/* BEGIN_HEADER */
#include <polarssl/bignum.h>
#include "polarssl/bignum.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/pbkdf2.h>
#include "polarssl/pbkdf2.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/base64.h>
#include <polarssl/pem.h>
#include "polarssl/base64.h"
#include "polarssl/pem.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/pk.h>
#include "polarssl/pk.h"
/* For error codes */
#include <polarssl/ecp.h>
#include <polarssl/rsa.h>
#include "polarssl/ecp.h"
#include "polarssl/rsa.h"
static int rnd_std_rand( void *rng_state, unsigned char *output, size_t len );
......
/* BEGIN_HEADER */
#include <polarssl/rsa.h>
#include <polarssl/md.h>
#include "polarssl/rsa.h"
#include "polarssl/md.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/pkcs5.h>
#include "polarssl/pkcs5.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/pk.h>
#include <polarssl/pem.h>
#include <polarssl/oid.h>
#include "polarssl/pk.h"
#include "polarssl/pem.h"
#include "polarssl/oid.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/pk.h>
#include <polarssl/pem.h>
#include <polarssl/oid.h>
#include "polarssl/pk.h"
#include "polarssl/pem.h"
#include "polarssl/oid.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/rsa.h>
#include <polarssl/md2.h>
#include <polarssl/md4.h>
#include <polarssl/md5.h>
#include <polarssl/sha1.h>
#include <polarssl/sha256.h>
#include <polarssl/sha512.h>
#include <polarssl/entropy.h>
#include <polarssl/ctr_drbg.h>
#include "polarssl/rsa.h"
#include "polarssl/md2.h"
#include "polarssl/md4.h"
#include "polarssl/md5.h"
#include "polarssl/sha1.h"
#include "polarssl/sha256.h"
#include "polarssl/sha512.h"
#include "polarssl/entropy.h"
#include "polarssl/ctr_drbg.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/sha1.h>
#include <polarssl/sha256.h>
#include <polarssl/sha512.h>
#include "polarssl/sha1.h"
#include "polarssl/sha256.h"
#include "polarssl/sha512.h"
/* END_HEADER */
/* BEGIN_CASE depends_on:POLARSSL_SHA1_C */
......
/* BEGIN_HEADER */
#include <polarssl/version.h>
#include "polarssl/version.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/x509_crt.h>
#include <polarssl/x509_crl.h>
#include <polarssl/x509_csr.h>
#include <polarssl/pem.h>
#include <polarssl/oid.h>
#include <polarssl/base64.h>
#include "polarssl/x509_crt.h"
#include "polarssl/x509_crl.h"
#include "polarssl/x509_csr.h"
#include "polarssl/pem.h"
#include "polarssl/oid.h"
#include "polarssl/base64.h"
int verify_none( void *data, x509_crt *crt, int certificate_depth, int *flags )
{
......
/* BEGIN_HEADER */
#include <polarssl/x509_crt.h>
#include <polarssl/x509_csr.h>
#include <polarssl/pem.h>
#include <polarssl/oid.h>
#include "polarssl/x509_crt.h"
#include "polarssl/x509_csr.h"
#include "polarssl/pem.h"
#include "polarssl/oid.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
/* BEGIN_HEADER */
#include <polarssl/xtea.h>
#include "polarssl/xtea.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment