File syn_port_aes.h¶
File List > port > syn_port_aes.h
Go to the documentation of this file
#ifndef SYN_PORT_AES_H
#define SYN_PORT_AES_H
#include "../common/syn_defs.h"
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
SYN_Status syn_port_aes_init(void);
SYN_Status syn_port_aes_encrypt_block(const uint8_t *round_keys, uint8_t nr, const uint8_t in[16],
uint8_t out[16]);
SYN_Status syn_port_aes_decrypt_block(const uint8_t *round_keys, uint8_t nr, const uint8_t in[16],
uint8_t out[16]);
SYN_Status syn_port_ghash_mult(const uint8_t x[16], const uint8_t h[16], uint8_t out[16]);
#ifdef __cplusplus
}
#endif
#endif /* SYN_PORT_AES_H */