# std.crypto: timing-safe functions to add&subtract serialized integers \(\#8977\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ca6951ff7959b88573bfec7c7bf0465209f3263f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ca6951ff7959b88573bfec7c7bf0465209f3263f

Requested commit: ca6951ff7959b88573bfec7c7bf0465209f3263f

Commit: ca6951ff7959b88573bfec7c7bf0465209f3263f

Tree: 24c0a280b738747fabe98151c74f7f555b883489

Author: Frank Denis

Committer: GitHub

## Message

```
std.crypto: timing-safe functions to add&subtract serialized integers (#8977)

This is useful to increment nonces and for scalar reduction.

It will avoid code duplication in crypto/25519 and crypto/pcurves/*
```

## Parents

- [fbd99319d1aa0a856d2b7e94a4446555931a6acb](https://git.cafe/gitcafe/zig/commit/fbd99319d1aa0a856d2b7e94a4446555931a6acb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ca6951ff7959b88573bfec7c7bf0465209f3263f?format=markdown)
