zig/lib/std/crypto
Stephen Gregoratto 285970982a Add illumos OS tag
- Adds `illumos` to the `Target.Os.Tag` enum. A new function,
  `isSolarish` has been added that returns true if the tag is either
  Solaris or Illumos. This matches the naming convention found in Rust's
  `libc` crate[1].
- Add the tag wherever `.solaris` is being checked against.
- Check for the C pre-processor macro `__illumos__` in CMake to set the
  proper target tuple. Illumos distros patch their compilers to have
  this in the "built-in" set (verified with `echo | cc -dM -E -`).

  Alternatively you could check the output of `uname -o`.

Right now, both Solaris and Illumos import from `c/solaris.zig`. In the
future it may be worth putting the shared ABI bits in a base file, and
mixing that in with specific `c/solaris.zig`/`c/illumos.zig` files.

[1]: 6e02a329a2/src/unix/solarish
2023-10-02 15:31:49 -06:00
..
25519 Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
aes Replace hand-written endian-specific loads with std.mem.readInt*() (#16431) 2023-07-18 00:40:31 +02:00
Certificate Add illumos OS tag 2023-10-02 15:31:49 -06:00
pcurves all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
tls Client.zig: support rsa_pss_rsae_sha384 and rsa_pss_rsae_sha512 2023-07-06 18:36:15 -07:00
aegis.zig std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
aes.zig cbe: fix remaining aarch64 issues 2023-04-21 16:36:31 -04:00
aes_gcm.zig std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
aes_ocb.zig std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
argon2.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ascon.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bcrypt.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
benchmark.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
blake2.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
blake3.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Certificate.zig std.crypto.Certificate: consistent param types for parseTimeDigits 2023-07-23 21:02:59 +00:00
chacha20.zig std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
cmac.zig
ecdsa.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
errors.zig std: fix a bunch of typos 2023-04-30 18:16:04 -07:00
ff.zig Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
ghash_polyval.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
hash_composition.zig
hkdf.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
hmac.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
isap.zig std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
keccak_p.zig std.crypto.sha3: Minor TurboSHAKE/Keccak fixes (#16408) 2023-07-14 14:02:01 +00:00
kyber_d00.zig Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
md5.zig Replace hand-written endian-specific loads with std.mem.readInt*() (#16431) 2023-07-18 00:40:31 +02:00
modes.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
pbkdf2.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
phc_encoding.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
poly1305.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
salsa20.zig std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
scrypt.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
sha1.zig Replace hand-written endian-specific loads with std.mem.readInt*() (#16431) 2023-07-18 00:40:31 +02:00
sha2.zig Replace hand-written endian-specific loads with std.mem.readInt*() (#16431) 2023-07-18 00:40:31 +02:00
sha3.zig std.crypto.sha3: Minor TurboSHAKE/Keccak fixes (#16408) 2023-07-14 14:02:01 +00:00
siphash.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
test.zig
tlcsprng.zig Add illumos OS tag 2023-10-02 15:31:49 -06:00
tls.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
utils.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00