mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-06 09:21:49 +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 = {
|
_decrypt_io_buffer = {
|
||||||
.base = _job.cipher.value,
|
.base = _job.plain.value,
|
||||||
.size = sizeof (_job.cipher)
|
.size = sizeof (_job.plain)
|
||||||
};
|
};
|
||||||
|
|
||||||
job.type = Job::Type::DECRYPT_READ;
|
job.type = Job::Type::DECRYPT_READ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user