# std.crypto.pcurves fixes \(\#19245\) · gitcafe/zig

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

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

Visibility: public

Requested revision: eaca8626b270b5c17d686c77220e2aacb5fd908f

Requested commit: eaca8626b270b5c17d686c77220e2aacb5fd908f

Commit: eaca8626b270b5c17d686c77220e2aacb5fd908f

Tree: 11195fb7cb36c4bf648eff2737a42aad4161118d

Author: Frank Denis

Committer: GitHub

## Message

```
std.crypto.pcurves fixes (#19245)

Fixes compilation errors in functions that are syntaxic sugar
to operate on serialized scalars.

Also make it explicit that square roots in fields whose size is
not congruent to 3 modulo 4 are not an error, they are just
not implemented yet.

Reported by @vitalonodo - Thanks!
```

## Parents

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

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