Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c221 CK_ULONG_PTR pulSignedLen, boolean_t Final) in soft_dsa_digest_sign_common() argument
233 *pulSignedLen = DSA_SIGNATURE_LENGTH; in soft_dsa_digest_sign_common()
238 if (*pulSignedLen < DSA_SIGNATURE_LENGTH) { in soft_dsa_digest_sign_common()
239 *pulSignedLen = DSA_SIGNATURE_LENGTH; in soft_dsa_digest_sign_common()
261 rv = soft_dsa_sign(session_p, hash, hash_len, pSigned, pulSignedLen); in soft_dsa_digest_sign_common()
277 CK_ULONG_PTR pulSignedLen) in soft_dsa_sign() argument
292 *pulSignedLen = DSA_SIGNATURE_LENGTH; in soft_dsa_sign()
302 if (*pulSignedLen < DSA_SIGNATURE_LENGTH) { in soft_dsa_sign()
303 *pulSignedLen = DSA_SIGNATURE_LENGTH; in soft_dsa_sign()
309 *pulSignedLen = DSA_SIGNATURE_LENGTH; in soft_dsa_sign()
H A DsoftRSA.c525 CK_ULONG_PTR pulSignedLen, CK_MECHANISM_TYPE mechanism) in soft_rsa_sign_common() argument
543 *pulSignedLen = modulus_len; in soft_rsa_sign_common()
557 *pulSignedLen = modulus_len; in soft_rsa_sign_common()
567 *pulSignedLen = modulus_len; in soft_rsa_sign_common()
575 if (*pulSignedLen < (CK_ULONG)modulus_len) { in soft_rsa_sign_common()
576 *pulSignedLen = modulus_len; in soft_rsa_sign_common()
618 *pulSignedLen = modulus_len; in soft_rsa_sign_common()
973 CK_ULONG_PTR pulSignedLen, CK_MECHANISM_TYPE mechanism, boolean_t Final) in soft_rsa_digest_sign_common() argument
1004 *pulSignedLen = modulus_len; in soft_rsa_digest_sign_common()
1010 if (*pulSignedLen < (CK_ULONG)modulus_len) { in soft_rsa_digest_sign_common()
[all …]
H A DsoftDESCrypt.c915 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_des_sign_verify_common() argument
932 *pulSignedLen = 0; in soft_des_sign_verify_common()
938 *pulSignedLen = soft_des_ctx_sign_verify->mac_len; in soft_des_sign_verify_common()
943 if (*pulSignedLen < soft_des_ctx_sign_verify->mac_len) { in soft_des_sign_verify_common()
944 *pulSignedLen = soft_des_ctx_sign_verify->mac_len; in soft_des_sign_verify_common()
1029 *pulSignedLen = soft_des_ctx_sign_verify->mac_len; in soft_des_sign_verify_common()
1032 (void) memcpy(pSigned, last_block, *pulSignedLen); in soft_des_sign_verify_common()
H A DsoftEC.c426 CK_ULONG_PTR pulSignedLen, boolean_t Final) in soft_ecc_digest_sign_common() argument
450 rv = soft_ecc_sign(session_p, hash, hash_len, pSigned, pulSignedLen); in soft_ecc_digest_sign_common()
465 CK_ULONG_PTR pulSignedLen) in soft_ecc_sign() argument
500 signature_item.len = *pulSignedLen; in soft_ecc_sign()
515 *pulSignedLen = signature_item.len; in soft_ecc_sign()
H A DsoftMAC.c460 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_hmac_sign_verify_common() argument
482 *pulSignedLen = hmac_ctx->hmac_len; in soft_hmac_sign_verify_common()
487 if (*pulSignedLen < hmac_ctx->hmac_len) { in soft_hmac_sign_verify_common()
488 *pulSignedLen = hmac_ctx->hmac_len; in soft_hmac_sign_verify_common()
557 *pulSignedLen = hmac_ctx->hmac_len; in soft_hmac_sign_verify_common()
H A DsoftCrypt.h88 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen,