mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00: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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user