components

Module aes

Source
Expand description

Components for various AES utilities.

§Usage

let aes_driver_device = components::aes::AesVirtualComponent::new(aes_mux).finalize(
    components::aes_virtual_component_static!(nrf52840::aes::AesECB<'static>),
);

let aes = components::aes::AesDriverComponent::new(
    board_kernel,
    capsules_extra::symmetric_encryption::aes::DRIVER_NUM,
    aes_driver_device,
)
.finalize(components::aes_driver_component_static!(
    capsules_core::virtualizers::virtual_aes_ccm::VirtualAES128CCM<
        'static,
        nrf52840::aes::AesECB<'static>,
    >
));

Structs§