Searched defs:pAlgorithm (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Runtime/common/crypto/
H A Dpkix-util.cpp45 RTDECL(const char *) RTCrPkixGetCiperOidFromSignatureAlgorithm(PCRTASN1OBJID pAlgorithm) argument
50 if (RTAsn1ObjId_StartsWith(pAlgorithm, RTCR_PKCS1_OID))
52 if (RTAsn1ObjIdCountComponents(pAlgorithm) == 7)
53 switch (RTAsn1ObjIdGetLastComponentsAsUInt32(pAlgorithm))
72 else if (RTAsn1ObjId_StartsWith(pAlgorithm, "1.3.14.3.2"))
74 if (RTAsn1ObjIdCountComponents(pAlgorithm) == 6)
75 switch (RTAsn1ObjIdGetLastComponentsAsUInt32(pAlgorithm))
H A Dx509-verify.cpp39 RTDECL(int) RTCrX509Certificate_VerifySignature(PCRTCRX509CERTIFICATE pThis, PCRTASN1OBJID pAlgorithm, argument
49 AssertPtrReturn(pAlgorithm, VERR_INVALID_POINTER);
50 AssertReturn(RTAsn1ObjId_IsPresent(pAlgorithm), VERR_INVALID_POINTER);
71 if (RTAsn1ObjId_CompareWithString(pAlgorithm, pszCipherOid) != 0)
74 pszCipherOid, pThis->SignatureAlgorithm.Algorithm.szObjId, pAlgorithm->szObjId);
H A Dpkix-verify.cpp44 RTDECL(int) RTCrPkixPubKeyVerifySignature(PCRTASN1OBJID pAlgorithm, PCRTASN1DYNTYPE pParameters, PCRTASN1BITSTRING pPublicKey, argument
51 AssertPtrReturn(pAlgorithm, VERR_INVALID_POINTER);
52 AssertReturn(RTAsn1ObjId_IsPresent(pAlgorithm), VERR_INVALID_POINTER);
81 int rcIprt = RTCrPkixSignatureCreateByObjId(&hSignature, pAlgorithm, false /*fSigning*/, pPublicKey, pParameters);
84 "Unknown public key algorithm [IPRT]: %s", pAlgorithm->szObjId);
87 rcIprt = RTCrDigestCreateByObjId(&hDigest, pAlgorithm);
103 RTErrInfoSetF(pErrInfo, rcIprt, "Unknown digest algorithm [IPRT]: %s", pAlgorithm->szObjId);
113 int iAlgoNid = OBJ_txt2nid(pAlgorithm->szObjId);
116 "Unknown public key algorithm [OpenSSL]: %s", pAlgorithm->szObjId);
121 "EVP_get_digestbyname failed on %s (%s)", pszAlogSn, pAlgorithm
[all...]
/vbox/include/iprt/crypto/
H A Dpkix.h44 * @param pAlgorithm The signature algorithm (digest w/ cipher).
52 RTDECL(int) RTCrPkixPubKeyVerifySignature(PCRTASN1OBJID pAlgorithm, PCRTASN1DYNTYPE pParameters, PCRTASN1BITSTRING pPublicKey,
61 * @param pAlgorithm The signature algorithm (digest w/ cipher).
63 RTDECL(const char *) RTCrPkixGetCiperOidFromSignatureAlgorithm(PCRTASN1OBJID pAlgorithm); variable
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dwincrypt.h414 CRYPT_ALGORITHM_IDENTIFIER *pAlgorithm; member in struct:_CPS_URLS
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dwincrypt.h414 CRYPT_ALGORITHM_IDENTIFIER *pAlgorithm; member in struct:_CPS_URLS

Completed in 121 milliseconds