cosmopolitan/libc/sysv/consts/alg.h
Justine Tunney d26d7ae0e4 Perform build and magnum tuning
Building o//third_party/python now takes 5 seconds on my PC

This change works towards modifying Python to use runtime dispatching
when appropriate. For example, when loading the magnums in the socket
module, it's a good idea to check if the magnum is zero, because that
means the local system platform doesn't support it.
2021-08-10 10:26:13 -07:00

31 lines
1 KiB
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ALG_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ALG_H_
#include "libc/runtime/symbolic.h"
#define ALG_SET_AEAD_ASSOCLEN SYMBOLIC(ALG_SET_AEAD_ASSOCLEN)
#define ALG_SET_AEAD_AUTHSIZE SYMBOLIC(ALG_SET_AEAD_AUTHSIZE)
#define ALG_SET_DRBG_ENTROPY SYMBOLIC(ALG_SET_DRBG_ENTROPY)
#define ALG_SET_IV SYMBOLIC(ALG_SET_IV)
#define ALG_SET_KEY SYMBOLIC(ALG_SET_KEY)
#define ALG_SET_OP SYMBOLIC(ALG_SET_OP)
#define ALG_OP_DECRYPT SYMBOLIC(ALG_OP_DECRYPT)
#define ALG_OP_ENCRYPT SYMBOLIC(ALG_OP_ENCRYPT)
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const long ALG_SET_AEAD_ASSOCLEN;
extern const long ALG_SET_AEAD_AUTHSIZE;
extern const long ALG_SET_DRBG_ENTROPY;
extern const long ALG_SET_IV;
extern const long ALG_SET_KEY;
extern const long ALG_SET_OP;
extern const long ALG_OP_DECRYPT;
extern const long ALG_OP_ENCRYPT;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_ALG_H_ */