Home
last modified time | relevance | path

Searched refs:XMLSEC_SIZE_BAD_CAST (Results 1 – 9 of 9) sorted by relevance

/dports/security/xmlsec1/xmlsec1-1.2.29/src/mscrypto/
H A Dciphers.c117 if(xmlSecBufferGetSize(in) < XMLSEC_SIZE_BAD_CAST(blockLen)) { in xmlSecMSCryptoBlockCipherCtxInit()
172 if(inSize < XMLSEC_SIZE_BAD_CAST(blockLen)) { in xmlSecMSCryptoBlockCipherCtxUpdate()
177 inBlocks = inSize / XMLSEC_SIZE_BAD_CAST(blockLen); in xmlSecMSCryptoBlockCipherCtxUpdate()
181 inBlocks = (inSize - 1) / XMLSEC_SIZE_BAD_CAST(blockLen); in xmlSecMSCryptoBlockCipherCtxUpdate()
183 inSize = inBlocks * XMLSEC_SIZE_BAD_CAST(blockLen); in xmlSecMSCryptoBlockCipherCtxUpdate()
266 xmlSecAssert2(inSize < XMLSEC_SIZE_BAD_CAST(blockLen), -1); in xmlSecMSCryptoBlockCipherCtxFinal()
278 if(XMLSEC_SIZE_BAD_CAST(blockLen) > (inSize + 1)) { in xmlSecMSCryptoBlockCipherCtxFinal()
287 if(inSize != XMLSEC_SIZE_BAD_CAST(blockLen)) { in xmlSecMSCryptoBlockCipherCtxFinal()
H A Ddigests.c386 ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(retLen); in xmlSecMSCryptoDigestExecute()
/dports/security/xmlsec1/xmlsec1-1.2.29/src/mscng/
H A Dciphers.c406 if(xmlSecBufferGetSize(in) < XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen)) { in xmlSecMSCngCBCBlockCipherCtxInit()
632 if(inSize < XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen)) { in xmlSecMSCngCBCBlockCipherCtxUpdate()
637 inBlocks = inSize / XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen); in xmlSecMSCngCBCBlockCipherCtxUpdate()
641 inBlocks = (inSize - 1) / XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen); in xmlSecMSCngCBCBlockCipherCtxUpdate()
643 inSize = inBlocks * XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen); in xmlSecMSCngCBCBlockCipherCtxUpdate()
759 …inSize = (xmlSecBufferGetSize(in) / XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen)) * XMLSEC_SIZE_BAD_CAST(… in xmlSecMSCngGCMBlockCipherCtxUpdate()
766 …ze(in) - xmlSecMSCngAesGcmTagLengthInBytes) / XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen)) * XMLSEC_SIZE… in xmlSecMSCngGCMBlockCipherCtxUpdate()
888 xmlSecAssert2(inSize < XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen), -1); in xmlSecMSCngCBCBlockCipherCtxFinal()
900 if(XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen) > (inSize + 1)) { in xmlSecMSCngCBCBlockCipherCtxFinal()
913 if(inSize != XMLSEC_SIZE_BAD_CAST(ctx->dwBlockLen)) { in xmlSecMSCngCBCBlockCipherCtxFinal()
/dports/security/xmlsec1/xmlsec1-1.2.29/include/xmlsec/
H A Dxmlsec.h54 #define XMLSEC_SIZE_BAD_CAST(val) ((xmlSecSize)(val)) macro
/dports/security/xmlsec1/xmlsec1-1.2.29/src/
H A Dbuffer.c471 ret = xmlSecBufferAppend(buf, buffer, XMLSEC_SIZE_BAD_CAST(len)); in xmlSecBufferReadFile()
473 xmlSecInternalError2("xmlSecBufferAppend", NULL, "size=%d", XMLSEC_SIZE_BAD_CAST(len)); in xmlSecBufferReadFile()
/dports/security/xmlsec1/xmlsec1-1.2.29/src/openssl/
H A Dhmac.c487 … ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(dgstSize * 8); /* no dgst size specified, use all we have */ in xmlSecOpenSSLHmacExecute()
488 } else if(ctx->dgstSize <= XMLSEC_SIZE_BAD_CAST(8 * dgstSize)) { in xmlSecOpenSSLHmacExecute()
H A Ddigests.c354 ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(dgstSize); in xmlSecOpenSSLEvpDigestExecute()
/dports/security/xmlsec1/xmlsec1-1.2.29/src/nss/
H A Dhmac.c507 … ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(dgstSize * 8); /* no dgst size specified, use all we have */ in xmlSecNssHmacExecute()
508 } else if(ctx->dgstSize <= XMLSEC_SIZE_BAD_CAST(8 * dgstSize)) { in xmlSecNssHmacExecute()
H A Ddigests.c291 ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(dgstSize); in xmlSecNssDigestExecute()