Page MenuHomePhabricator

PSA driver for mac multipart capability
Closed, ResolvedPublic

Description

Develop a cc_3xx driver entry point for the mac multipart capability (mac_multipart, mac_verify_multipart)

List of entry points to be finalised first.

Modify the build system to build any additional source added.

Make sure no tests break.

Event Timeline

adeaarm triaged this task as Normal priority.Jun 25 2021, 11:15 AM
adeaarm created this task.
adeaarm added a comment.EditedJul 2 2021, 6:56 PM

Prototypes derived from: https://github.com/ARMmbed/mbedtls/blob/development/library/psa_crypto_driver_wrappers.h

typedef ... acme_mac_operation_t;
psa_status_t acme_mac_sign_setup(
    acme_mac_operation_t *operation,
    const psa_key_attributes_t *attributes,
    const uint8_t *key_buffer,
    size_t key_buffer_size,
    psa_algorithm_t alg);
psa_status_t acme_mac_verify_setup(
    acme_mac_operation_t *operation,
    const psa_key_attributes_t *attributes,
    const uint8_t *key_buffer,
    size_t key_buffer_size,
    psa_algorithm_t alg);
psa_status_t acme_mac_update(
    acme_mac_operation_t *operation,
    const uint8_t *input,
    size_t input_length);
psa_status_t acme_mac_sign_finish(
    acme_mac_operation_t *operation,
    uint8_t *mac,
    size_t mac_size,
    size_t *mac_length);
psa_status_t acme_mac_verify_finish(
    acme_mac_operation_t *operation,
    const uint8_t *mac,
    size_t mac_length);
psa_status_t acme_mac_abort(
    acme_mac_operation_t *operation);
salomethirot-arm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 9 2021, 3:17 PM
salomethirot-arm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 28 2021, 2:59 PM
salomethirot-arm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 20 2021, 8:44 AM
adeaarm closed this task as Resolved.Aug 20 2021, 1:28 PM