The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Crypt::OpenSSL::ECDSA - Perl extension for OpenSSL ECDSA (Elliptic Curve Digital Signature Algorithm)

SYNOPSIS

use Crypt::OpenSSL::ECDSA;
$sig = Crypt::OpenSSL::ECDSA::ECDSA_do_sign($digest, $key);
$ret = Crypt::OpenSSL::ECDSA::ECDSA_do_verify($digest, $sig, $key);

DESCRIPTION

This module provides an interface to the ECDSA (Elliptic Curve Digital Signature Algorithm) functions in OpenSSL

Tested against OpenSSL 1.0.2

EXPORT

None by default.

Exportable constants

ECDSA_F_ECDSA_CHECK
ECDSA_F_ECDSA_DATA_NEW_METHOD
ECDSA_F_ECDSA_DO_SIGN
ECDSA_F_ECDSA_DO_VERIFY
ECDSA_F_ECDSA_SIGN_SETUP
ECDSA_R_BAD_SIGNATURE
ECDSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE
ECDSA_R_ERR_EC_LIB
ECDSA_R_MISSING_PARAMETERS
ECDSA_R_NEED_NEW_SETUP_VALUES
ECDSA_R_NON_FIPS_METHOD
ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED
ECDSA_R_SIGNATURE_MALLOC_FAILED

SEE ALSO

OpenSSL documentation http://www.openssl.org/

AUTHOR

Mike McCauley, <mikem@airspayce.com>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Mike McCauley

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.1 or, at your option, any later version of Perl 5 you may have available.