summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-07-10 17:09:58 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-07-19 11:44:35 +0200
commitde9c30b2071e4aff8819d29c03d98767c8a3ec5b (patch)
treef06d9e313b85027aaecf5f2a8ef087a8760ef9fa /src/tools
parentad55e2710a020c0dbdd403040ec19c651efbf3e4 (diff)
downloadouroboros-de9c30b2071e4aff8819d29c03d98767c8a3ec5b.tar.gz
ouroboros-de9c30b2071e4aff8819d29c03d98767c8a3ec5b.zip
irmd: Harden OAP client KEM completion
do_client_kex_complete_kem() filled key_buf in the server-encap branch and returned early in the client-encap branch; any other mode value would fall through and memcpy an uninitialized stack buffer into the session key. The client only ever sets the two known modes today, but nothing local enforces that and the server derives its mode from a wire bit. Give each mode an explicit path with no fall-through. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions