mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 17:40:50 +02:00
40d3befa61
Add Ada bindings for SHA-256, RSA sign/verify, and AES-CBC from wolfCrypt. Use XMALLOC/XFREE for dynamic allocation and add GNATprove ownership annotations to enable static leak detection. Refactor the Ada wrapper into a base package (wolfssl.ads) and a child package (wolfssl-full_runtime) to separate code that depends on Interfaces.C.Strings and GNAT.Sockets from zero-footprint-compatible code. Add standalone examples for SHA-256 hashing, RSA signature verification, and AES encryption under wrapper/Ada/examples/. Add AUnit test suites for SHA-256, RSA, and AES bindings under wrapper/Ada/tests/ with Valgrind suppressions and Alire integration. Move TLS client/server examples into wrapper/Ada/examples/src/ and update build files (default.gpr, examples.gpr, include.am) accordingly. Update CI (ada.yml) to build default.gpr, run AUnit tests, run the client-server examples, and run GNATprove. Co-authored-by: Joakim Strandberg <joakim@mequinox.se>
22 lines
472 B
TOML
22 lines
472 B
TOML
name = "examples"
|
|
description = "Examples using the wolfSSL Ada bindings"
|
|
version = "0.1.0-dev"
|
|
|
|
authors = ["Juliusz Sosinowicz"]
|
|
maintainers = ["Juliusz Sosinowicz <juliusz@wolfssl.com>"]
|
|
maintainers-logins = ["julek-wolfssl"]
|
|
licenses = "GPL-3.0-or-later"
|
|
website = "https://www.wolfssl.com/"
|
|
tags = []
|
|
|
|
executables = [
|
|
"aes_verify_main",
|
|
"rsa_verify_main",
|
|
"sha256_main",
|
|
"tls_client_main",
|
|
"tls_server_main"
|
|
]
|
|
|
|
[[depends-on]]
|
|
gnatprove = "^13.2.1"
|