{"id":24370032,"url":"https://github.com/unikraft/lib-libhogweed","last_synced_at":"2026-06-20T04:31:50.699Z","repository":{"id":64084169,"uuid":"319655147","full_name":"unikraft/lib-libhogweed","owner":"unikraft","description":"Port of libhogweed to Unikraft","archived":false,"fork":false,"pushed_at":"2024-01-02T20:55:20.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"staging","last_synced_at":"2025-10-24T04:34:19.778Z","etag":null,"topics":["cryptography","library","unikraft"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unikraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-08T13:58:54.000Z","updated_at":"2024-04-03T03:28:15.000Z","dependencies_parsed_at":"2022-12-06T11:00:43.114Z","dependency_job_id":"0b5a34da-51cd-490a-b739-588d73bfb288","html_url":"https://github.com/unikraft/lib-libhogweed","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/unikraft/lib-libhogweed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-libhogweed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-libhogweed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-libhogweed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-libhogweed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unikraft","download_url":"https://codeload.github.com/unikraft/lib-libhogweed/tar.gz/refs/heads/staging","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-libhogweed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","library","unikraft"],"created_at":"2025-01-19T04:11:54.870Z","updated_at":"2026-06-20T04:31:50.679Z","avatar_url":"https://github.com/unikraft.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Libhogweed for Unikraft\n=============================\n\nThis is the port of nettle's libhogweed for Unikraft as external library.\n\nLibhogweed depends on newlib, so please make sure you add the following\nline to the `LIBS` variable in your `Makefile`:\n\t`...:$(UK_LIBS)/newlib:$(UK_LIBS)/libhogweed:...`\n\nTesting\n-------\n\nFor running the tests: enable the `testsuite` option in the configuration menu\nand select the desired tests. Make sure to include `testutils_glue.h` and call \nthe `run_all_libhogweed_tests(v);` function in your main application. The parameter\n`v` stands for verbose and you can either set it to `0`, non verbose mode, or `1`,\nverbose mode.\n\nApplications\n------------\n\nTo run an application that requires a filesystem, you'll need to run them on\n`kvm` and enable `9pfs`, selecting the following menu options, all of them under\n`Library Configuration`:\n- `libnewlib`\n- `libhogweed`\n- `vfscore: VFS Core Interface` ---\u003e `vfscore: Configuration` ---\u003e \n `Automatically mount a root filesystem` ---\u003e `Default root filesystem`\n  ---\u003e `9PFS`\n- `uk9p: 9p client`\n- `9pfs: 9p filesystem`\n- `devfs: devfs file system ---\u003e Mount /dev during boot`\n- `ukswrand: Software random number generator ---\u003e Register random and\n urandom device to devfs`\n\nMounting a file system\n---------------------\nIn order to mount the file system you'll need to provide the following Qemu\nparameters:\n- `-fsdev local,id=myid,path=\u003csome directory\u003e,security_model=none`\n- `-device virtio-9p-pci,fsdev=myid,mount_tag=rootfs,disable-modern=on,\n  disable-legacy=off`\n\nNote that if you use a different `mount_tag`, you'll need to add it in `Default\nroot device` in `vfscore configuration`. Also, to provide command line \narguments to the kernel, you'll need to use `-append \"param1 param2 ...\"`.\n\t\nPlease refer to the `README.md` as well as the documentation in the `doc/`\nsubdirectory of the main unikraft repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funikraft%2Flib-libhogweed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funikraft%2Flib-libhogweed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funikraft%2Flib-libhogweed/lists"}