zig/lib/std/crypto/pcurves
mlugg 9cf8a7661f
compiler: handle eval branch quota in memoized calls
In a `memoized_call`, store how many backwards braches the call
performs. Add this to `sema.branch_count` when using a memoized call. If
this exceeds the quota, perform a non-memoized call to get a correct
"exceeded X backwards branches" error.

Also, do not memoize calls which do `@setEvalBranchQuota` or similar, as
this affects global state which must apply to the caller.

Change some eval branch quotas so that the compiler itself still builds correctly.

This commit manually changes a file in Aro which is automatically
generated. The sources which generate the file are not in this repo.
Upstream Aro should make the suitable changes on their end before the
next sync of Aro sources into the Zig repo.
2024-08-21 01:26:55 +01:00
..
p256 std.crypto.pcurves.*: simpler, smaller, faster u64 addition with carry (#19644) 2024-04-14 01:13:22 +02:00
p384 std.crypto.pcurves.*: simpler, smaller, faster u64 addition with carry (#19644) 2024-04-14 01:13:22 +02:00
secp256k1 std.crypto.pcurves.*: simpler, smaller, faster u64 addition with carry (#19644) 2024-04-14 01:13:22 +02:00
tests std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
common.zig std.crypto: better names for everything in utils 2024-08-09 19:47:06 -07:00
p256.zig x86_64: fix std test failures 2023-11-03 23:18:21 -04:00
p384.zig compiler: handle eval branch quota in memoized calls 2024-08-21 01:26:55 +01:00
secp256k1.zig std.crypto.pcurves fixes (#19245) 2024-03-11 09:00:15 +01:00