Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
38a4c351
Commit
38a4c351
authored
23 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Persuade new pgcrypto stuff to compile.
parent
ef80c87f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
contrib/pgcrypto/blf.h
+14
-14
14 additions, 14 deletions
contrib/pgcrypto/blf.h
contrib/pgcrypto/rijndael.c
+1
-1
1 addition, 1 deletion
contrib/pgcrypto/rijndael.c
contrib/pgcrypto/rijndael.h
+3
-3
3 additions, 3 deletions
contrib/pgcrypto/rijndael.h
with
18 additions
and
18 deletions
contrib/pgcrypto/blf.h
+
14
−
14
View file @
38a4c351
...
...
@@ -57,26 +57,26 @@ typedef struct BlowfishContext {
* Blowfish_expand0state( state, key, keylen )
*/
void
Blowfish_encipher
__P
(
(
blf_ctx
*
,
uint32
*
)
)
;
void
Blowfish_decipher
__P
(
(
blf_ctx
*
,
uint32
*
)
)
;
void
Blowfish_initstate
__P
(
(
blf_ctx
*
)
)
;
void
Blowfish_expand0state
__P
(
(
blf_ctx
*
,
const
uint8
*
,
uint16
)
)
;
void
Blowfish_encipher
(
blf_ctx
*
,
uint32
*
);
void
Blowfish_decipher
(
blf_ctx
*
,
uint32
*
);
void
Blowfish_initstate
(
blf_ctx
*
);
void
Blowfish_expand0state
(
blf_ctx
*
,
const
uint8
*
,
uint16
);
void
Blowfish_expandstate
__P
(
(
blf_ctx
*
,
const
uint8
*
,
uint16
,
const
uint8
*
,
uint16
)
)
;
(
blf_ctx
*
,
const
uint8
*
,
uint16
,
const
uint8
*
,
uint16
);
/* Standard Blowfish */
void
blf_key
__P
(
(
blf_ctx
*
,
const
uint8
*
,
uint16
)
)
;
void
blf_enc
__P
(
(
blf_ctx
*
,
uint32
*
,
uint16
)
)
;
void
blf_dec
__P
(
(
blf_ctx
*
,
uint32
*
,
uint16
)
)
;
void
blf_key
(
blf_ctx
*
,
const
uint8
*
,
uint16
);
void
blf_enc
(
blf_ctx
*
,
uint32
*
,
uint16
);
void
blf_dec
(
blf_ctx
*
,
uint32
*
,
uint16
);
/* Converts uint8 to uint32 */
uint32
Blowfish_stream2word
__P
((
const
uint8
*
,
uint16
,
uint16
*
));
uint32
Blowfish_stream2word
(
const
uint8
*
,
uint16
,
uint16
*
);
void
blf_ecb_encrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint32
));
void
blf_ecb_decrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint32
));
void
blf_ecb_encrypt
(
blf_ctx
*
,
uint8
*
,
uint32
);
void
blf_ecb_decrypt
(
blf_ctx
*
,
uint8
*
,
uint32
);
void
blf_cbc_encrypt
(
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
);
void
blf_cbc_decrypt
(
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
);
void
blf_cbc_encrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
));
void
blf_cbc_decrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
));
#endif
This diff is collapsed.
Click to expand it.
contrib/pgcrypto/rijndael.c
+
1
−
1
View file @
38a4c351
...
...
@@ -45,7 +45,7 @@ Mean: 500 cycles = 51.2 mbits/sec
#define PRE_CALC_TABLES
#define LARGE_TABLES
static
void
gen_tabs
__P
(
(
void
)
)
;
static
void
gen_tabs
(
void
);
/* 3. Basic macros for speeding up generic operations */
...
...
This diff is collapsed.
Click to expand it.
contrib/pgcrypto/rijndael.h
+
3
−
3
View file @
38a4c351
...
...
@@ -41,9 +41,9 @@ typedef struct _rijndael_ctx {
/* require endian conversions for big-endian architectures */
rijndael_ctx
*
rijndael_set_key
__P
(
(
rijndael_ctx
*
,
const
u4byte
*
,
const
u4byte
,
int
)
)
;
void
rijndael_encrypt
__P
(
(
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
)
)
;
void
rijndael_decrypt
__P
(
(
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
)
)
;
rijndael_set_key
(
rijndael_ctx
*
,
const
u4byte
*
,
const
u4byte
,
int
);
void
rijndael_encrypt
(
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
);
void
rijndael_decrypt
(
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
);
/* conventional interface */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment