Skip to main content

Crate tc_des_wrap

Crate tc_des_wrap 

Source
Expand description

CMS Triple-DES key wrapping as specified by RFC 3217, over the tc_des Triple DES engine, with SHA-1 integrity and the tc_key_wrap contracts.

Wrapping needs an IV, drawn from a caller-supplied generator unless the caller provides one, and unwrapping copies the input, so the crate needs an allocator and rand_core. Triple DES is provided for interoperability with existing formats and is not suitable for new designs.

Structs§

DesEdeWrapEngine
CMS Triple-DES key wrapping (RFC 3217) with SHA-1 integrity.

Type Aliases§

DesEdeWrapError
CMS Triple-DES key-wrap operation error.
DesEdeWrapInitError
CMS Triple-DES key-wrapper initialization error.