Files
UtsavBalar1231 56420ff22f Fix aes_encrypt() redefinition errors
This fixes function definition conflicts with aes kernel module as
defined in include/crypto/aes.h

Change-Id: I4e5d62364a04a190c3dac474e595bcb36882519c
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2024-06-30 14:24:41 +02:00

22 lines
578 B
C

/*
* AES functions
* Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef AES_H
#define AES_H
#define AES_BLOCK_SIZE 16
void * aes_rtl8852bs_encrypt_init(const u8 *key, size_t len);
int aes_rtl8852bs_encrypt(void *ctx, const u8 *plain, u8 *crypt);
void aes_rtl8852bs_encrypt_deinit(void *ctx);
void * aes_decrypt_init(const u8 *key, size_t len);
int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
void aes_decrypt_deinit(void *ctx);
#endif /* AES_H */