mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 15:39:07 +00:00
fix KEM
This commit is contained in:
parent
cfcffcdef1
commit
de8d3ba43e
@ -121,7 +121,7 @@ fn test_kem_vector(el: &TestVector) {
|
|||||||
let mut ss = Vec::new();
|
let mut ss = Vec::new();
|
||||||
|
|
||||||
if let Some(drbg) = DRBGV.lock().unwrap().get_mut(&thread::current().id()) {
|
if let Some(drbg) = DRBGV.lock().unwrap().get_mut(&thread::current().id()) {
|
||||||
drbg.init(el.sig.seed.as_slice(), Vec::new());
|
drbg.init(el.kem.seed.as_slice(), Vec::new());
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
|
Loading…
Reference in New Issue
Block a user