Searched refs:XMLSEC_SIZE_BAD_CAST (Results 1 – 9 of 9) sorted by relevance
117 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()
386 ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(retLen); in xmlSecMSCryptoDigestExecute()
406 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()
54 #define XMLSEC_SIZE_BAD_CAST(val) ((xmlSecSize)(val)) macro
471 ret = xmlSecBufferAppend(buf, buffer, XMLSEC_SIZE_BAD_CAST(len)); in xmlSecBufferReadFile()473 xmlSecInternalError2("xmlSecBufferAppend", NULL, "size=%d", XMLSEC_SIZE_BAD_CAST(len)); in xmlSecBufferReadFile()
487 … 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()
354 ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(dgstSize); in xmlSecOpenSSLEvpDigestExecute()
507 … 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()
291 ctx->dgstSize = XMLSEC_SIZE_BAD_CAST(dgstSize); in xmlSecNssDigestExecute()