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

Handle global symbols in code segment. #20

Open
andreistefanescu opened this issue Oct 21, 2020 · 0 comments
Open

Handle global symbols in code segment. #20

andreistefanescu opened this issue Oct 21, 2020 · 0 comments

Comments

@andreistefanescu
Copy link
Contributor

The verification of gcm_init_avx, gcm_gmult_avx, gcm_ghash_avx, aesni_gcm_encrypt, and aesni_gcm_decrypt requires global symbols L0x1c2_polynomial and .Lbswap_mask, which are part of the code segment, and thus have relative addresses rather than absolute addresses. This is handled by adding gcm_ghash_avx and aesni_gcm_encrypt to the list of global symbols for the verification command, with sizes large enough to ensure that the required global symbols are in scope. This should be handled in a more principled way.

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