Skip to content

Re-introduce Diffie-Hellman (FFDH, ECDH) in benchmark program #670

@mpg

Description

@mpg

Suggested enhancement

The benchmark program no longer covers FFDH or ECDH, since the legacy APIs (dhm.g, ecdh.h) have been removed entirely. This task is to re-introduce benchmarking of those primitives in programs/test/benchmark.c.

Since they both use the same PSA Crypto API, only with different key types and algs, we might want to introduce a common helper function. However we still want two separate command-line arguments. Each of them (ECDH, FFDH) will have a table with the list of parameters (curves) to test.

Justification

TF-PSA-Crypto needs this because we want the benchmark program to cover all the primitives we offer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsize-sEstimated task size: small (~2d)

    Type

    Projects

    Status

    Shared backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions