HomePhabricator

pki: Move common Ed25519 functions to pki_ed25519_common.c

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Sep 20 2019, 4:28 PM.

Description

pki: Move common Ed25519 functions to pki_ed25519_common.c

This is a preparation to use the Ed25519 implementation from OpenSSL.

The function pki_ed25519_sig_to_blob() was renamed to
pki_ed25519_signature_to_blob() and pki_ed25519_sig_from_blob() was
renamed to pki_signature_from_ed25519_blob() to follow the naming for
other algorithms.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>

Details