This is a small series of misc enhancements to the crypto APIs. A couple of helper methods are added for getting data sizes, some enums are converted to use QAPI schema and a couple of minor bugs are squashed
Daniel P. Berrange (6): crypto: add ability to query the cipher key, block & IV lens crypto: add ability to query hash digest len crypto: move QCryptoHashAlgorithm enum definition into QAPI crypto: move QCryptoCipherAlgorithm/Mode enum definitions into QAPI crypto: ensure qapi/crypto.json is listed in qapi-modules crypto: fix transposed arguments in cipher error message Makefile | 3 ++- crypto/cipher.c | 54 +++++++++++++++++++++++++++++++++++++++++++--- crypto/hash.c | 17 ++++++++++++++- include/crypto/cipher.h | 54 +++++++++++++++++++++++++++++++++------------- include/crypto/hash.h | 20 ++++++++++------- qapi/crypto.json | 45 ++++++++++++++++++++++++++++++++++++++ tests/test-crypto-cipher.c | 10 +++++++++ tests/test-crypto-hash.c | 5 +++++ 8 files changed, 180 insertions(+), 28 deletions(-) -- 2.5.0
