Annotation of OpenXM/src/ox_ntl/crypt/blowfish/blowfish.h, Revision 1.1
1.1 ! iwane 1: /* $OpenXM$ */
! 2:
! 3: #ifndef __BLOWFISH_H__
! 4: #define __BLOWFISH_H__
! 5:
! 6: #include <unistd.h>
! 7:
! 8: typedef struct __blowfish_key_t {
! 9: uint32_t p[18];
! 10: uint32_t s[4 * 256];
! 11: } blowfish_key;
! 12:
! 13:
! 14: void blowfish_enc_i(const blowfish_key *, uint32_t, uint32_t, uint32_t *, uint32_t *);
! 15: void blowfish_dec_i(const blowfish_key *, uint32_t, uint32_t, uint32_t *, uint32_t *);
! 16:
! 17: void blowfish_setkey(const unsigned char *, int, blowfish_key *);
! 18:
! 19: #endif /* __BLOWFISH_H__ */
! 20:
! 21:
! 22:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>