qemu-e2k/crypto
Gonglei 3c28292f39 crypto: add CTR mode support
Introduce CTR mode support for the cipher APIs.
CTR mode uses a counter rather than a traditional IV.
The counter has additional properties, including a nonce
and initial counter block. We reuse the ctx->iv as
the counter for conveniences.

Both libgcrypt and nettle are support CTR mode, the
cipher-builtin doesn't support yet.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-10-19 10:09:24 +01:00
..
aes.c
afsplit.c
block-luks.c crypto: Switch to QEMU UUID API 2016-09-23 11:42:52 +08:00
block-luks.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
block-qcow.c
block-qcow.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
block.c crypto: report enum strings instead of values in errors 2016-09-12 12:00:52 +01:00
blockpriv.h crypto: add support for querying parameters for block encryption 2016-07-26 17:46:37 +02:00
cipher-builtin.c crypto: extend mode as a parameter in qcrypto_cipher_supports() 2016-10-19 10:09:24 +01:00
cipher-gcrypt.c crypto: add CTR mode support 2016-10-19 10:09:24 +01:00
cipher-nettle.c crypto: add CTR mode support 2016-10-19 10:09:24 +01:00
cipher.c crypto: add CTR mode support 2016-10-19 10:09:24 +01:00
desrfb.c
hash-gcrypt.c crypto: don't open-code qcrypto_hash_supports 2016-07-21 10:46:27 +01:00
hash-glib.c crypto: don't open-code qcrypto_hash_supports 2016-07-21 10:46:27 +01:00
hash-nettle.c crypto: don't open-code qcrypto_hash_supports 2016-07-21 10:46:27 +01:00
hash.c
init.c crypto: fix building complaint 2016-09-12 12:00:52 +01:00
ivgen-essiv.c
ivgen-essiv.h
ivgen-plain64.c
ivgen-plain64.h
ivgen-plain.c
ivgen-plain.h
ivgen.c
ivgenpriv.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
Makefile.objs crypto: use glib as fallback for hash algorithm 2016-07-21 10:46:27 +01:00
pbkdf-gcrypt.c crypto: support more hash algorithms for pbkdf 2016-09-19 16:30:45 +01:00
pbkdf-nettle.c crypto: support more hash algorithms for pbkdf 2016-09-19 16:30:45 +01:00
pbkdf-stub.c crypto: use uint64_t for pbkdf iteration count parameters 2016-09-19 16:30:42 +01:00
pbkdf.c crypto: use correct derived key size when timing pbkdf 2016-09-19 16:30:45 +01:00
random-gcrypt.c
random-gnutls.c
random-platform.c crypto: use /dev/[u]random as a final fallback random source 2016-07-21 10:46:27 +01:00
secret.c
tlscreds.c
tlscredsanon.c
tlscredspriv.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
tlscredsx509.c crypto: fix building complaint 2016-09-12 12:00:52 +01:00
tlssession.c crypto: add trace points for TLS cert verification 2016-09-19 16:30:46 +01:00
trace-events crypto: add trace points for TLS cert verification 2016-09-19 16:30:46 +01:00
xts.c