mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
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.
This commit is contained in:
parent
ee7e296339
commit
d26d7ae0e4
1028 changed files with 6576 additions and 172777 deletions
30
libc/sysv/consts/alg.h
Normal file
30
libc/sysv/consts/alg.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#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_ */
|
Loading…
Add table
Add a link
Reference in a new issue