/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSignUtil.c | 131 CK_ULONG_PTR pulSignatureLen) in soft_sign() argument 157 ulDataLen, hmac, pulSignatureLen, B_TRUE); in soft_sign() 161 ulDataLen, pSignature, pulSignatureLen, B_TRUE); in soft_sign() 165 (void) memcpy(pSignature, hmac, *pulSignatureLen); in soft_sign() 177 ulDataLen, signature, pulSignatureLen, B_TRUE, in soft_sign() 182 ulDataLen, NULL, pulSignatureLen, B_TRUE, B_FALSE); in soft_sign() 186 (void) memcpy(pSignature, signature, *pulSignatureLen); in soft_sign() 194 pSignature, pulSignatureLen, mechanism)); in soft_sign() 203 pSignature, pulSignatureLen, mechanism, B_FALSE)); in soft_sign() 208 pSignature, 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()
|
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSign.c | 77 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in meta_Sign() argument 86 if (pData == NULL || pulSignatureLen == NULL) { in meta_Sign() 93 pData, ulDataLen, pSignature, pulSignatureLen); in meta_Sign() 137 CK_ULONG_PTR pulSignatureLen) in meta_SignFinal() argument 146 if (pulSignatureLen == NULL) { in meta_SignFinal() 153 NULL, 0, pSignature, pulSignatureLen); in meta_SignFinal() 200 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in meta_SignRecover() argument 209 if (pData == NULL || pulSignatureLen == NULL) { in meta_SignRecover() 216 pData, ulDataLen, pSignature, pulSignatureLen); in meta_SignRecover()
|
H A D | pkcs11Sign.c | 99 CK_ULONG_PTR pulSignatureLen) in C_Sign() argument 107 pSignature, pulSignatureLen)); in C_Sign() 123 ulDataLen, pSignature, pulSignatureLen); in C_Sign() 179 CK_ULONG_PTR pulSignatureLen) in C_SignFinal() argument 187 pulSignatureLen)); in C_SignFinal() 203 pSignature, pulSignatureLen); in C_SignFinal() 275 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen) in C_SignRecover() argument 283 pSignature, pulSignatureLen)); in C_SignRecover() 298 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);
|
/titanic_50/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 | 166 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen, int opflag) in do_soft_hmac_sign() argument 178 (pSignature != NULL ? hmac : NULL), pulSignatureLen, B_TRUE); in do_soft_hmac_sign() 181 (void) memcpy(pSignature, hmac, *pulSignatureLen); in do_soft_hmac_sign()
|
H A D | kernelSoftCommon.h | 57 CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen, int opflag);
|
/titanic_50/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 561 CK_ULONG_PTR pulSignatureLen /* gets signature length */ 586 CK_ULONG_PTR pulSignatureLen /* gets signature length */ 612 CK_ULONG_PTR pulSignatureLen /* gets signature length */
|
/titanic_50/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()
|