Home
last modified time | relevance | path

Searched refs:signature_item (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c473 SECItem signature_item; in soft_ecc_sign() local
499 signature_item.data = pSigned; in soft_ecc_sign()
500 signature_item.len = *pulSignedLen; in soft_ecc_sign()
505 if ((ss = ECDSA_SignDigest(&ECkey, &signature_item, &digest_item, 0)) in soft_ecc_sign()
515 *pulSignedLen = signature_item.len; in soft_ecc_sign()
539 SECItem signature_item; in soft_ecc_verify() local
571 signature_item.data = pSignature; in soft_ecc_verify()
572 signature_item.len = ulSignatureLen; in soft_ecc_verify()
577 if (ECDSA_VerifyDigest(&ECkey, &signature_item, &digest_item, 0) in soft_ecc_verify()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c650 SECItem signature_item; in ecc_sign_common() local
679 signature_item.data = signed_data; in ecc_sign_common()
680 signature_item.len = sizeof (signed_data); in ecc_sign_common()
683 if ((ss = ECDSA_SignDigest(&ECkey, &signature_item, &digest_item, in ecc_sign_common()
694 signature, signature_item.len)) != CRYPTO_SUCCESS) in ecc_sign_common()
697 signature->cd_length = signature_item.len; in ecc_sign_common()
852 SECItem signature_item; in ecc_verify_common() local
866 if ((rv = crypto_get_input_data(signature, &signature_item.data, in ecc_verify_common()
870 signature_item.len = signature->cd_length; in ecc_verify_common()
892 if (ECDSA_VerifyDigest(&ECkey, &signature_item, &digest_item, kmflag) in ecc_verify_common()