Home
last modified time | relevance | path

Searched refs:pSigned (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c220 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_dsa_digest_sign_common() argument
231 if (pSigned == NULL) { in soft_dsa_digest_sign_common()
261 rv = soft_dsa_sign(session_p, hash, hash_len, pSigned, pulSignedLen); in soft_dsa_digest_sign_common()
276 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_dsa_sign() argument
290 if (pSigned == NULL) { in soft_dsa_sign()
307 rv = local_dsa_sign(key, pData, ulDataLen, pSigned); in soft_dsa_sign()
365 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_dsa_digest_verify_common() argument
393 pSigned, ulSignedLen); in soft_dsa_digest_verify_common()
H A DsoftEC.c425 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_ecc_digest_sign_common() argument
432 if (pSigned != NULL) { in soft_ecc_digest_sign_common()
450 rv = soft_ecc_sign(session_p, hash, hash_len, pSigned, pulSignedLen); in soft_ecc_digest_sign_common()
464 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_ecc_sign() argument
499 signature_item.data = pSigned; in soft_ecc_sign()
516 if (pSigned == NULL) in soft_ecc_sign()
595 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_ecc_digest_verify_common() argument
622 pSigned, ulSignedLen); in soft_ecc_digest_verify_common()
H A DsoftMAC.c459 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_hmac_sign_verify_common() argument
480 if (pSigned == NULL) { in soft_hmac_sign_verify_common()
506 SOFT_MAC_FINAL(MD5, &(hmac_ctx->hc_ctx_u.md5_ctx), pSigned); in soft_hmac_sign_verify_common()
518 SOFT_MAC_FINAL(SHA1, &(hmac_ctx->hc_ctx_u.sha1_ctx), pSigned); in soft_hmac_sign_verify_common()
529 pSigned); in soft_hmac_sign_verify_common()
540 pSigned); in soft_hmac_sign_verify_common()
553 pSigned); in soft_hmac_sign_verify_common()
H A DsoftRSA.c524 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_rsa_sign_common() argument
541 if (pSigned == NULL) { in soft_rsa_sign_common()
617 (void) memcpy(pSigned, signed_data, modulus_len); in soft_rsa_sign_common()
972 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_rsa_digest_sign_common() argument
1002 if (pSigned == NULL) { in soft_rsa_digest_sign_common()
1073 pSigned, pulSignedLen, mechanism); in soft_rsa_digest_sign_common()
1088 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, in soft_rsa_digest_verify_common() argument
1161 pSigned, ulSignedLen, mechanism); in soft_rsa_digest_verify_common()
H A DsoftDESCrypt.c905 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_des_sign_verify_common() argument
927 if (pSigned == NULL) { in soft_des_sign_verify_common()
1022 (void) memcpy(pSigned, last_block, *pulSignedLen); in soft_des_sign_verify_common()
H A DsoftAESCrypt.c1522 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_aes_sign_verify_common() argument
1541 if (pSigned == NULL) { in soft_aes_sign_verify_common()
1568 (void) memcpy(pSigned, last_block, *pulSignedLen); in soft_aes_sign_verify_common()