crypto: split hybrid keys without species · nodejs/node@7587062 · GitHub
Skip to content

Commit 7587062

Browse files
panvaaduh95
authored andcommitted
crypto: split hybrid keys without species
Create byte views directly when splitting hybrid KEM keys and seeds, so typed-array species cannot alter the component key material. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66237 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent a1bea87 commit 7587062

2 files changed

Lines changed: 47 additions & 5 deletions

File tree

‎lib/internal/crypto/kem_hybrids.js‎

Lines changed: 11 additions & 5 deletions
Lines changed: 36 additions & 0 deletions

0 commit comments

Comments
 (0)