Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c474 SECItem digest_item; in soft_ecc_sign() local
502 digest_item.data = pData; in soft_ecc_sign()
503 digest_item.len = ulDataLen; in soft_ecc_sign()
505 if ((ss = ECDSA_SignDigest(&ECkey, &signature_item, &digest_item, 0)) in soft_ecc_sign()
540 SECItem digest_item; in soft_ecc_verify() local
574 digest_item.data = pData; in soft_ecc_verify()
575 digest_item.len = ulDataLen; in soft_ecc_verify()
577 if (ECDSA_VerifyDigest(&ECkey, &signature_item, &digest_item, 0) in soft_ecc_verify()
/titanic_44/usr/src/uts/common/crypto/io/
H A Decc.c651 SECItem digest_item; in ecc_sign_common() local
663 if ((rv = crypto_get_input_data(data, &digest_item.data, tmp_data)) in ecc_sign_common()
667 digest_item.len = data->cd_length; in ecc_sign_common()
683 if ((ss = ECDSA_SignDigest(&ECkey, &signature_item, &digest_item, in ecc_sign_common()
853 SECItem digest_item; in ecc_verify_common() local
875 if ((rv = crypto_get_input_data(data, &digest_item.data, tmp_data)) in ecc_verify_common()
879 digest_item.len = data->cd_length; in ecc_verify_common()
892 if (ECDSA_VerifyDigest(&ECkey, &signature_item, &digest_item, kmflag) in ecc_verify_common()