ivgen-plain.c (84a5a8014801a83d1b8d15fa7f0fde03db081530) ivgen-plain.c (e688df6bc4549f28534cdb001f168b8caae55b0c)
1/*
2 * QEMU Crypto block IV generator - plain
3 *
4 * Copyright (c) 2015-2016 Red Hat, Inc.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

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

14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21#include "qemu/osdep.h"
1/*
2 * QEMU Crypto block IV generator - plain
3 *
4 * Copyright (c) 2015-2016 Red Hat, Inc.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

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

14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21#include "qemu/osdep.h"
22#include "qapi/error.h"
23#include "qemu/bswap.h"
24#include "crypto/ivgen-plain.h"
25
26static int qcrypto_ivgen_plain_init(QCryptoIVGen *ivgen,
27 const uint8_t *key, size_t nkey,
28 Error **errp)
29{
30 return 0;

--- 31 unchanged lines hidden ---
22#include "qemu/bswap.h"
23#include "crypto/ivgen-plain.h"
24
25static int qcrypto_ivgen_plain_init(QCryptoIVGen *ivgen,
26 const uint8_t *key, size_t nkey,
27 Error **errp)
28{
29 return 0;

--- 31 unchanged lines hidden ---