hmac.c (4ffa88c99c54d2a30f79e3dbecec50b023eff1c8) hmac.c (e688df6bc4549f28534cdb001f168b8caae55b0c)
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.
9 *
10 */
11
12#include "qemu/osdep.h"
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.
9 *
10 */
11
12#include "qemu/osdep.h"
13#include "qapi/error.h"
14#include "crypto/hmac.h"
15#include "hmacpriv.h"
16
17static const char hex[] = "0123456789abcdef";
18
19int qcrypto_hmac_bytesv(QCryptoHmac *hmac,
20 const struct iovec *iov,
21 size_t niov,

--- 107 unchanged lines hidden ---
13#include "crypto/hmac.h"
14#include "hmacpriv.h"
15
16static const char hex[] = "0123456789abcdef";
17
18int qcrypto_hmac_bytesv(QCryptoHmac *hmac,
19 const struct iovec *iov,
20 size_t niov,

--- 107 unchanged lines hidden ---