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

Cryptographic Algorithms utilizing Nocl library #29

Open
Tevofrost opened this issue Aug 24, 2023 · 0 comments
Open

Cryptographic Algorithms utilizing Nocl library #29

Tevofrost opened this issue Aug 24, 2023 · 0 comments

Comments

@Tevofrost
Copy link

Hi, please i am working on 3 cryptographic algorithms (AES, SHA 2 and KECCAK) that utilize nocl libraries so as to run these algorithm on a cheri enabled simulator, but i have a problem. i cant seem to see any issues with the code code that i have written. I have added the .cpp file to the Histogram folder then i edited the makefile so that the .cpp file that will be called is one of the cryptographic algorithms (aes.cpp). It would be really helpful if the below questions can be addressed:

  1. Is the way i am building and running the new .cpp file correct based off my explanation above?

  2. I'm having troubles with the kernel aspect for the AES cuda conversion to NOCL. We write kernels in Nocl but the way the kernels are invoked are a bit strange because they're assigning values and then using a function to invoke the kernel but in the cuda that are just functions inside another kernel then how can I call a kernel inside another kernel if the only way that I can invoke it is inside the main function.

  3. It would also be helpful if you can clarify the matter with how to assign which kernels go to the host CPU and GPU.

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