qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] dd2bf9: crypto: add additional query accessor


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] dd2bf9: crypto: add additional query accessors for cipher ...
Date: Wed, 23 Dec 2015 11:30:03 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: dd2bf9eb95f875f0ad6a15aecb48cfc8b739fcbc
      
https://github.com/qemu/qemu/commit/dd2bf9eb95f875f0ad6a15aecb48cfc8b739fcbc
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M crypto/cipher.c
    M include/crypto/cipher.h
    M tests/test-crypto-cipher.c

  Log Message:
  -----------
  crypto: add additional query accessors for cipher instances

Adds new methods to allow querying the length of the cipher
key, block size and initialization vectors.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: 7b36064c90c377d07d30904318d6cbfe5a133af1
      
https://github.com/qemu/qemu/commit/7b36064c90c377d07d30904318d6cbfe5a133af1
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M crypto/hash.c
    M include/crypto/hash.h
    M tests/test-crypto-hash.c

  Log Message:
  -----------
  crypto: add ability to query hash digest len

Add a qcrypto_hash_digest_len() method which allows querying of
the raw digest size for a given hash algorithm.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: d84b79d358c3e5a490f8b82641b7f99b52458545
      
https://github.com/qemu/qemu/commit/d84b79d358c3e5a490f8b82641b7f99b52458545
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M crypto/hash.c
    M include/crypto/hash.h
    M qapi/crypto.json

  Log Message:
  -----------
  crypto: move QCryptoHashAlgorithm enum definition into QAPI

The QCryptoHashAlgorithm enum is defined in the crypto/hash.h
header. In the future some QAPI types will want to reference
the hash enums, so move the enum definition into QAPI too.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: d8c02bcc9404b65e8cc290c009bf43f571ec967f
      
https://github.com/qemu/qemu/commit/d8c02bcc9404b65e8cc290c009bf43f571ec967f
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M crypto/cipher.c
    M include/crypto/cipher.h
    M qapi/crypto.json

  Log Message:
  -----------
  crypto: move QCryptoCipherAlgorithm/Mode enum definitions into QAPI

The QCryptoCipherAlgorithm and QCryptoCipherMode enums are
defined in the crypto/cipher.h header. In the future some
QAPI types will want to reference the hash enums, so move
the enum definition into QAPI too.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: 48befbc34420d64fdc1f50a54bafdc66eef575d8
      
https://github.com/qemu/qemu/commit/48befbc34420d64fdc1f50a54bafdc66eef575d8
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  crypto: ensure qapi/crypto.json is listed in qapi-modules

The rebuild of qapi-types.c/h is not correctly triggered
when qapi/crypto.json is changed because it was missing
from the list of files in the qapi-modules variable.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: 50de6261510301d586f0411b3fdb11e4cd4fdb52
      
https://github.com/qemu/qemu/commit/50de6261510301d586f0411b3fdb11e4cd4fdb52
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M crypto/cipher.c

  Log Message:
  -----------
  crypto: fix transposed arguments in cipher error message

When reporting an incorrect key length for a cipher, we
mixed up the actual vs expected arguments.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: 38a762fec63fd5c035aae29ba9a77d357e21e4a7
      
https://github.com/qemu/qemu/commit/38a762fec63fd5c035aae29ba9a77d357e21e4a7
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  Changed paths:
    M Makefile
    M crypto/cipher.c
    M crypto/hash.c
    M include/crypto/cipher.h
    M include/crypto/hash.h
    M qapi/crypto.json
    M tests/test-crypto-cipher.c
    M tests/test-crypto-hash.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/berrange/tags/pull-crypto-fixes-2015-12-23-1' into staging

Merge misc crypto changes & fixes

# gpg: Signature made Wed 23 Dec 2015 11:11:54 GMT using RSA key ID 15104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>"
# gpg:                 aka "Daniel P. Berrange <address@hidden>"

* remotes/berrange/tags/pull-crypto-fixes-2015-12-23-1:
  crypto: fix transposed arguments in cipher error message
  crypto: ensure qapi/crypto.json is listed in qapi-modules
  crypto: move QCryptoCipherAlgorithm/Mode enum definitions into QAPI
  crypto: move QCryptoHashAlgorithm enum definition into QAPI
  crypto: add ability to query hash digest len
  crypto: add additional query accessors for cipher instances

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/8b4f90316a56...38a762fec63f

reply via email to

[Prev in Thread] Current Thread [Next in Thread]