]> git.ipfire.org Git - thirdparty/hostap.git/blame - src/crypto/aes_siv.h
wolfSSL: Fix crypto_ec_point_solve_y_coord()
[thirdparty/hostap.git] / src / crypto / aes_siv.h
CommitLineData
f7072600
BC
1/*
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
325a85be
JM
12int 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,
f7072600
BC
18 size_t num_elem, const u8 *addr[], const size_t *len,
19 u8 *out);
20
21#endif /* AES_SIV_H */