diff options
author | lloyd <[email protected]> | 2014-11-29 14:16:26 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-11-29 14:16:26 +0000 |
commit | e89b6a365e56283a945aeda8ed2b427937fe5d91 (patch) | |
tree | e01cd34049831debff697de3f11fb54d175a8b81 /src/lib/pubkey/workfactor.cpp | |
parent | 71ff50357af5183995c9af59f1816f065ce9a857 (diff) |
Move all PK workfactor esstimators to workfactors.*
Diffstat (limited to 'src/lib/pubkey/workfactor.cpp')
-rw-r--r-- | src/lib/pubkey/workfactor.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/pubkey/workfactor.cpp b/src/lib/pubkey/workfactor.cpp index b917ce52d..972d03af9 100644 --- a/src/lib/pubkey/workfactor.cpp +++ b/src/lib/pubkey/workfactor.cpp @@ -11,6 +11,16 @@ namespace Botan { +size_t mceliece_work_factor(size_t code_size, size_t t) + { + return 0; + } + +size_t ecp_work_factor(size_t bits) + { + return bits / 2; + } + size_t dl_work_factor(size_t bits) { /* |