MCPcopy Create free account
hub / github.com/RustCrypto/KEMs / decapsulate

Method decapsulate

hqc-kem/src/types.rs:373–379  ·  view source on GitHub ↗

Decapsulate: recover shared secret from ciphertext.

(&self, ct: &Ciphertext<P>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

bench_decapsFunction · 0.45
test_hqc128_katFunction · 0.45
test_hqc192_katFunction · 0.45
test_hqc256_katFunction · 0.45
test_hqc128_roundtripFunction · 0.45
test_hqc192_roundtripFunction · 0.45
test_hqc256_roundtripFunction · 0.45

Calls 1

decapsFunction · 0.85

Tested by 6

test_hqc128_katFunction · 0.36
test_hqc192_katFunction · 0.36
test_hqc256_katFunction · 0.36
test_hqc128_roundtripFunction · 0.36
test_hqc192_roundtripFunction · 0.36
test_hqc256_roundtripFunction · 0.36