Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38a4c35

Browse files
committed
Persuade new pgcrypto stuff to compile.
1 parentef80c87 commit38a4c35

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

‎contrib/pgcrypto/blf.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,26 @@ typedef struct BlowfishContext {
5757
*Blowfish_expand0state( state, key, keylen )
5858
*/
5959

60-
voidBlowfish_encipher__P((blf_ctx*,uint32*));
61-
voidBlowfish_decipher__P((blf_ctx*,uint32*));
62-
voidBlowfish_initstate__P((blf_ctx*));
63-
voidBlowfish_expand0state__P((blf_ctx*,constuint8*,uint16));
60+
voidBlowfish_encipher(blf_ctx*,uint32*);
61+
voidBlowfish_decipher(blf_ctx*,uint32*);
62+
voidBlowfish_initstate(blf_ctx*);
63+
voidBlowfish_expand0state(blf_ctx*,constuint8*,uint16);
6464
voidBlowfish_expandstate
65-
__P((blf_ctx*,constuint8*,uint16,constuint8*,uint16));
65+
(blf_ctx*,constuint8*,uint16,constuint8*,uint16);
6666

6767
/* Standard Blowfish */
6868

69-
voidblf_key__P((blf_ctx*,constuint8*,uint16));
70-
voidblf_enc__P((blf_ctx*,uint32*,uint16));
71-
voidblf_dec__P((blf_ctx*,uint32*,uint16));
69+
voidblf_key(blf_ctx*,constuint8*,uint16);
70+
voidblf_enc(blf_ctx*,uint32*,uint16);
71+
voidblf_dec(blf_ctx*,uint32*,uint16);
7272

7373
/* Converts uint8 to uint32 */
74-
uint32Blowfish_stream2word__P((constuint8*,uint16 ,
75-
uint16*));
74+
uint32Blowfish_stream2word (constuint8*,uint16,uint16*);
7675

77-
voidblf_ecb_encrypt__P((blf_ctx*,uint8*,uint32));
78-
voidblf_ecb_decrypt__P((blf_ctx*,uint8*,uint32));
76+
voidblf_ecb_encrypt (blf_ctx*,uint8*,uint32);
77+
voidblf_ecb_decrypt (blf_ctx*,uint8*,uint32);
78+
79+
voidblf_cbc_encrypt (blf_ctx*,uint8*,uint8*,uint32);
80+
voidblf_cbc_decrypt (blf_ctx*,uint8*,uint8*,uint32);
7981

80-
voidblf_cbc_encrypt__P((blf_ctx*,uint8*,uint8*,uint32));
81-
voidblf_cbc_decrypt__P((blf_ctx*,uint8*,uint8*,uint32));
8282
#endif

‎contrib/pgcrypto/rijndael.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Mean: 500 cycles = 51.2 mbits/sec
4545
#definePRE_CALC_TABLES
4646
#defineLARGE_TABLES
4747

48-
staticvoidgen_tabs__P((void));
48+
staticvoidgen_tabs(void);
4949

5050
/* 3. Basic macros for speeding up generic operations */
5151

‎contrib/pgcrypto/rijndael.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ typedef struct _rijndael_ctx {
4141
/* require endian conversions for big-endian architectures */
4242

4343
rijndael_ctx*
44-
rijndael_set_key__P((rijndael_ctx*,constu4byte*,constu4byte,int));
45-
voidrijndael_encrypt__P((rijndael_ctx*,constu4byte*,u4byte*));
46-
voidrijndael_decrypt__P((rijndael_ctx*,constu4byte*,u4byte*));
44+
rijndael_set_key(rijndael_ctx*,constu4byte*,constu4byte,int);
45+
voidrijndael_encrypt(rijndael_ctx*,constu4byte*,u4byte*);
46+
voidrijndael_decrypt(rijndael_ctx*,constu4byte*,u4byte*);
4747

4848
/* conventional interface */
4949

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp