mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
A little function to complement the existing crypto.utils.timingSafeEql function with a way to compare large numbers serialized as arrays. This is useful to compare nonces and to check that group elements are in canonical form. Absence of side channels remains a best effort, reusing the common pattern we use elsewhere.