mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make more libc improvements
- Make memmem() faster - Make readdir() thread safe - Remove 64kb limit from mkdeps.com - Add old crypt() function from Musl - Improve new fix-third-party.py tool - Improve libc/isystem/ headers and fix bugs
This commit is contained in:
parent
a8cf0f7e89
commit
6a5717a48f
50 changed files with 3783 additions and 280 deletions
16
third_party/musl/crypt_des.internal.h
vendored
Normal file
16
third_party/musl/crypt_des.internal.h
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// clang-format off
|
||||
#ifndef CRYPT_DES_H
|
||||
#define CRYPT_DES_H
|
||||
|
||||
#include "libc/limits.h"
|
||||
#include "libc/literal.h"
|
||||
|
||||
struct expanded_key {
|
||||
uint32_t l[16], r[16];
|
||||
};
|
||||
|
||||
hidden void __des_setkey(const unsigned char *, struct expanded_key *);
|
||||
hidden void __do_des(uint32_t, uint32_t, uint32_t *, uint32_t *,
|
||||
uint32_t, uint32_t, const struct expanded_key *);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue