-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibrary.properties
More file actions
19 lines (19 loc) · 1.26 KB
/
Copy pathlibrary.properties
File metadata and controls
19 lines (19 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name=NiusCrypto
version=0.7.1
author=NiusRobotLab
maintainer=dunknowcoding
sentence=Hardware-accelerated cryptography for the ArduinoNRF board package, built on the nRF52840 CryptoCell 310 (CC310).
paragraph=One friendly API for random, hashing (SHA-256/384/512, HMAC, HKDF), symmetric ciphers (AES-CBC/CTR/GCM, ChaCha20-Poly1305), elliptic-curve (ECDSA/ECDH P-256, X25519, Ed25519) and RSA-2048 PKCS#1 v1.5 + SHA-256. v0.7.1 adds OnChip software AES-GCM and ChaCha20-Poly1305 (SoftAesGcm, SoftChaChaPoly). CC310 hardware via Nordic CRYS when vendored; OnChip fallback otherwise. Requires ArduinoNRF (nrf52). See docs/VENDORING.md and docs/ONCHIP_BUILD.md.
category=Other
url=https://github.com/dunknowcoding/ArduinoNRF-Crypto
architectures=nrf52
includes=NiusCrypto.h,ArduinoNRF_Crypto.h
depends=
# The two directives below make arduino-cli link the vendored archives from
# src/cortex-m4/ : libnrf_cc310.a (CRYS runtime, imported from a local nRF5 SDK
# by vendor/tools/import_cc310_sdk.py) and liboberon.a (AES-GCM, fetched by
# vendor/tools/fetch_cc310.py). Without the archives, remove these two lines to
# build the OnChip fallback only — see docs/ONCHIP_BUILD.md and
# library.properties.onchip template.
precompiled=true
ldflags=-Wl,--start-group -lnrf_cc310 -loberon -Wl,--end-group