Lines Matching refs:blockSize
520 + int blockSize;
539 + if( ( blockSize = PK11_GetBlockSize( ctx->cipher , NULL ) ) < 0 ) {
554 + inBlocks = ( encrypt != 0 ? inSize : ( inSize - 1 ) ) / blockSize ;
555 + inSize = inBlocks * blockSize ;
557 + if( inSize < blockSize ) {
573 + if( xmlSecBufferSetMaxSize( out , outSize + inSize + blockSize ) < 0 ) {
588 + if(PK11_CipherOp( ctx->cipherCtx , outBuf , &outLen , inSize + blockSize , xmlSecBufferGetData…
631 + int blockSize, outLen = 0;
650 + if( ( blockSize = PK11_GetBlockSize( ctx->cipher , NULL ) ) < 0 ) {
665 + xmlSecAssert2( inSize < blockSize, -1 ) ;
670 + if( xmlSecBufferSetMaxSize( in , blockSize ) < 0 ) {
687 + if( blockSize > ( inSize + 1 ) ) {
688 + if( PK11_GenerateRandom( inBuf + inSize, blockSize - inSize - 1 ) != SECSuccess ) {
700 + inBuf[blockSize-1] = blockSize - inSize ;
701 + inSize = blockSize ;
704 + if( inSize != blockSize ) {
720 + if( xmlSecBufferSetMaxSize( out , outSize + inSize + blockSize ) < 0 ) {
735 + if( PK11_CipherOp( ctx->cipherCtx , outBuf , &outLen , inSize + blockSize , xmlSecBufferGetDat…
748 + if( outLen < outBuf[blockSize-1] ) {
760 + outLen -= outBuf[blockSize-1] ;
779 + if( xmlSecBufferSetMaxSize( out , outSize + blockSize ) < 0 ) {
917 + if( PK11_DigestFinal( ctx->cipherCtx , outBuf , &outLen , blockSize ) != SECSuccess ) {