diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-06-21 14:50:25 +0200 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-06-29 08:33:00 +0200 |
| commit | 451afac626648a4aa534f1dec0f318231dfd8874 (patch) | |
| tree | 661f319a97dea525c3c9a5b1c335de3738527d73 /src/lib/crypt/keyrot.h | |
| parent | 4b16f7b9ba95f7e24ff443e5b215c2823c1387f7 (diff) | |
| download | ouroboros-451afac626648a4aa534f1dec0f318231dfd8874.tar.gz ouroboros-451afac626648a4aa534f1dec0f318231dfd8874.zip | |
lib: Wipe unpacked session key after copy
Zeroize the symmetric key in the unpacked IRM message once it has been
copied into the crypt context, in both flow__irm_result_des and
flow_rekey__irm_result_des, so key material does not linger in the
protobuf buffer until it is freed.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/crypt/keyrot.h')
0 files changed, 0 insertions, 0 deletions
