Skip to content

Conversation

keks
Copy link
Member

@keks keks commented Sep 15, 2025

  • move around extraction scripts and config
  • update CI
  • check everything still works
  • update C-CODE.md
  • drop c-nss

Closes #1148.
Closes #1049.

Copy link
Member

@franziskuskiefer franziskuskiefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some thoughts

  • Looking at this I'm not sure if out is the best name for the actual code. Maybe something like generated?
  • c and cpp are header only versions, whereas the new version from #1147 will generate C files. We could use the targets like boring and nss as names. No strong opinion in any direction. Just wondering what the best naming scheme is.

@keks keks force-pushed the keks/restructure-c-code branch 3 times, most recently from 7b7f845 to 8e4985e Compare September 17, 2025 16:57
@keks
Copy link
Member Author

keks commented Sep 17, 2025

Some thoughts

* Looking at this I'm not sure if `out` is the best name for the actual code. Maybe something like `generated`?

Darn, hadn't seen this earlier. I'll try to come up with something, might use generated.

* `c` and `cpp` are header only versions, whereas the new version from #1147 will generate C files. We could use the targets like `boring` and `nss` as names. No strong opinion in any direction. Just wondering what the best naming scheme is.

I have no real opinions on the names, but what you suggest sounds reasonable. Do you mean we should rename c -> nss, cpp -> boring?

I will make these changes tomorrow and squash them into this commit, so we have a clean base for the reviews afterwards.

@franziskuskiefer
Copy link
Member

yeah target names would be nss (new C from #1147), openssh (now c) and boring (now cg). The nss (or new C) may be more generally interesting. Others too. That's why specific names may not be that great either. We could also use more specific names cpp_header_only (cg), c_header_only (c), c (new C) would be something more generic, but also longer.

@keks keks force-pushed the keks/restructure-c-code branch from 99726b5 to 0bbfef3 Compare September 18, 2025 14:11
use common c.sh, symlink

update documentation

ci: update needs names in C workflow

mlkem: drop c-nss extract scripts

ci: update more needs names

Revert "ci: update more needs names"

This reverts commit b2d6f85.

ci: update needs of mlkem c status, but correct this time

fix C/C++ extraction

add mlkem.cmake symlink, move around version header kill script files

ci: clean the right directory
@keks keks force-pushed the keks/restructure-c-code branch from 0bbfef3 to 80fcd8b Compare September 18, 2025 14:14
@keks keks marked this pull request as ready for review September 18, 2025 14:15
@keks keks requested a review from a team as a code owner September 18, 2025 14:15
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

Successfully merging this pull request may close these issues.

Update C-CODE.md to reflect the current state [C] mlkem: move C extractions
2 participants