xts.h (ca3d87d4c84032f19478010b5604cac88b045c25) xts.h (e688df6bc4549f28534cdb001f168b8caae55b0c)
1/*
2 * QEMU Crypto XTS cipher mode
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

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

22 * to the LibTom Projects
23 *
24 */
25
26#ifndef QCRYPTO_XTS_H
27#define QCRYPTO_XTS_H
28
29#include "qemu-common.h"
1/*
2 * QEMU Crypto XTS cipher mode
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

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

22 * to the LibTom Projects
23 *
24 */
25
26#ifndef QCRYPTO_XTS_H
27#define QCRYPTO_XTS_H
28
29#include "qemu-common.h"
30#include "qapi/error.h"
31
30
32
33#define XTS_BLOCK_SIZE 16
34
35typedef void xts_cipher_func(const void *ctx,
36 size_t length,
37 uint8_t *dst,
38 const uint8_t *src);
39
40/**

--- 45 unchanged lines hidden ---
31#define XTS_BLOCK_SIZE 16
32
33typedef void xts_cipher_func(const void *ctx,
34 size_t length,
35 uint8_t *dst,
36 const uint8_t *src);
37
38/**

--- 45 unchanged lines hidden ---