Skip to content

Hw or Sw opimized ECDSA ? #48

@simo5

Description

@simo5

Looking at this code it seems to me this function indicates that some cryptography function here is implemented via CPU provided optimized instructions (CPACF) not an external HW accelerator:

static int ecdsa_sign_cpacf(const ICA_EC_KEY *priv, const unsigned char *hash,

If that is the case it seem here OpenSSL's ECDSA implemenation should be used, and support to utilize CPACF should be contributed to mainline OpenSSL so ECDSA is always as fast as possible.
Is there something preventing regular OpenSSL from using CPACF instructions directly when compiled on S390 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions