Searched refs:pulSignedLen (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDSA.c | 221 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 D | softRSA.c | 525 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 D | softDESCrypt.c | 905 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_des_sign_verify_common() argument 922 *pulSignedLen = 0; in soft_des_sign_verify_common() 928 *pulSignedLen = soft_des_ctx_sign_verify->mac_len; in soft_des_sign_verify_common() 933 if (*pulSignedLen < soft_des_ctx_sign_verify->mac_len) { in soft_des_sign_verify_common() 934 *pulSignedLen = soft_des_ctx_sign_verify->mac_len; in soft_des_sign_verify_common() 1019 *pulSignedLen = soft_des_ctx_sign_verify->mac_len; in soft_des_sign_verify_common() 1022 (void) memcpy(pSigned, last_block, *pulSignedLen); in soft_des_sign_verify_common()
|
H A D | softEC.c | 426 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 D | softMAC.c | 459 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_hmac_sign_verify_common() argument 481 *pulSignedLen = hmac_ctx->hmac_len; in soft_hmac_sign_verify_common() 486 if (*pulSignedLen < hmac_ctx->hmac_len) { in soft_hmac_sign_verify_common() 487 *pulSignedLen = hmac_ctx->hmac_len; in soft_hmac_sign_verify_common() 556 *pulSignedLen = hmac_ctx->hmac_len; in soft_hmac_sign_verify_common()
|
H A D | softAESCrypt.c | 1522 CK_ULONG ulDataLen, CK_BYTE_PTR pSigned, CK_ULONG_PTR pulSignedLen, in soft_aes_sign_verify_common() argument 1536 *pulSignedLen = 0; in soft_aes_sign_verify_common() 1542 *pulSignedLen = soft_aes_ctx_sign_verify->mac_len; in soft_aes_sign_verify_common() 1547 if (*pulSignedLen < soft_aes_ctx_sign_verify->mac_len) { in soft_aes_sign_verify_common() 1548 *pulSignedLen = soft_aes_ctx_sign_verify->mac_len; in soft_aes_sign_verify_common() 1565 *pulSignedLen = soft_aes_ctx_sign_verify->mac_len; in soft_aes_sign_verify_common() 1568 (void) memcpy(pSigned, last_block, *pulSignedLen); in soft_aes_sign_verify_common()
|