mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 22:21:25 +02:00
d981074c24
* 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. |
||
---|---|---|
.. | ||
po | ||
test | ||
.gitignore | ||
exports.txt | ||
fe-auth-scram.c | ||
fe-auth.c | ||
fe-auth.h | ||
fe-connect.c | ||
fe-exec.c | ||
fe-lobj.c | ||
fe-misc.c | ||
fe-print.c | ||
fe-protocol2.c | ||
fe-protocol3.c | ||
fe-secure-openssl.c | ||
fe-secure.c | ||
libpq-events.c | ||
libpq-events.h | ||
libpq-fe.h | ||
libpq-int.h | ||
libpq.rc.in | ||
Makefile | ||
nls.mk | ||
pg_service.conf.sample | ||
pqexpbuffer.c | ||
pqexpbuffer.h | ||
pthread-win32.c | ||
README | ||
win32.c | ||
win32.h |
src/interfaces/libpq/README This directory contains the C version of Libpq, the POSTGRES frontend library.