blowfish.h (92756) | blowfish.h (121072) |
---|---|
1/* $FreeBSD: head/sys/crypto/blowfish/blowfish.h 92756 2002-03-20 05:14:42Z alfred $ */ | 1/* $FreeBSD: head/sys/crypto/blowfish/blowfish.h 121072 2003-10-13 19:26:08Z ume $ */ |
2/* $KAME: blowfish.h,v 1.12 2002/02/27 01:33:59 itojun Exp $ */ 3 4/* crypto/bf/blowfish.h */ 5/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au) 6 * All rights reserved. 7 * 8 * This package is an SSL implementation written 9 * by Eric Young (eay@mincom.oz.au). --- 68 unchanged lines hidden (view full) --- 78typedef struct bf_key_st { 79 BF_LONG P[BF_ROUNDS+2]; 80 BF_LONG S[4*256]; 81} BF_KEY; 82 83void BF_set_key(BF_KEY *, int, unsigned char *); 84void BF_encrypt(BF_LONG *, BF_KEY *); 85void BF_decrypt(BF_LONG *, BF_KEY *); | 2/* $KAME: blowfish.h,v 1.12 2002/02/27 01:33:59 itojun Exp $ */ 3 4/* crypto/bf/blowfish.h */ 5/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au) 6 * All rights reserved. 7 * 8 * This package is an SSL implementation written 9 * by Eric Young (eay@mincom.oz.au). --- 68 unchanged lines hidden (view full) --- 78typedef struct bf_key_st { 79 BF_LONG P[BF_ROUNDS+2]; 80 BF_LONG S[4*256]; 81} BF_KEY; 82 83void BF_set_key(BF_KEY *, int, unsigned char *); 84void BF_encrypt(BF_LONG *, BF_KEY *); 85void BF_decrypt(BF_LONG *, BF_KEY *); |
86void BF_cbc_encrypt(const unsigned char *, unsigned char *, long, 87 const BF_KEY *, unsigned char *, int); | 86void BF_ecb_encrypt(const unsigned char *, unsigned char *, 87 BF_KEY *, int); |
88 89#ifdef __cplusplus 90} 91#endif 92 93#endif | 88 89#ifdef __cplusplus 90} 91#endif 92 93#endif |