# std.crypto\.\{p256,p384\}: process the top nibble in mulDoubleBasePublic \(\#11956\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b2e4dda0018b83819c9539609eff7e420eca3202

Requested commit: b2e4dda0018b83819c9539609eff7e420eca3202

Commit: b2e4dda0018b83819c9539609eff7e420eca3202

Tree: 36bf94f2f0ddb83eae2d52632408a2c6ed5714db

Author: Frank Denis

Committer: GitHub

## Message

```
std.crypto.{p256,p384}: process the top nibble in mulDoubleBasePublic (#11956)

Unlike curve25519 where the scalar size is not large enough to fill
the top nibble, this can definitely be the case for p256 and p384.
```

## Parents

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

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