0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/crypto
Frank Denis c157ae2957 crypto.x25519: recoverPublicKey and generateDeterministic cannot fail
This performs a scalar multiplication of the base point by a clamped
scalar (a multiple of 8, so we end up in the prime order group), so
these functions cannot return an error.

Fixes #36154
History 2026-09-24 20:07:01 +02:00
..
25519 crypto.x25519: recoverPublicKey and generateDeterministic cannot fail 2026-09-24 20:07:01 +02:00
aes crypto.aes.soft: use a bitsliced representation 2026-09-23 13:25:56 +02:00
Certificate zig fmt 2026-07-17 23:30:26 +02:00
codecs asn1: replace use of deprecated lang.Type.Enum API 2026-08-15 06:19:09 +02:00
pcurves cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
tls crypto.x25519: recoverPublicKey and generateDeterministic cannot fail 2026-09-24 20:07:01 +02:00
aegis.zig std.crypto.aegis: AEGIS specification is now RFC 10032 2026-09-21 10:44:05 +02:00
aes.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
aes_ccm.zig crypto.aes_ccm: immediately reject large messages on decryption 2026-07-05 12:26:21 +02:00
aes_gcm.zig lib: use @divCeil 2026-07-06 20:49:09 +02:00
aes_gcm_siv.zig Parallelize deriveKeys 2025-09-16 23:13:58 +02:00
aes_ocb.zig crypto.aes.soft: use a bitsliced representation 2026-09-23 13:25:56 +02:00
aes_siv.zig aes-siv: update the comment to mention the max number of AD inputs 2026-05-28 16:34:04 +02:00
argon2.zig Remove unnecessary inline, comment on the necessary one 2026-09-20 16:05:33 +02:00
ascon.zig lib: use @divCeil 2026-07-06 20:49:09 +02:00
bcrypt.zig Change usages of fmt.bufPrint* to mem.print* (#36263) 2026-09-01 02:21:28 +02:00
benchmark.zig make lib/std/crypto/benchmark.zig compile 2026-08-07 16:41:48 +02:00
blake2.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
blake3.zig std.crypto.Blake3: fix hashParallel digest for non-aligned inputs 2026-07-18 13:34:34 +02:00
cbc_mac.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
Certificate.zig std.crypto.Certificate.rsa: fix PSS verification wrapper 2026-09-22 13:34:59 +02:00
chacha20.zig Change usages of fmt.bufPrint* to mem.print* (#36263) 2026-09-01 02:21:28 +02:00
cmac.zig std.meta: Remove Int in favor of @Int 2026-05-03 21:42:06 +01:00
codecs.zig std.crypto.codecs: include asn1 tests 2026-05-28 16:28:27 +02:00
ecdsa.zig std.crypto.sign.ecdsa: pub Curve and Hash parameters 2026-08-05 03:19:32 +02:00
errors.zig Add ML-DSA post-quantum signatures (#25862) 2025-11-10 14:11:30 +01:00
ff.zig crypto.ff: compare full Uint buffers and add a isOne() function 2026-09-24 20:06:04 +02:00
ghash_polyval.zig std.lang: rename OptimizeMode to Optimize 2026-07-20 17:26:50 -07:00
hash_composition.zig x86_64: implement enough to pass unicode tests 2023-10-23 22:42:18 -04:00
hkdf.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
hmac.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
hybrid_kem.zig std.crypto.HybridKem: fix deterministic encapsulation 2026-09-23 15:06:08 +02:00
isap.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
kangarootwelve.zig make lib/std/crypto/benchmark.zig compile 2026-08-07 16:41:48 +02:00
keccak_p.zig std.lang: rename OptimizeMode to Optimize 2026-07-20 17:26:50 -07:00
md5.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
ml_dsa.zig std.meta: Remove Int in favor of @Int 2026-05-03 21:42:06 +01:00
ml_kem.zig Change usages of fmt.bufPrint* to mem.print* (#36263) 2026-09-01 02:21:28 +02:00
modes.zig crypto.aes.soft: use a bitsliced representation 2026-09-23 13:25:56 +02:00
pbkdf2.zig lib: use @divCeil 2026-07-06 20:49:09 +02:00
phc_encoding.zig all: update to use new std.lang.Type definitions 2026-05-27 10:03:51 +01:00
poly1305.zig crypto: Allow arbitrary types for secureZeroes 2026-02-13 17:07:03 +01:00
salsa20.zig Typo 2026-07-05 12:23:52 +02:00
scrypt.zig std.crypto: argon2/scrypt: cleanup VerifyOptions 2026-06-11 01:36:18 +02:00
Sha1.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
sha2.zig lib: use @divCeil 2026-07-06 20:49:09 +02:00
sha3.zig lib: use @divCeil 2026-07-06 20:49:09 +02:00
siphash.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
test.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
timing_safe.zig all: update to use new std.lang.Type definitions 2026-05-27 10:03:51 +01:00
tls.zig zig fmt 2026-07-17 23:30:26 +02:00