hmactest.c (55714) | hmactest.c (59191) |
---|---|
1/* crypto/hmac/hmactest.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 59 unchanged lines hidden (view full) --- 68} 69#else 70#include <openssl/hmac.h> 71 72#ifdef CHARSET_EBCDIC 73#include <openssl/ebcdic.h> 74#endif 75 | 1/* crypto/hmac/hmactest.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 59 unchanged lines hidden (view full) --- 68} 69#else 70#include <openssl/hmac.h> 71 72#ifdef CHARSET_EBCDIC 73#include <openssl/ebcdic.h> 74#endif 75 |
76struct test_st | 76static struct test_st |
77 { 78 unsigned char key[16]; 79 int key_len; 80 unsigned char data[64]; 81 int data_len; 82 unsigned char *digest; 83 } test[4]={ 84 { "", --- 75 unchanged lines hidden --- | 77 { 78 unsigned char key[16]; 79 int key_len; 80 unsigned char data[64]; 81 int data_len; 82 unsigned char *digest; 83 } test[4]={ 84 { "", --- 75 unchanged lines hidden --- |