diff options
| author | Longpeng(Mike) | 2017-07-14 20:04:04 +0200 |
|---|---|---|
| committer | Daniel P. Berrange | 2017-07-19 11:11:05 +0200 |
| commit | 14a5a2aef47e27b6afd1f8855eb41c75b69440dc (patch) | |
| tree | c8a273d9e48e5b6b4a50125238b96392f1e5481a /include/crypto | |
| parent | crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend (diff) | |
| download | qemu-14a5a2aef47e27b6afd1f8855eb41c75b69440dc.tar.gz qemu-14a5a2aef47e27b6afd1f8855eb41c75b69440dc.tar.xz qemu-14a5a2aef47e27b6afd1f8855eb41c75b69440dc.zip | |
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) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include/crypto')
| -rw-r--r-- | include/crypto/hmac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/hmac.h b/include/crypto/hmac.h index 0d3acd728a..5e88905989 100644 --- a/include/crypto/hmac.h +++ b/include/crypto/hmac.h @@ -18,6 +18,7 @@ typedef struct QCryptoHmac QCryptoHmac; struct QCryptoHmac { QCryptoHashAlgorithm alg; void *opaque; + void *driver; }; /** |
