blob: fb05d80c1f12f68be46dd4125ec46f463a52d13b [file] [log] [blame]
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -08001/*
2 * AES SIV (RFC 5297)
3 * Copyright (c) 2013 Cozybit, Inc.
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef AES_SIV_H
10#define AES_SIV_H
11
Dmitry Shmidt78a5dac2016-11-07 11:05:47 -080012int aes_siv_encrypt(const u8 *key, size_t key_len,
13 const u8 *pw, size_t pwlen,
14 size_t num_elem, const u8 *addr[], const size_t *len,
15 u8 *out);
16int aes_siv_decrypt(const u8 *key, size_t key_len,
17 const u8 *iv_crypt, size_t iv_c_len,
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -080018 size_t num_elem, const u8 *addr[], const size_t *len,
19 u8 *out);
20
21#endif /* AES_SIV_H */