fix: use proper ipc id for decapsulate call
This commit is contained in:
@@ -101,7 +101,7 @@ pub fn mlkem_decap(ct: &MLKEMCiphertext, sk: &MLKEMPrivKey) -> MLKEMSharedKey {
|
|||||||
let mut agent = MLKEMAGENT.lock().unwrap();
|
let mut agent = MLKEMAGENT.lock().unwrap();
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
agent.perform_ipc_call(1, &[ss.0.get_offset(), ct.0.get_offset(), sk.0.get_offset()]);
|
agent.perform_ipc_call(2, &[ss.0.get_offset(), ct.0.get_offset(), sk.0.get_offset()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
ss
|
ss
|
||||||
|
|||||||
Reference in New Issue
Block a user