mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
16 lines
619 B
C
16 lines
619 B
C
#ifndef MBEDTLS_AESNI_H_
|
|
#define MBEDTLS_AESNI_H_
|
|
#include "third_party/mbedtls/aes.h"
|
|
#include "third_party/mbedtls/config.h"
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#define MBEDTLS_AESNI_AES 0x02000000u
|
|
#define MBEDTLS_AESNI_CLMUL 0x00000002u
|
|
|
|
int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *, int, const unsigned char[16], unsigned char[16] );
|
|
void mbedtls_aesni_gcm_mult( unsigned char[16], const uint64_t[2] );
|
|
void mbedtls_aesni_inverse_key( unsigned char *, const unsigned char *, int );
|
|
int mbedtls_aesni_setkey_enc( unsigned char *, const unsigned char *, size_t );
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* MBEDTLS_AESNI_H_ */
|