[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] cc5eff: crypto: cipher: introduce context fre
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] cc5eff: crypto: cipher: introduce context free function |
Date: |
Wed, 19 Jul 2017 13:38:19 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: cc5eff0186001790e6c15f155e376b9e9c43fc56
https://github.com/qemu/qemu/commit/cc5eff0186001790e6c15f155e376b9e9c43fc56
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/cipher-gcrypt.c
M crypto/cipher-nettle.c
Log Message:
-----------
crypto: cipher: introduce context free function
Refactors the qcrypto_cipher_free(), splits it into two parts. One
is gcrypt/nettle__cipher_free_ctx() to free the special context.
This makes code more clear, what's more, it would be used by the
later patch.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 468fb27154064dc6f76462d567ea0b556a31b1e6
https://github.com/qemu/qemu/commit/468fb27154064dc6f76462d567ea0b556a31b1e6
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/cipher-gcrypt.c
Log Message:
-----------
crypto: cipher: introduce qcrypto_cipher_ctx_new for gcrypt-backend
Extracts qcrypto_cipher_ctx_new() from qcrypto_cipher_new() for
gcrypt-backend impls.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: eabe6c58ac6e10a711885b87ded6df81f868a867
https://github.com/qemu/qemu/commit/eabe6c58ac6e10a711885b87ded6df81f868a867
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/cipher-nettle.c
Log Message:
-----------
crypto: cipher: introduce qcrypto_cipher_ctx_new for nettle-backend
Extracts qcrypto_cipher_ctx_new() from qcrypto_cipher_new() for
nettle-backend impls.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: d962c6266c5361f62f16b3c7b1c5b587502eaf77
https://github.com/qemu/qemu/commit/d962c6266c5361f62f16b3c7b1c5b587502eaf77
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/cipher-builtin.c
Log Message:
-----------
crypto: cipher: introduce qcrypto_cipher_ctx_new for builtin-backend
Extracts qcrypto_cipher_ctx_new() from qcrypto_cipher_new() for
builtin-backend impls.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 75c800780919e389e6c272d84b31a33ec348ff79
https://github.com/qemu/qemu/commit/75c800780919e389e6c272d84b31a33ec348ff79
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/cipher-builtin.c
M crypto/cipher-gcrypt.c
M crypto/cipher-nettle.c
M crypto/cipher.c
A crypto/cipherpriv.h
M include/crypto/cipher.h
Log Message:
-----------
crypto: cipher: add cipher driver framework
1) makes the public APIs in cipher-nettle/gcrypt/builtin static,
and rename them with "nettle/gcrypt/builtin" prefix.
2) introduces cipher framework, including QCryptoCipherDriver
and new public APIs.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: aa8efad903a7594dbd9f96b9804c028f28fc8f8e
https://github.com/qemu/qemu/commit/aa8efad903a7594dbd9f96b9804c028f28fc8f8e
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/hash-gcrypt.c
M crypto/hash-glib.c
M crypto/hash-nettle.c
M crypto/hash.c
A crypto/hashpriv.h
Log Message:
-----------
crypto: hash: add hash driver framework
1) makes the public APIs in hash-nettle/gcrypt/glib static,
and rename them with "nettle/gcrypt/glib" prefix.
2) introduces hash framework, including QCryptoHashDriver
and new public APIs.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 9767b75d92a2e455c80c72f3670dabb3faf85792
https://github.com/qemu/qemu/commit/9767b75d92a2e455c80c72f3670dabb3faf85792
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
R crypto/hmac.h
A include/crypto/hmac.h
Log Message:
-----------
crypto: hmac: move crypto/hmac.h into include/crypto/
Moves crypto/hmac.h into include/crypto/, likes cipher.h and hash.h
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 822d15ded8887742ea7ea4ddbfcfebb443813dd3
https://github.com/qemu/qemu/commit/822d15ded8887742ea7ea4ddbfcfebb443813dd3
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/hmac-gcrypt.c
Log Message:
-----------
crypto: hmac: introduce qcrypto_hmac_ctx_new for gcrypt-backend
1) Fix a handle-leak problem in qcrypto_hmac_new(), didn't free
ctx->handle if gcry_mac_setkey fails.
2) Extracts qcrypto_hmac_ctx_new() from qcrypto_hmac_new() for
gcrypt-backend impls.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 8c2776d86ca5a9f34bb393b35ec7bd9faef3ff31
https://github.com/qemu/qemu/commit/8c2776d86ca5a9f34bb393b35ec7bd9faef3ff31
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/hmac-nettle.c
Log Message:
-----------
crypto: hmac: introduce qcrypto_hmac_ctx_new for nettle-backend
Extracts qcrypto_hmac_ctx_new() from qcrypto_hmac_new() for
nettle-backend impls.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: d73c04e3ca3d4a1ac73da7f7952f769824417b47
https://github.com/qemu/qemu/commit/d73c04e3ca3d4a1ac73da7f7952f769824417b47
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/hmac-glib.c
Log Message:
-----------
crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend
Extracts qcrypto_hmac_ctx_new() from qcrypto_hmac_new() for
glib-backend impls.
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 14a5a2aef47e27b6afd1f8855eb41c75b69440dc
https://github.com/qemu/qemu/commit/14a5a2aef47e27b6afd1f8855eb41c75b69440dc
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/hmac-gcrypt.c
M crypto/hmac-glib.c
M crypto/hmac-nettle.c
M crypto/hmac.c
A crypto/hmacpriv.h
M include/crypto/hmac.h
Log Message:
-----------
crypto: hmac: add hmac driver framework
1) makes the public APIs in hmac-nettle/gcrypt/glib static,
and rename them with "nettle/gcrypt/glib" prefix.
2) introduces hmac framework, including QCryptoHmacDriver
and new public APIs.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: f0d92b56d8831de4b7df43ed3e6404cae5d42ed8
https://github.com/qemu/qemu/commit/f0d92b56d8831de4b7df43ed3e6404cae5d42ed8
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M configure
M crypto/Makefile.objs
A crypto/afalg.c
A crypto/afalgpriv.h
Log Message:
-----------
crypto: introduce some common functions for af_alg backend
The AF_ALG socket family is the userspace interface for linux
crypto API, this patch adds af_alg family support and some common
functions for af_alg backend. It'll be used by afalg-backend crypto
latter.
Signed-off-by: Longpeng(Mike) <address@hidden>
Maintainer: modified to report an error if AF_ALG is requested
but cannot be supported
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 25c60df32b9aad71a86cbb3aeaed60bf7567918a
https://github.com/qemu/qemu/commit/25c60df32b9aad71a86cbb3aeaed60bf7567918a
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/Makefile.objs
M crypto/afalgpriv.h
A crypto/cipher-afalg.c
M crypto/cipher.c
M crypto/cipherpriv.h
Log Message:
-----------
crypto: cipher: add afalg-backend cipher support
Adds afalg-backend cipher support: introduces some private APIs
firstly, and then intergrates them into qcrypto_cipher_afalg_driver.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 9a0597734876682480851376a98202a84073b715
https://github.com/qemu/qemu/commit/9a0597734876682480851376a98202a84073b715
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/Makefile.objs
M crypto/afalgpriv.h
A crypto/hash-afalg.c
M crypto/hash.c
M crypto/hashpriv.h
Log Message:
-----------
crypto: hash: add afalg-backend hash support
Adds afalg-backend hash support: introduces some private APIs
firstly, and then intergrates them into qcrypto_hash_afalg_driver.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 42e7e15f99e1c78b2d3e7e7a1cb923e472ef8e9f
https://github.com/qemu/qemu/commit/42e7e15f99e1c78b2d3e7e7a1cb923e472ef8e9f
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M crypto/hash-afalg.c
M crypto/hmac.c
M crypto/hmacpriv.h
Log Message:
-----------
crypto: hmac: add af_alg-backend hmac support
Adds afalg-backend hmac support: introduces some private APIs
firstly, and then intergrates them into qcrypto_hmac_afalg_driver.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 1efd9d5ed472e75583b9e8077cff3b4972d8819f
https://github.com/qemu/qemu/commit/1efd9d5ed472e75583b9e8077cff3b4972d8819f
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M tests/.gitignore
M tests/Makefile.include
A tests/benchmark-crypto-cipher.c
Log Message:
-----------
tests: crypto: add cipher speed benchmark support
Now we have two qcrypto backends, libiary-backend and afalg-backend,
but which one is faster? This patch add a cipher speed benchmark, it
helps us to measure the performance by using "make check-speed" or
using "./tests/benchmark-crypto-cipher" directly.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 0128cd29ee36675e57bb70d508d3832d6e278f0b
https://github.com/qemu/qemu/commit/0128cd29ee36675e57bb70d508d3832d6e278f0b
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M tests/.gitignore
M tests/Makefile.include
A tests/benchmark-crypto-hash.c
Log Message:
-----------
tests: crypto: add hash speed benchmark support
This patch add a hash speed benchmark, it helps us to
measure the performance by using "make check-speed" or
using "./tests/benchmark-crypto-hash" directly.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: c7a9af4b450c863cd84ad245ebc52a831c661392
https://github.com/qemu/qemu/commit/c7a9af4b450c863cd84ad245ebc52a831c661392
Author: Longpeng(Mike) <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M tests/.gitignore
M tests/Makefile.include
A tests/benchmark-crypto-hmac.c
Log Message:
-----------
tests: crypto: add hmac speed benchmark support
This patch add a hmac speed benchmark, it helps us to
measure the performance by using "make check-speed" or
using "./tests/benchmark-crypto-hmac" directly.
Signed-off-by: Longpeng(Mike) <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: d4e59218ab80e86015753782fb5378767a51ccd0
https://github.com/qemu/qemu/commit/d4e59218ab80e86015753782fb5378767a51ccd0
Author: Peter Maydell <address@hidden>
Date: 2017-07-19 (Wed, 19 Jul 2017)
Changed paths:
M configure
M crypto/Makefile.objs
A crypto/afalg.c
A crypto/afalgpriv.h
A crypto/cipher-afalg.c
M crypto/cipher-builtin.c
M crypto/cipher-gcrypt.c
M crypto/cipher-nettle.c
M crypto/cipher.c
A crypto/cipherpriv.h
A crypto/hash-afalg.c
M crypto/hash-gcrypt.c
M crypto/hash-glib.c
M crypto/hash-nettle.c
M crypto/hash.c
A crypto/hashpriv.h
M crypto/hmac-gcrypt.c
M crypto/hmac-glib.c
M crypto/hmac-nettle.c
M crypto/hmac.c
R crypto/hmac.h
A crypto/hmacpriv.h
M include/crypto/cipher.h
A include/crypto/hmac.h
M tests/.gitignore
M tests/Makefile.include
A tests/benchmark-crypto-cipher.c
A tests/benchmark-crypto-hash.c
A tests/benchmark-crypto-hmac.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/berrange/tags/pull-qcrypto-2017-07-18-2' into staging
Merge qcrypto 2017/07/18 v2
# gpg: Signature made Wed 19 Jul 2017 10:11:21 BST
# gpg: using RSA key 0xBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>"
# gpg: aka "Daniel P. Berrange <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF
* remotes/berrange/tags/pull-qcrypto-2017-07-18-2:
tests: crypto: add hmac speed benchmark support
tests: crypto: add hash speed benchmark support
tests: crypto: add cipher speed benchmark support
crypto: hmac: add af_alg-backend hmac support
crypto: hash: add afalg-backend hash support
crypto: cipher: add afalg-backend cipher support
crypto: introduce some common functions for af_alg backend
crypto: hmac: add hmac driver framework
crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend
crypto: hmac: introduce qcrypto_hmac_ctx_new for nettle-backend
crypto: hmac: introduce qcrypto_hmac_ctx_new for gcrypt-backend
crypto: hmac: move crypto/hmac.h into include/crypto/
crypto: hash: add hash driver framework
crypto: cipher: add cipher driver framework
crypto: cipher: introduce qcrypto_cipher_ctx_new for builtin-backend
crypto: cipher: introduce qcrypto_cipher_ctx_new for nettle-backend
crypto: cipher: introduce qcrypto_cipher_ctx_new for gcrypt-backend
crypto: cipher: introduce context free function
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/824dbfb45d48...d4e59218ab80
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] cc5eff: crypto: cipher: introduce context free function,
GitHub <=