{"id":28491532,"url":"https://github.com/line/aes-gcm-siv","last_synced_at":"2025-07-04T23:30:53.609Z","repository":{"id":207719996,"uuid":"716422519","full_name":"line/aes-gcm-siv","owner":"line","description":"AES-GCM-SIV (RFC 8452) implementation for C, Android and Java, with hardware acceleration support.","archived":false,"fork":false,"pushed_at":"2025-07-04T04:02:32.000Z","size":243,"stargazers_count":39,"open_issues_count":0,"forks_count":6,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-04T04:36:02.938Z","etag":null,"topics":["aead","aes-gcm-siv","android","c","crypto","cryptography","java","rfc8452"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/line.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-11-09T05:19:13.000Z","updated_at":"2025-07-04T03:57:19.000Z","dependencies_parsed_at":"2024-05-31T02:56:50.154Z","dependency_job_id":"75fe52f7-1554-4d64-b4de-4346bda45ba2","html_url":"https://github.com/line/aes-gcm-siv","commit_stats":null,"previous_names":["line/aes-gcm-siv"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/line/aes-gcm-siv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Faes-gcm-siv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Faes-gcm-siv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Faes-gcm-siv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Faes-gcm-siv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/line","download_url":"https://codeload.github.com/line/aes-gcm-siv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Faes-gcm-siv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263635517,"owners_count":23492211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aead","aes-gcm-siv","android","c","crypto","cryptography","java","rfc8452"],"created_at":"2025-06-08T08:07:39.621Z","updated_at":"2025-07-04T23:30:53.600Z","avatar_url":"https://github.com/line.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AES-GCM-SIV Library\n\n## Overview\n\nAES-GCM-SIV is an authenticated encryption algorithm designed to provide nonce misuse resistance, and is specified in [RFC 8452](https://www.rfc-editor.org/rfc/rfc8452).\n\nThis repository provides C, Android, and Java implementations, and is optimized for high-performance in architectures with cryptographic hardware accelerators.\n\n## Table of Contents\n\n- [Getting started](#getting-started)\n- [How to contribute](#how-to-contribute)\n- [License](#license)\n- [Further reading](#further-reading)\n\n## Getting started\n\n### C\n\nThe C implementation of AES-GCM-SIV provides the core functionality of the library, and is located in the [`lib`](./lib) repository.\nIt is optimized for high-performance encryption and decryption in specific CPU architecture.\n\nDetailed instructions are available in this [`README.md`](./lib/README.md).\n\n### Android\n\nThe Android implementation is done with a JNI (Java Native Interface) wrapper over the C implementation.\nThis allows to take advantage of the optimized C code when it is supported by the runtime architecture.\nThe JNI bindings are in the [`jni`](./jni) repository, and the Android code is located in the [`android`](./android) repository.\n\nDetailed instructions are available in this [`README.md`](./android/README.md).\n\n### Java\n\nThe Java implementation is done with a JNI (Java Native Interface) wrapper over the C implementation.\nThis allows to take advantage of the optimized C code when it is supported by the runtime architecture.\nThe JNI bindings are in the [`jni`](./jni) repository, and the Java code is located in the [`java`](./java) repository.\n\nDetailed instructions are available in this [`README.md`](./java/README.md).\n\n## How to contribute\n\nWe welcome your various contributions, including bug fixes, vulnerability reports, and more.\nPlease see the [CONTRIBUTING.md](./CONTRIBUTING.md) file for details.\n\n## License\n\nThis library is provided under [Apache 2.0 license](./LICENSE).\nIn accordance with the Apache 2.0 license terms, users **MUST** distribute a copy of the Apache 2.0 license with the product using this library.\n\nAdditionally, the software-based AES implementation is taken from [Mbed TLS](https://github.com/Mbed-TLS/mbedtls), which is also distributed under the Apache 2.0 license.\n\nSome modifications have been made to better suit the aes-gcm-siv library, and the modified source files retain the original copyright information, with additional notice that they have been modified.\nThe concerned files are the following:\n- `lib/src/generic/aes_generic.c`\n- `lib/src/generic/aes_generic.h`\n\n## Further reading\n\nMore details on how the library has been optimized can be found in our blog post (available in English, Japanese and Korean):\n- How we optimized the AES-GCM-SIV encryption algorithm: [https://engineering.linecorp.com/en/blog/AES-GCM-SIV-optimization](https://engineering.linecorp.com/en/blog/AES-GCM-SIV-optimization)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fline%2Faes-gcm-siv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fline%2Faes-gcm-siv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fline%2Faes-gcm-siv/lists"}