barbican/barbican/tests/plugin
Arun Kant a29e120965 Making iv generation configurable for pkcs11 plugin
Added configuration flag to enable or disable iv generation as part of
pkcs11 plugin logic.

In setup where HSM do not have FIPS enabled, in that case pkcs11 plugin
is expected to provide iv (initialization vector) for encrypt call. In
setup where HSM with FIPS enabled, HSM is going to generate iv and do
not need it from plugin side. So logic is updated to generate iv and
read returned data accordignly.

By default, flag is kept false to match existing behavior.

Closes-Bug: #1684997

Change-Id: Ic18d86861a3e51a4370f14c8f7eb39b3f30db2dc
2017-05-02 16:39:55 +00:00
..
crypto Making iv generation configurable for pkcs11 plugin 2017-05-02 16:39:55 +00:00
interface Make error message clear when no supported secret store found 2017-01-31 09:52:13 +00:00
util Removed application/pkix media type 2017-03-01 10:18:12 +00:00
__init__.py Restructure project to accommodate plugin types 2014-06-18 23:46:07 -05:00
test_dogtag.py Changes for multiple backend conf and friendly plugin names (Part 2) 2016-09-14 06:49:29 -07:00
test_kmip.py Fix KMIP gate 2017-03-15 17:43:01 -04:00
test_resource.py Python3: base64.b64encode expects bytes. 2016-04-26 15:12:36 +02:00
test_simple_certificate_manager.py Fix order of arguments in assertEqual 2015-09-30 11:21:02 +05:30
test_snakeoil_ca.py Replace pycrypto with cryptography in snakeoil 2017-04-20 08:55:43 -05:00
test_store_crypto.py Removed application/pkix media type 2017-03-01 10:18:12 +00:00
test_symantec.py Fix order of arguments in assertEqual 2015-09-30 11:21:02 +05:30