]> git.ipfire.org Git - thirdparty/qemu.git/commit - crypto/cipher.c
crypto: add additional query accessors for cipher instances
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Oct 2015 15:13:50 +0000 (16:13 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Dec 2015 11:02:20 +0000 (11:02 +0000)
commitdd2bf9eb95f875f0ad6a15aecb48cfc8b739fcbc
treecbc8e4b7a4f1af17d438cf51f5c0a558bd5472f6
parent5dc42c186d63b7b338594fc071cf290805dcc5a5
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 <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/cipher.c
include/crypto/cipher.h
tests/test-crypto-cipher.c