diff options
| author | Jakub Dóka <60517552+jakubDoka@users.noreply.github.com> | 2024-08-07 10:06:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 01:06:15 -0700 |
| commit | a6486492bed6ec840203cc88e0b30149dc72ad62 (patch) | |
| tree | 1fa230421f07d3264a9a88789c5686a5aa3f52c6 /src/codegen | |
| parent | ebd0c6ffd0eb91f7a2838d6a17bf5344d539d3c6 (diff) | |
| download | zig-a6486492bed6ec840203cc88e0b30149dc72ad62.tar.gz zig-a6486492bed6ec840203cc88e0b30149dc72ad62.zip | |
std.crypto.ecdsa: use separate function for null seed (#20953)
Due to the `std.crypto.ecdsa.KeyPair.create` taking and optional of seed, even if the seed is generated, cross-compiling to the environments without standard random source (eg. wasm) (`std.crypto.random.bytes`) will fail to compile.
This commit changes the API of the problematic function and moves the random seed generation to a new utility function.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
