Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bmkeygen アルゴリズム改良に関して #24

Open
teruteru128 opened this issue Jun 25, 2020 · 0 comments
Open

bmkeygen アルゴリズム改良に関して #24

teruteru128 opened this issue Jun 25, 2020 · 0 comments

Comments

@teruteru128
Copy link
Owner

0<=i<N && 0<=j<iで回すべきなのか、
0<=i<N && 0<=j<Nで回すべきなのか?
0<=i<N && 0<=j<iだとメモリ局所性が使える可能性があるが、直後に逆順でハッシュするためEVP_MD_CTX_copy_exを使うことができない。
0<=i<N && 0<=j<NだとEVP_MD_CTX_copy_exを使ってEVP_DigestUpdateを呼び出す回数を一回減らせる可能性がある。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant