xref: /third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/aes_siv.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
1e5b75505Sopenharmony_ci/*
2e5b75505Sopenharmony_ci * AES SIV (RFC 5297)
3e5b75505Sopenharmony_ci * Copyright (c) 2013 Cozybit, Inc.
4e5b75505Sopenharmony_ci *
5e5b75505Sopenharmony_ci * This software may be distributed under the terms of the BSD license.
6e5b75505Sopenharmony_ci * See README for more details.
7e5b75505Sopenharmony_ci */
8e5b75505Sopenharmony_ci
9e5b75505Sopenharmony_ci#ifndef AES_SIV_H
10e5b75505Sopenharmony_ci#define AES_SIV_H
11e5b75505Sopenharmony_ci
12e5b75505Sopenharmony_ciint aes_siv_encrypt(const u8 *key, size_t key_len,
13e5b75505Sopenharmony_ci		    const u8 *pw, size_t pwlen,
14e5b75505Sopenharmony_ci		    size_t num_elem, const u8 *addr[], const size_t *len,
15e5b75505Sopenharmony_ci		    u8 *out);
16e5b75505Sopenharmony_ciint aes_siv_decrypt(const u8 *key, size_t key_len,
17e5b75505Sopenharmony_ci		    const u8 *iv_crypt, size_t iv_c_len,
18e5b75505Sopenharmony_ci		    size_t num_elem, const u8 *addr[], const size_t *len,
19e5b75505Sopenharmony_ci		    u8 *out);
20e5b75505Sopenharmony_ci
21e5b75505Sopenharmony_ci#endif /* AES_SIV_H */
22

Indexes created Thu Nov 07 10:32:03 CST 2024