Searched refs:ECkey (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c472 ECPrivateKey ECkey; local
488 ECkey.ecParams = ecc_ctx->ecparams;
496 ECkey.privateValue.data = value;
497 ECkey.privateValue.len = value_len;
505 if ((ss = ECDSA_SignDigest(&ECkey, &signature_item, &digest_item, 0))
538 ECPublicKey ECkey; local
558 ECkey.ecParams = ecc_ctx->ecparams;
568 ECkey.publicValue.data = point;
569 ECkey.publicValue.len = template.ulValueLen;
577 if (ECDSA_VerifyDigest(&ECkey,
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c649 ECPrivateKey ECkey; local
670 ECkey.ecParams = ctx->ecparams;
676 ECkey.privateValue.data = private;
677 ECkey.privateValue.len = (uint_t)private_len;
683 if ((ss = ECDSA_SignDigest(&ECkey, &signature_item, &digest_item,
851 ECPublicKey ECkey; local
882 ECkey.ecParams = ctx->ecparams;
888 ECkey.publicValue.data = public;
889 ECkey.publicValue.len = (uint_t)public_len;
892 if (ECDSA_VerifyDigest(&ECkey,
[all...]

Completed in 240 milliseconds