/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softVerifyUtil.c | 138 CK_ULONG ulSignatureLen) in soft_verify() argument 170 if (len != ulSignatureLen) { in soft_verify() 196 if (len != ulSignatureLen) { in soft_verify() 222 if (len != ulSignatureLen) { in soft_verify() 237 pSignature, ulSignatureLen, mechanism)); in soft_verify() 246 ulDataLen, pSignature, ulSignatureLen, mechanism, B_FALSE)); in soft_verify() 251 pSignature, ulSignatureLen)); in soft_verify() 256 ulDataLen, pSignature, ulSignatureLen, B_FALSE)); in soft_verify() 261 pSignature, ulSignatureLen)); in soft_verify() 266 ulDataLen, pSignature, ulSignatureLen, B_FALSE)); in soft_verify() [all …]
|
H A D | softVerify.c | 105 CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen) in C_Verify() argument 153 ulSignatureLen); in C_Verify() 223 CK_ULONG ulSignatureLen) in C_VerifyFinal() argument 253 rv = soft_verify_final(session_p, pSignature, ulSignatureLen); in C_VerifyFinal() 333 CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen) in C_VerifyRecover() argument 365 ulSignatureLen, pData, pulDataLen); in C_VerifyRecover()
|
H A D | softEC.c | 531 CK_ULONG ulSignatureLen) in soft_ecc_verify() argument 547 if (ulSignatureLen > EC_MAX_SIG_LEN) { in soft_ecc_verify() 572 signature_item.len = ulSignatureLen; in soft_ecc_verify()
|
H A D | softRSA.c | 642 CK_ULONG ulSignatureLen, CK_MECHANISM_TYPE mechanism) in soft_rsa_verify_common() argument 662 if (ulSignatureLen != (CK_ULONG)modulus_len) { in soft_rsa_verify_common() 713 plain_data + ulSignatureLen - ulDataLen, in soft_rsa_verify_common() 1176 CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen) in soft_rsa_verify_recover() argument 1192 if (ulSignatureLen != (CK_ULONG)modulus_len) { in soft_rsa_verify_recover()
|
H A D | softDSA.c | 326 CK_ULONG ulSignatureLen) in soft_dsa_verify() argument 345 if (ulSignatureLen != DSA_SIGNATURE_LENGTH) { in soft_dsa_verify()
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Verify.c | 94 CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen) in C_Verify() argument 102 pSignature, ulSignatureLen)); in C_Verify() 118 ulDataLen, pSignature, ulSignatureLen); in C_Verify() 175 CK_ULONG ulSignatureLen) in C_VerifyFinal() argument 183 ulSignatureLen)); in C_VerifyFinal() 198 pSignature, ulSignatureLen); in C_VerifyFinal() 272 CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen) in C_VerifyRecover() argument 280 ulSignatureLen, pData, pulDataLen)); in C_VerifyRecover() 296 pSignature, ulSignatureLen, pData, pulDataLen); in C_VerifyRecover()
|
H A D | metaVerify.c | 74 CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen) in meta_Verify() argument 91 pData, ulDataLen, pSignature, &ulSignatureLen); in meta_Verify() 135 CK_ULONG ulSignatureLen) in meta_VerifyFinal() argument 148 if (pSignature == NULL && ulSignatureLen != 0) { in meta_VerifyFinal() 155 pSignature, ulSignatureLen, NULL, NULL); in meta_VerifyFinal() 203 CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen) in meta_VerifyRecover() argument 219 pSignature, ulSignatureLen, pData, pulDataLen); in meta_VerifyRecover()
|
H A D | metaGlobal.h | 794 CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen); 798 CK_ULONG ulSignatureLen); 802 CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelVerify.c | 180 CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen) in C_Verify() argument 230 pSignature, ulSignatureLen, OP_SINGLE); in C_Verify() 242 verify.cv_signlen = ulSignatureLen; in C_Verify() 358 CK_ULONG ulSignatureLen) in C_VerifyFinal() argument 393 NULL, 0, pSignature, ulSignatureLen, in C_VerifyFinal() 420 pSignature, ulSignatureLen); in C_VerifyFinal() 428 verify_final.vf_signlen = ulSignatureLen; in C_VerifyFinal() 564 CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen) in C_VerifyRecover() argument 601 verify_recover.vr_signlen = ulSignatureLen; in C_VerifyRecover()
|
H A D | kernelSoftCommon.c | 191 CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen, int opflag) in do_soft_hmac_verify() argument 211 if (len != ulSignatureLen) { in do_soft_hmac_verify()
|
H A D | kernelSoftCommon.h | 57 CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen, int opflag);
|
/illumos-gate/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 668 CK_ULONG ulSignatureLen /* signature length*/ 695 CK_ULONG ulSignatureLen /* signature length */ 721 CK_ULONG ulSignatureLen, /* signature length */
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | api_interface.c | 2125 CK_ULONG ulSignatureLen) in C_Verify() argument 2138 pSignature, ulSignatureLen); in C_Verify() 2148 CK_ULONG ulSignatureLen) in C_VerifyFinal() argument 2165 ulSignatureLen); in C_VerifyFinal() 2201 CK_ULONG ulSignatureLen, in C_VerifyRecover() argument 2216 ulSignatureLen, pData, pulDataLen); in C_VerifyRecover()
|
H A D | new_host.c | 1969 CK_ULONG ulSignatureLen) in SC_Verify() argument 1996 pSignature, ulSignatureLen); in SC_Verify() 2046 CK_ULONG ulSignatureLen) in SC_VerifyFinal() argument 2074 pSignature, ulSignatureLen); in SC_VerifyFinal() 2127 CK_ULONG ulSignatureLen, in SC_VerifyRecover() argument 2160 &sess->verify_ctx, pSignature, ulSignatureLen, in SC_VerifyRecover()
|
H A D | tpm_specific.c | 2753 CK_ULONG ulSignatureLen, in token_specific_rsa_verify_recover() argument 2779 if (ulSignatureLen != modLen) { in token_specific_rsa_verify_recover()
|