Home
last modified time | relevance | path

Searched refs:pulSignatureLen (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSignUtil.c137 CK_ULONG_PTR pulSignatureLen) in soft_sign() argument
163 ulDataLen, hmac, pulSignatureLen, B_TRUE); in soft_sign()
167 ulDataLen, pSignature, pulSignatureLen, B_TRUE); in soft_sign()
171 (void) memcpy(pSignature, hmac, *pulSignatureLen); in soft_sign()
183 ulDataLen, signature, pulSignatureLen, B_TRUE, in soft_sign()
188 ulDataLen, NULL, pulSignatureLen, B_TRUE, B_FALSE); in soft_sign()
192 (void) memcpy(pSignature, signature, *pulSignatureLen); in soft_sign()
204 ulDataLen, signature, pulSignatureLen, B_TRUE, in soft_sign()
209 ulDataLen, NULL, pulSignatureLen, B_TRUE, B_FALSE); in soft_sign()
213 (void) memcpy(pSignature, signature, *pulSignatureLen); in soft_sign()
[all …]
H A DsoftSign.c105 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in C_Sign() argument
120 if ((pData == NULL) || (pulSignatureLen == NULL)) { in C_Sign()
153 pulSignatureLen); in C_Sign()
235 CK_ULONG_PTR pulSignatureLen) in C_SignFinal() argument
250 if (pulSignatureLen == NULL) { in C_SignFinal()
270 rv = soft_sign_final(session_p, pSignature, pulSignatureLen); in C_SignFinal()
362 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in C_SignRecover() argument
377 if ((pData == NULL) || (pulSignatureLen == NULL)) { in C_SignRecover()
395 pulSignatureLen); in C_SignRecover()
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSign.c75 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in meta_Sign() argument
84 if (pData == NULL || pulSignatureLen == NULL) { in meta_Sign()
91 pData, ulDataLen, pSignature, pulSignatureLen); in meta_Sign()
135 CK_ULONG_PTR pulSignatureLen) in meta_SignFinal() argument
144 if (pulSignatureLen == NULL) { in meta_SignFinal()
151 NULL, 0, pSignature, pulSignatureLen); in meta_SignFinal()
198 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in meta_SignRecover() argument
207 if (pData == NULL || pulSignatureLen == NULL) { in meta_SignRecover()
214 pData, ulDataLen, pSignature, pulSignatureLen); in meta_SignRecover()
H A Dpkcs11Sign.c97 CK_ULONG_PTR pulSignatureLen) in C_Sign() argument
105 pSignature, pulSignatureLen)); in C_Sign()
121 ulDataLen, pSignature, pulSignatureLen); in C_Sign()
177 CK_ULONG_PTR pulSignatureLen) in C_SignFinal() argument
185 pulSignatureLen)); in C_SignFinal()
201 pSignature, pulSignatureLen); in C_SignFinal()
273 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in C_SignRecover() argument
281 pSignature, pulSignatureLen)); in C_SignRecover()
296 ulDataLen, pSignature, pulSignatureLen); in C_SignRecover()
H A DmetaGlobal.h782 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen);
786 CK_ULONG_PTR pulSignatureLen);
790 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSign.c176 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in C_Sign() argument
193 if (pulSignatureLen == NULL) { in C_Sign()
231 pSignature, pulSignatureLen, OP_SINGLE); in C_Sign()
244 sign.cs_signlen = *pulSignatureLen; in C_Sign()
258 *pulSignatureLen = sign.cs_signlen; in C_Sign()
375 CK_ULONG_PTR pulSignatureLen) in C_SignFinal() argument
392 if (pulSignatureLen == NULL) { in C_SignFinal()
415 NULL, 0, pSignature, pulSignatureLen, OP_FINAL); in C_SignFinal()
431 pSignature, pulSignatureLen, OP_SINGLE); in C_SignFinal()
448 pSignature, pulSignatureLen); in C_SignFinal()
[all …]
H A DkernelSoftCommon.c165 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen, int opflag) in do_soft_hmac_sign() argument
177 (pSignature != NULL ? hmac : NULL), pulSignatureLen, B_TRUE); in do_soft_hmac_sign()
180 (void) memcpy(pSignature, hmac, *pulSignatureLen); in do_soft_hmac_sign()
H A DkernelSoftCommon.h55 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen, int opflag);
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h580 CK_ULONG_PTR pulSignatureLen /* gets signature length */
607 CK_ULONG_PTR pulSignatureLen /* gets signature length */
635 CK_ULONG_PTR pulSignatureLen /* gets signature length */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c1710 CK_ULONG_PTR pulSignatureLen) in SC_Sign() argument
1727 if (!pData || !pulSignatureLen) { in SC_Sign()
1742 pSignature, pulSignatureLen); in SC_Sign()
1793 CK_ULONG_PTR pulSignatureLen) in SC_SignFinal() argument
1805 if (! pulSignatureLen) { in SC_SignFinal()
1825 &sess->sign_ctx, pSignature, pulSignatureLen); in SC_SignFinal()
1881 CK_ULONG_PTR pulSignatureLen) in SC_SignRecover() argument
1898 if (!pData || !pulSignatureLen) { in SC_SignRecover()
1913 pSignature, pulSignatureLen); in SC_SignRecover()
H A Dapi_interface.c1918 CK_ULONG_PTR pulSignatureLen) in C_Sign() argument
1931 pSignature, pulSignatureLen); in C_Sign()
1968 CK_ULONG_PTR pulSignatureLen) in C_SignFinal() argument
1976 if (! pulSignatureLen) { in C_SignFinal()
1984 pulSignatureLen); in C_SignFinal()
2021 CK_ULONG_PTR pulSignatureLen) in C_SignRecover() argument
2034 ulDataLen, pSignature, pulSignatureLen); in C_SignRecover()