hmac.h (9767b75d92a2e455c80c72f3670dabb3faf85792) hmac.h (14a5a2aef47e27b6afd1f8855eb41c75b69440dc)
1/*
2 * QEMU Crypto hmac algorithms
3 *
4 * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or
7 * (at your option) any later version. See the COPYING file in the
8 * top-level directory.

--- 4 unchanged lines hidden (view full) ---

13#define QCRYPTO_HMAC_H
14
15#include "qapi-types.h"
16
17typedef struct QCryptoHmac QCryptoHmac;
18struct QCryptoHmac {
19 QCryptoHashAlgorithm alg;
20 void *opaque;
1/*
2 * QEMU Crypto hmac algorithms
3 *
4 * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or
7 * (at your option) any later version. See the COPYING file in the
8 * top-level directory.

--- 4 unchanged lines hidden (view full) ---

13#define QCRYPTO_HMAC_H
14
15#include "qapi-types.h"
16
17typedef struct QCryptoHmac QCryptoHmac;
18struct QCryptoHmac {
19 QCryptoHashAlgorithm alg;
20 void *opaque;
21 void *driver;
21};
22
23/**
24 * qcrypto_hmac_supports:
25 * @alg: the hmac algorithm
26 *
27 * Determine if @alg hmac algorithm is supported by
28 * the current configured build

--- 138 unchanged lines hidden ---
22};
23
24/**
25 * qcrypto_hmac_supports:
26 * @alg: the hmac algorithm
27 *
28 * Determine if @alg hmac algorithm is supported by
29 * the current configured build

--- 138 unchanged lines hidden ---