aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-15 10:39:51 -0500
committerJack Lloyd <[email protected]>2016-02-15 10:39:51 -0500
commitc8d8c19861efc74e0e238f3f9c165362fd87467b (patch)
tree3b1da8eca3c3a16fc049fd31ab04d761ea410d19
parent3dce8fa3fc4d60746c13a8c2d21f82961eb3b2c0 (diff)
Add KDF1 as explicit dependency in MCEIES
Previously MCEIES used KEM with a raw SHA-512 hash. When the KDF oriented KEM interface was added in 72f0f0ad2a it switched to using KDF1(SHA-512) since for a 64-byte output and no salt, the output matches the original hash. This avoids breaking the format. Prevents runtime failures when MCEIES is enabled in the build but KDF1 is not. GH #369
-rw-r--r--src/lib/pubkey/mceies/info.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/pubkey/mceies/info.txt b/src/lib/pubkey/mceies/info.txt
index 547e4a47a..56363fe4f 100644
--- a/src/lib/pubkey/mceies/info.txt
+++ b/src/lib/pubkey/mceies/info.txt
@@ -4,4 +4,5 @@ define MCEIES 20150706
aes
mce
ocb
+kdf1
</requires>