Skip to main content

Crate aocl_crypto

Crate aocl_crypto 

Source
Expand description

Safe wrappers for AOCL-Cryptography (ALCP).

Modules:

  • digest — MD5, SHA-1, SHA-2, SHA-3 hash functions
  • cipher — AES (ECB / CBC / OFB / CTR / CFB / XTS) and ChaCha20 stream-cipher encryption
  • mac — Message Authentication Codes: HMAC, CMAC, Poly1305
  • aead — AES-GCM, AES-CCM, AES-SIV, ChaCha20-Poly1305 authenticated encryption with associated data

Modules§

aead
ALCP authenticated-encryption-with-associated-data (AEAD) primitives.
cipher
ALCP block / stream-cipher primitives.
digest
ALCP digest (hash) primitives.
drbg
ALCP NIST SP 800-90A deterministic random-bit generator (DRBG).
ec
ALCP elliptic-curve operations (X25519 ECDH).
mac
ALCP Message Authentication Code primitives: HMAC, CMAC, Poly1305.
rsa
ALCP RSA: public-key encryption / decryption and PKCS#1 v1.5 / PSS signatures over 1024-bit and 2048-bit keys.

Enums§

Error
Errors that can be returned by safe AOCL wrappers.

Type Aliases§

Result
Crate result alias — used by every aocl-* safe wrapper crate.