Page MenuHomePhabricator

PSA driver for mac multipart capability
Open, NormalPublic

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.Fri, Jun 25, 11:15 AM
adeaarm created this task.
adeaarm added a comment.EditedFri, Jul 2, 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.Fri, Jul 9, 3:17 PM