Skip to main content

Crate cosmian_cover_crypt

Crate cosmian_cover_crypt 

Source
Expand description

This instantiation of Covercrypt is based on Curve25519 and Kyber512, and as such delivers 128 bits of both pre- and post-quantum CCA security.

The KEMAC defined in [1] is extended by a PKE interface using AES256-GCM as DEM in the KEM/DEM framework described in [2].

[1] “Covercrypt: an Efficient Early-Abort KEM for Hidden Access Policies with Traceability from the DDH and LWE”, T. Brézot, P. de Perthuis and D. Pointcheval 2023. [2] “A Proposal for an ISO Standard for Public Key Encryption (version 2.1)”, Shoup 2001.

Modules§

api
core
encrypted_header
traits

Structs§

AccessStructure
Attribute
ConfigurableKEM
ConfigurableKemDk
ConfigurableKemEk
ConfigurableKemEnc
Covercrypt
MasterPublicKey
Covercrypt Public Key (PK).
MasterSecretKey
The Covercrypt Master Secret Key (MSK).
QualifiedAttribute
A qualified attribute is composed of a dimension an attribute name.
UserSecretKey
Covercrypt User Secret Key (USK).

Enums§

AccessPolicy
An access policy is a boolean expression of qualified attributes.
Dimension
A dimension is an object that contains attributes. It can be ordered or unordered.
EncryptionHint
EncryptionStatus
Whether to provide an encryption key in the master public key for this attribute.
Error
KemTag
PostQuantumKemTag
PreQuantumKemTag
XEnc
Covercrypt encapsulation.