pgsql: pgcrypto: Add support for CFB mode in AES encryption - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: pgcrypto: Add support for CFB mode in AES encryption
Date
Msg-id E1tj2J6-0078sM-L2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pgcrypto: Add support for CFB mode in AES encryption

Cipher Feedback Mode, CFB, is a self-synchronizing stream cipher which
is very similar to CBC performed in reverse. Since OpenSSL supports it,
we can easily plug it into the existing cipher selection code without
any need for infrastructure changes.

This patch was simultaneously submitted by Umar Hayat and Vladyslav
Nebozhyn, the latter whom suggested the feauture. The committed patch
is Umar's version.

Author: Umar Hayat <postgresql.wizard@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/CAPBGcbxo9ASzq14VTpQp3mnUJ5omdgTWUJOvWV0L6nNigWE5jw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9ad1b3d01f369f1b204324857e58d9283ff0a527

Modified Files
--------------
contrib/pgcrypto/expected/rijndael.out | 118 +++++++++++++++++++++++++++++++++
contrib/pgcrypto/openssl.c             |  39 +++++++++++
contrib/pgcrypto/sql/rijndael.sql      |  53 +++++++++++++++
doc/src/sgml/pgcrypto.sgml             |   8 ++-
4 files changed, 217 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Use PqMsg_Progress macro in HandleParallelMessage().
Next
From: Melanie Plageman
Date:
Subject: Re: pgsql: Use streaming read I/O in VACUUM's third phase