search for: virtio_crypto

Displaying 20 results from an estimated 141 matches for "virtio_crypto".

2016 Nov 29
3
[PATCH v3] crypto: add virtio-crypto driver
...; > + choose 'M' here, this module will be called virtio-crypto. > > > > > > All the other virtio drivers use underscore ('_') instead of hyphen > > > ('-'). > > > > Except virtio-rng. > > > > > I suggest calling it virtio_crypto for consistency. > > > > OK, I will change the Makefile to fix it. > I tried to do this, but I failed. Because virtio_crypto.ko consists of more than one source file which include tree files currently, and virtio_crypto.ko matchs the name of virtio_crypto.c. That's different wi...
2016 Nov 29
3
[PATCH v3] crypto: add virtio-crypto driver
...; > + choose 'M' here, this module will be called virtio-crypto. > > > > > > All the other virtio drivers use underscore ('_') instead of hyphen > > > ('-'). > > > > Except virtio-rng. > > > > > I suggest calling it virtio_crypto for consistency. > > > > OK, I will change the Makefile to fix it. > I tried to do this, but I failed. Because virtio_crypto.ko consists of more than one source file which include tree files currently, and virtio_crypto.ko matchs the name of virtio_crypto.c. That's different wi...
2016 Nov 28
4
[PATCH v3] virtio-crypto: add Linux driver
...[Micheal] - drop an unnecessiry spin_lock calling in virtcrypto_freeze(), avoid possible dead lock. [Micheal] - redefine parameter alg's type in order to use a cast for it. [Michael] - pad all structures to have the same size in one union, and add a member to show the union's size in virtio_crypto.h. [Michael] - update MAINTAINER file to add virtio-crypto stuff to Michael's entry so that the corresponding patches can be CC'ed to you too because the virtio-crypto doesn't lay in driver/virtio directory. The virtio crypto device is a virtual cryptography device as well as a...
2016 Nov 28
4
[PATCH v3] virtio-crypto: add Linux driver
...[Micheal] - drop an unnecessiry spin_lock calling in virtcrypto_freeze(), avoid possible dead lock. [Micheal] - redefine parameter alg's type in order to use a cast for it. [Michael] - pad all structures to have the same size in one union, and add a member to show the union's size in virtio_crypto.h. [Michael] - update MAINTAINER file to add virtio-crypto stuff to Michael's entry so that the corresponding patches can be CC'ed to you too because the virtio-crypto doesn't lay in driver/virtio directory. The virtio crypto device is a virtual cryptography device as well as a...
2016 Nov 27
2
[PATCH v2 2/2] crypto: add virtio-crypto driver
...| 8 + > drivers/crypto/Kconfig | 2 + > drivers/crypto/Makefile | 1 + > drivers/crypto/virtio/Kconfig | 10 + > drivers/crypto/virtio/Makefile | 5 + > drivers/crypto/virtio/virtio_crypto.c | 444 +++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_algs.c | 524 +++++++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ > drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ > include/uapi/linux/Kbuild...
2016 Nov 27
2
[PATCH v2 2/2] crypto: add virtio-crypto driver
...| 8 + > drivers/crypto/Kconfig | 2 + > drivers/crypto/Makefile | 1 + > drivers/crypto/virtio/Kconfig | 10 + > drivers/crypto/virtio/Makefile | 5 + > drivers/crypto/virtio/virtio_crypto.c | 444 +++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_algs.c | 524 +++++++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ > drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ > include/uapi/linux/Kbuild...
2016 Nov 28
5
[PATCH v3] crypto: add virtio-crypto driver
...| 9 + > drivers/crypto/Kconfig | 2 + > drivers/crypto/Makefile | 1 + > drivers/crypto/virtio/Kconfig | 10 + > drivers/crypto/virtio/Makefile | 5 + > drivers/crypto/virtio/virtio_crypto.c | 451 +++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_algs.c | 525 +++++++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ > drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ > include/uapi/linux/Kbuild...
2016 Nov 28
5
[PATCH v3] crypto: add virtio-crypto driver
...| 9 + > drivers/crypto/Kconfig | 2 + > drivers/crypto/Makefile | 1 + > drivers/crypto/virtio/Kconfig | 10 + > drivers/crypto/virtio/Makefile | 5 + > drivers/crypto/virtio/virtio_crypto.c | 451 +++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_algs.c | 525 +++++++++++++++++++++++++++ > drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ > drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ > include/uapi/linux/Kbuild...
2016 Nov 28
0
[virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver
...| 8 + > > drivers/crypto/Kconfig | 2 + > > drivers/crypto/Makefile | 1 + > > drivers/crypto/virtio/Kconfig | 10 + > > drivers/crypto/virtio/Makefile | 5 + > > drivers/crypto/virtio/virtio_crypto.c | 444 > +++++++++++++++++++++++ > > drivers/crypto/virtio/virtio_crypto_algs.c | 524 > +++++++++++++++++++++++++++ > > drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ > > drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ > > inc...
2016 Nov 22
5
[PATCH v2 0/2] virtio-crypto: add Linux driver
...following cryptoservices: CIPHER, MAC, HASH, and AEAD. For more information about virtio-crypto device, please see: http://qemu-project.org/Features/VirtioCrypto For better reviewing: Patch 1 introduces the little edian functions for VIRTIO_1 devices. Patch 2 mainly includes five files: 1) virtio_crypto.h is the header file for virtio-crypto device, which is based on the virtio-crypto specification. 2) virtio_crypto.c is the entry of the driver module, which is similar with other virtio devices, such as virtio-net, virtio-input etc. 3) virtio_crypto_mgr.c is used to manage the virtio crypto de...
2016 Nov 22
5
[PATCH v2 0/2] virtio-crypto: add Linux driver
...following cryptoservices: CIPHER, MAC, HASH, and AEAD. For more information about virtio-crypto device, please see: http://qemu-project.org/Features/VirtioCrypto For better reviewing: Patch 1 introduces the little edian functions for VIRTIO_1 devices. Patch 2 mainly includes five files: 1) virtio_crypto.h is the header file for virtio-crypto device, which is based on the virtio-crypto specification. 2) virtio_crypto.c is the entry of the driver module, which is similar with other virtio devices, such as virtio-net, virtio-input etc. 3) virtio_crypto_mgr.c is used to manage the virtio crypto de...
2016 Nov 22
0
[PATCH v2 2/2] crypto: add virtio-crypto driver
...t; --- MAINTAINERS | 8 + drivers/crypto/Kconfig | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/virtio/Kconfig | 10 + drivers/crypto/virtio/Makefile | 5 + drivers/crypto/virtio/virtio_crypto.c | 444 +++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_algs.c | 524 +++++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ include/uapi/linux/Kbuild | 1 +...
2016 Nov 28
0
[PATCH v3] crypto: add virtio-crypto driver
...t; --- MAINTAINERS | 9 + drivers/crypto/Kconfig | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/virtio/Kconfig | 10 + drivers/crypto/virtio/Makefile | 5 + drivers/crypto/virtio/virtio_crypto.c | 451 +++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_algs.c | 525 +++++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ include/uapi/linux/Kbuild | 1 +...
2016 Dec 08
4
[PATCH v6 0/2] virtio-crypto: add Linux driver
...lose created sessions previousely when rekeying. - convert the priority of virtio crypto algs from 4001 to 501 which is enough. v5: - add comments for algs_lock and table_lock. [Stefan] - use kzfree instead of kfree for key material security. [Stefan] - drop unnecessary spin_lock for struct virtio_crypto_ablkcipher_ctx. - dynamically allocated memory for iv in order to avoid to do DMA from the stack memory in __virtio_crypto_ablkcipher_do_req(). - add logs for error path in virtio_crypto_alg_validate_key(). - add lock before calling virtio_break_device() in virtcrypto_update_status() v4: -...
2016 Dec 08
4
[PATCH v6 0/2] virtio-crypto: add Linux driver
...lose created sessions previousely when rekeying. - convert the priority of virtio crypto algs from 4001 to 501 which is enough. v5: - add comments for algs_lock and table_lock. [Stefan] - use kzfree instead of kfree for key material security. [Stefan] - drop unnecessary spin_lock for struct virtio_crypto_ablkcipher_ctx. - dynamically allocated memory for iv in order to avoid to do DMA from the stack memory in __virtio_crypto_ablkcipher_do_req(). - add logs for error path in virtio_crypto_alg_validate_key(). - add lock before calling virtio_break_device() in virtcrypto_update_status() v4: -...
2016 Nov 28
0
[PATCH v3] crypto: add virtio-crypto driver
...| 9 + > > drivers/crypto/Kconfig | 2 + > > drivers/crypto/Makefile | 1 + > > drivers/crypto/virtio/Kconfig | 10 + > > drivers/crypto/virtio/Makefile | 5 + > > drivers/crypto/virtio/virtio_crypto.c | 451 +++++++++++++++++++++++ > > drivers/crypto/virtio/virtio_crypto_algs.c | 525 +++++++++++++++++++++++++++ > > drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ > > drivers/crypto/virtio/virtio_crypto_mgr.c | 258 +++++++++++++ > > include/uapi/...
2016 Dec 01
0
[PATCH v5 1/1] crypto: add virtio-crypto driver
...t; --- MAINTAINERS | 9 + drivers/crypto/Kconfig | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/virtio/Kconfig | 10 + drivers/crypto/virtio/Makefile | 5 + drivers/crypto/virtio/virtio_crypto_algs.c | 537 +++++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_common.h | 122 ++++++ drivers/crypto/virtio/virtio_crypto_core.c | 464 +++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_mgr.c | 264 +++++++++++++ include/uapi/linux/Kbuild | 1 +...
2016 Nov 29
0
[PATCH v4 1/1] crypto: add virtio-crypto driver
...t; --- MAINTAINERS | 9 + drivers/crypto/Kconfig | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/virtio/Kconfig | 10 + drivers/crypto/virtio/Makefile | 5 + drivers/crypto/virtio/virtio_crypto_algs.c | 518 +++++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_common.h | 124 +++++++ drivers/crypto/virtio/virtio_crypto_core.c | 460 ++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_mgr.c | 262 ++++++++++++++ include/uapi/linux/Kbuild | 1...
2016 Dec 08
0
[PATCH v6 2/2] crypto: add virtio-crypto driver
...t; --- MAINTAINERS | 9 + drivers/crypto/Kconfig | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/virtio/Kconfig | 10 + drivers/crypto/virtio/Makefile | 5 + drivers/crypto/virtio/virtio_crypto_algs.c | 541 +++++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_common.h | 122 ++++++ drivers/crypto/virtio/virtio_crypto_core.c | 464 +++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_mgr.c | 264 +++++++++++++ include/uapi/linux/Kbuild | 1 +...
2016 Dec 14
0
[PATCH v7 1/1] crypto: add virtio-crypto driver
...t; --- MAINTAINERS | 9 + drivers/crypto/Kconfig | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/virtio/Kconfig | 10 + drivers/crypto/virtio/Makefile | 5 + drivers/crypto/virtio/virtio_crypto_algs.c | 541 +++++++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_common.h | 128 +++++++ drivers/crypto/virtio/virtio_crypto_core.c | 474 +++++++++++++++++++++++ drivers/crypto/virtio/virtio_crypto_mgr.c | 264 +++++++++++++ include/uapi/linux/Kbuild | 1 +...