/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSignUtil.c | 137 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 D | softSign.c | 105 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 D | metaSign.c | 75 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 D | pkcs11Sign.c | 97 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 D | metaGlobal.h | 782 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 D | kernelSign.c | 176 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 D | kernelSoftCommon.c | 165 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 D | kernelSoftCommon.h | 55 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen, int opflag);
|
/illumos-gate/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 580 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 D | new_host.c | 1710 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 D | api_interface.c | 1918 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()
|