~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to contrib/pgcrypto/blf.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $PostgreSQL: pgsql/contrib/pgcrypto/blf.h,v 1.7 2007/11/15 21:14:31 momjian Exp $ */
 
1
/* $PostgreSQL: pgsql/contrib/pgcrypto/blf.h,v 1.8 2009/06/11 14:48:52 momjian Exp $ */
2
2
/*
3
3
 * PuTTY is copyright 1997-2007 Simon Tatham.
4
4
 *
36
36
                                P[18];
37
37
        uint32          iv0,
38
38
                                iv1;                    /* for CBC mode */
39
 
}       BlowfishContext;
 
39
} BlowfishContext;
40
40
 
41
 
void            blowfish_setkey(BlowfishContext * ctx, const uint8 *key, short keybytes);
42
 
void            blowfish_setiv(BlowfishContext * ctx, const uint8 *iv);
43
 
void            blowfish_encrypt_cbc(uint8 *blk, int len, BlowfishContext * ctx);
44
 
void            blowfish_decrypt_cbc(uint8 *blk, int len, BlowfishContext * ctx);
45
 
void            blowfish_encrypt_ecb(uint8 *blk, int len, BlowfishContext * ctx);
46
 
void            blowfish_decrypt_ecb(uint8 *blk, int len, BlowfishContext * ctx);
 
41
void            blowfish_setkey(BlowfishContext *ctx, const uint8 *key, short keybytes);
 
42
void            blowfish_setiv(BlowfishContext *ctx, const uint8 *iv);
 
43
void            blowfish_encrypt_cbc(uint8 *blk, int len, BlowfishContext *ctx);
 
44
void            blowfish_decrypt_cbc(uint8 *blk, int len, BlowfishContext *ctx);
 
45
void            blowfish_encrypt_ecb(uint8 *blk, int len, BlowfishContext *ctx);
 
46
void            blowfish_decrypt_ecb(uint8 *blk, int len, BlowfishContext *ctx);