diff options
Diffstat (limited to 'src/lib/pubkey/workfactor.h')
-rw-r--r-- | src/lib/pubkey/workfactor.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/pubkey/workfactor.h b/src/lib/pubkey/workfactor.h index 179b580e7..37f487234 100644 --- a/src/lib/pubkey/workfactor.h +++ b/src/lib/pubkey/workfactor.h @@ -19,6 +19,19 @@ namespace Botan { */ size_t dl_work_factor(size_t prime_group_size); +/** +* Estimate work factor for EC discrete logarithm +* @param prime_group_size size of the group in bits +* @return estimated security level for this group +*/ +size_t ecp_work_factor(size_t prime_group_size); + +/** +* Estimate work factor for McEliece +* @return estimated security level for this group +*/ +size_t mceliece_work_factor(size_t code_size, size_t t); + } #endif |