3af0d17ace
pgcrypto: Split off pgp-encrypt-md5 test
...
In FIPS mode, these tests will fail. By having them in a separate
file, it would make it easier to have an alternative output file or
selectively disable these tests. This isn't done here; this is just
some preparation.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us >
Discussion: https://www.postgresql.org/message-id/2766054.1700080156@sss.pgh.pa.us
2023-11-16 16:16:07 +01:00
814e1d9ff7
pgcrypto: Remove explicit hex encoding/decoding from tests
...
This was from before the hex format was available in bytea. Now we
can remove the extra explicit encoding/decoding calls and rely on the
default output format.
Discussion: https://www.postgresql.org/message-id/flat/17dcb4f7-7ac1-e2b6-d5f7-2dfba06cd9ee%40enterprisedb.com
2021-12-08 06:06:22 +01:00
188f359d39
pgcrypto: support changing S2K iteration count
...
pgcrypto already supports key-stretching during symmetric encryption,
including the salted-and-iterated method; but the number of iterations
was not configurable. This commit implements a new s2k-count parameter
to pgp_sym_encrypt() which permits selecting a larger number of
iterations.
Author: Jeff Janes
2016-03-09 14:31:07 -03:00
001e114b8d
Fix whitespace issues found by git diff --check, add gitattributes
...
Set per file type attributes in .gitattributes to fine-tune whitespace
checks. With the associated cleanups, the tree is now clean for git
2013-11-10 14:48:29 -05:00
3f11971916
Remove extra newlines at end and beginning of files, add missing newlines
...
at end of files.
2010-08-19 05:57:36 +00:00
bcba09e27c
Ooops, missed that a couple of contrib modules have calls to byteacmp.
...
Add bytea.h inclusions as needed. Some of the contrib regression tests
need to be de-hexified, too. Per buildfarm.
2009-08-04 18:49:50 +00:00
daab4a101f
Update /contrib regression tests for escape_string_warning.
2006-03-08 03:51:52 +00:00
e94dd6ab91
Add missing pgcrypto files from previous commit.
2005-07-10 13:46:29 +00:00