postgresql/src/interfaces/libpq
Heikki Linnakangas d981074c24 Misc SCRAM code cleanups.
* Move computation of SaltedPassword to a separate function from
  scram_ClientOrServerKey(). This saves a lot of cycles in libpq, by
  computing SaltedPassword only once per authentication. (Computing
  SaltedPassword is expensive by design.)

* Split scram_ClientOrServerKey() into two functions. Improves
  readability, by making the calling code less verbose.

* Rename "server proof" to "server signature", to better match the
  nomenclature used in RFC 5802.

* Rename SCRAM_SALT_LEN to SCRAM_DEFAULT_SALT_LEN, to make it more clear
  that the salt can be of any length, and the constant only specifies how
  long a salt we use when we generate a new verifier. Also rename
  SCRAM_ITERATIONS_DEFAULT to SCRAM_DEFAULT_ITERATIONS, for consistency.

These things caught my eye while working on other upcoming changes.
2017-04-28 15:22:38 +03:00
..
po Translation updates 2016-08-08 11:08:00 -04:00
test Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
.gitignore Add missing erand48.c to libpq/.gitignore. 2017-04-20 16:31:28 -04:00
exports.txt Add libpq support for recreating an error message with different verbosity. 2016-04-03 12:24:54 -04:00
fe-auth-scram.c Misc SCRAM code cleanups. 2017-04-28 15:22:38 +03:00
fe-auth.c Improve the SASL authentication protocol. 2017-04-13 19:34:16 +03:00
fe-auth.h Refactor libpq authentication request processing. 2017-04-13 19:34:14 +03:00
fe-connect.c Partially revert commit 536d47bd9d. 2017-04-22 02:06:16 -04:00
fe-exec.c Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
fe-lobj.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe-misc.c Don't include sys/poll.h anymore. 2017-04-23 16:11:35 -07:00
fe-print.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe-protocol2.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe-protocol3.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe-secure-openssl.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe-secure.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
libpq-events.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
libpq-events.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
libpq-fe.h libpq: Make target_session_attrs=read-write consume empty result. 2017-02-15 11:05:44 -05:00
libpq-int.h Refactor libpq authentication request processing. 2017-04-13 19:34:14 +03:00
libpq.rc.in Update manual set of copyright files for 2017 2017-01-03 13:45:17 -05:00
Makefile Add newly-symlinked files to "make clean" target. 2017-04-08 14:25:45 -04:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
pg_service.conf.sample
pqexpbuffer.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pqexpbuffer.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pthread-win32.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
README
win32.c Fix typos in comments. 2017-02-06 11:33:58 +02:00
win32.h Remove support for bcc and msvc standalone libpq builds 2017-04-11 15:22:21 +02:00

src/interfaces/libpq/README

This directory contains the C version of Libpq, the POSTGRES frontend library.