mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
vfs/cbe_trust_anchor: fix bug in key decrypt
The plugin used the ciphertext instead of the plaintext buffer for key decryption which led to bogus ciphertext keys. Ref #4032
This commit is contained in:
committed by
Norman Feske
parent
a661aa79de
commit
8dfa586462
@@ -298,8 +298,8 @@ struct Util::Trust_anchor_vfs
|
||||
}
|
||||
|
||||
_decrypt_io_buffer = {
|
||||
.base = _job.cipher.value,
|
||||
.size = sizeof (_job.cipher)
|
||||
.base = _job.plain.value,
|
||||
.size = sizeof (_job.plain)
|
||||
};
|
||||
|
||||
job.type = Job::Type::DECRYPT_READ;
|
||||
|
||||
Reference in New Issue
Block a user