We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c087b4c commit 268c84fCopy full SHA for 268c84f
src/core/crypto/slhDsaSha2128s.ts
@@ -337,7 +337,7 @@ export class SlhDsaSha2128sPrivateKey extends Serializable implements PrivateKey
337
},
338
);
339
340
- const threeSeeds = new Uint8Array(48);
+ const threeSeeds = new Uint8Array(SlhDsaSha2128sPrivateKey.LENGTH);
341
threeSeeds.set(privateKey, 0); // First 32 bytes from the derived secret key
342
343
// TODO: We would need to reason about the security of this.
0 commit comments