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

New layout about freestanding & xen artifacts #105

Merged
merged 1 commit into from
Nov 1, 2020
Merged

Conversation

dinosaure
Copy link
Member

New layout which provides only libdigestif_freestanding_stubs.a now to follow upgrade of C stubs for mirage.3.9.0. I'm not sure about this update, @hannesm can you look into this? I mostly followed what it was done into mirage/mirage-crypto#86.

I deleted the way to unlock the GC when we try to digest a bigarray for the freestanding where caml/threads.h does not exists.

@hannesm
Copy link
Member

hannesm commented Oct 27, 2020

looks pretty good (though I'm not entirely sure about the C macro changes). I added some minor comments - in the test mirage unikernel you should not commit the generated code.

@dinosaure dinosaure merged commit 17d4953 into master Nov 1, 2020
dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Nov 3, 2020
CHANGES:

- **breaking changes** Upgrade the library with MirageOS 3.9 (new layout of artifacts)
  Add tests about compilation of unikernels (execution and link)
  (mirage/digestif#105, @dinosaure, @hannesm)
- Fix `esy` installation (mirage/digestif#104, @dinosaure)
- **breaking changes** Better GADT (mirage/digestif#103, @dinosaure)
  As far as I can tell, nobody really use this part of `digestif`.
  The idea is to provide a GADT which contains the type of the hash.
  From third-part libraries point-of-view, it's better to _pattern-match_ with
  such information instead to use a polymorphic variant (as before).
- **breaking changes** key used for HMAC is a constant `string` (mirage/digestif#101, @dinosaure, @hannesm)
  The key should not follow the same type as the digest value (`string`, `bytes`, `bigstring`).
  This update restricts the user to user only constant key (as a `string`).
@dinosaure dinosaure deleted the new-layout branch April 26, 2022 14:09
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.

2 participants