lhash.c (160814) | lhash.c (167612) |
---|---|
1/* crypto/lhash/lhash.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 * --- 86 unchanged lines hidden (view full) --- 95 * 1.0 eay - First version 96 */ 97#include <stdio.h> 98#include <string.h> 99#include <stdlib.h> 100#include <openssl/crypto.h> 101#include <openssl/lhash.h> 102 | 1/* crypto/lhash/lhash.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 * --- 86 unchanged lines hidden (view full) --- 95 * 1.0 eay - First version 96 */ 97#include <stdio.h> 98#include <string.h> 99#include <stdlib.h> 100#include <openssl/crypto.h> 101#include <openssl/lhash.h> 102 |
103const char *lh_version="lhash" OPENSSL_VERSION_PTEXT; | 103const char lh_version[]="lhash" OPENSSL_VERSION_PTEXT; |
104 105#undef MIN_NODES 106#define MIN_NODES 16 107#define UP_LOAD (2*LH_LOAD_MULT) /* load times 256 (default 2) */ 108#define DOWN_LOAD (LH_LOAD_MULT) /* load times 256 (default 1) */ 109 110static void expand(LHASH *lh); 111static void contract(LHASH *lh); --- 359 unchanged lines hidden --- | 104 105#undef MIN_NODES 106#define MIN_NODES 16 107#define UP_LOAD (2*LH_LOAD_MULT) /* load times 256 (default 2) */ 108#define DOWN_LOAD (LH_LOAD_MULT) /* load times 256 (default 1) */ 109 110static void expand(LHASH *lh); 111static void contract(LHASH *lh); --- 359 unchanged lines hidden --- |