#include "blowfish.h"
Go to the source code of this file.
Macros | |
#define | N 16 |
Functions | |
void | Blowfish_Decrypt (BLOWFISH_CTX *ctx, uInt32 *xl, uInt32 *xr) |
void | Blowfish_Encrypt (BLOWFISH_CTX *ctx, uInt32 *xl, uInt32 *xr) |
void | Blowfish_Init (BLOWFISH_CTX *ctx, unsigned char *key, int keyLen) |
static uInt32 | F (BLOWFISH_CTX *ctx, uInt32 x) |
Variables | |
static const uInt32 | ORIG_P [16+2] |
static const uInt32 | ORIG_S [4][256] |
#define N 16 |
Definition at line 9 of file blowfish.cc.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), L1TConfigDumper::analyze(), apply(), HcalItemArrayColl< Item, N >::arraySize(), HcalItemArrayCollById< Item, N >::arraySize(), asHepVector(), PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >::associateNeighbours(), PFRecHitCaloNavigatorWithTime< EEDetId, EcalEndcapTopology >::associateNeighbours(), JetCorrectorParameters::binIndex(), BinLogLikelihoodRatio(), Blowfish_Decrypt(), Blowfish_Encrypt(), Blowfish_Init(), JetMETHLTOfflineSource::bookHistograms(), FWBeamSpotProxyBuilder::build(), SiTrackerMultiRecHitUpdator::calcParameters(), PhysicsTools::LeastSquares::calculate(), FastCircleFit::calculate(), edm::VecArray< std::pair< int, int >, 9 >::capacity(), JetCorrectorParametersHelper::checkMiddleBinUniformity(), RPCSeedOverlapper::CheckOverlap(), clangcms::FiniteMathChecker::checkPreStmt(), popcon::EcalPulseSymmCovariancesHandler::checkPulseSymmCovariance(), dtCalibration::DTVDriftMeanTimer::compute(), SiTrackerMultiRecHitUpdator::ComputeWeight(), SimpleJetCorrector::correctionBin(), tauImpactParameter::ParticleBuilder::createLorentzVectorParticle(), reco::NamedCompositeCandidate::daughter(), reco::CompositeCandidate::daughter(), SingleGaussianState< N >::dimension(), MultiGaussianState< N >::dimension(), dot(), RPCEfficiencySecond::dqmEndJob(), EcalZmassClient::dqmEndJob(), TEveEllipsoidProjectedGL::DrawRhoZ(), EcalPulseSymmCovariance::EcalPulseSymmCovariance(), empty(), DTVDriftCalibration::endJob(), cond::serialization::access< std::pair< T, U > >::equal_(), cond::serialization::access< T[N]>::equal_(), cond::serialization::access< std::array< T, N > >::equal_(), FastCircleFit::FastCircleFit(), cscdqm::Utility::fastHash(), LA_Filler_Fitter::fill(), MuonResiduals1DOFFitter::fit(), MuonResidualsAngleFitter::fit(), MuonResidualsBfieldAngleFitter::fit(), MuonResidualsPositionFitter::fit(), CalibrationAlgorithm::fitPulse(), CSCFindPeakTime::fivePoleFitCharge(), fnc_dscb(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), TopologyWorker::fowo(), ProjectMatrix< T, N, D >::fromH(), HcalItemArrayColl< Item, N >::get(), mathSSE::Vec4< double >::get1(), mathSSE::Vec2< float >::get1(), mathSSE::Vec4< align::Scalar >::get1(), HcalItemArrayCollById< Item, N >::getByIndex(), HcalItemArrayCollById< Item, N >::getDefault(), PFEnergyResolution::getEnergyResolutionEm(), fit::RootMinuit< Function >::getErrorMatrix(), ReferenceTrajectory::getHitProjectionMatrixT(), GetMEAN(), PhysicsTools::LeastSquares::getMeans(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), graph_combine(), h2DSegm::h2DSegm(), h4DSegm::h4DSegm(), magfieldparam::HarmBasis3DCyl::HarmBasis3DCyl(), HistoExists(), magfieldparam::poly2d_base::IncNPwr(), SiTrivialInduceChargeOnStrips::induceVector(), MultiGaussianStateTransform::innerMultiState1D(), DDBase< DDName, DDRotationMatrix * >::isDefined(), HcalItemArrayCollById< Item, N >::isEqual(), mayown_ptr< T, N >::isOwn(), PerigeeConversions::jacobianCurvilinear2Perigee(), PerigeeConversions::jacobianPerigee2Curvilinear(), PhysicsTools::LeastSquares::load(), StripCPEfromTrackAngle::localParameters(), make_array(), mayown_ptr< T, N >::markOwn(), edm::EventSelector::maskTriggerResults(), edm::RunningAverage::mean(), MultiGaussianStateTransform::multiState1D(), DTTFBitArray< N >::nBits(), BitArray< 9 >::nBits(), JetCorrectorParameters::neighbourBin(), DTTFBitArray< N >::nWords(), BitArray< 9 >::nWords(), KalmanTrackToTrackCovCalculator< N >::operator()(), TtHadLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), SaturationFcn::operator()(), CSCThrTurnOnFcn::operator()(), std::hash< std::tuple<> >::operator()(), HcalItemArrayColl< Item, N >::operator==(), MultiGaussianStateTransform::outerMultiState1D(), JetResolution::parameter(), JetResolution::parameterEtaEval(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), mayown_ptr< T, N >::pointer(), polevlf(), RecoTauCleanerImpl< Prod >::produce(), ProjectMatrix< T, N, D >::project(), ProjectMatrix< T, N, D >::projectAndSubtractFrom(), HcalItemArrayColl< Item, N >::push_back(), edm::VecArray< std::pair< int, int >, 9 >::push_back(), TempTrajectory::pushAux(), cscdqm::Summary::ReadErrorChambers(), cscdqm::Summary::ReadReportingChambersRef(), DTSegmentUpdator::rejectBadHits(), PFMuonAlgo::removeDeadCandidates(), edm::VecArray< std::pair< int, int >, 9 >::resize(), JetResolution::resolution(), EnergyResolutionVsLumi::Resolution(), magfieldparam::rz_harm_poly::rz_harm_poly(), magfieldparam::rz_poly::rz_poly(), RZLine::RZLine(), TopologyWorker::sanda(), SaturationFcn::set_data(), HcalItemArrayCollById< Item, N >::setDefault(), JetMETHLTOfflineSource::PathInfo::setHistos(), CosmicMuonGenerator::setNumberOfEvents(), function::ZMuStandaloneScaledFunction::setParameters(), function::ZMuTrackScaledFunction::setParameters(), function::ZMuTrackFunction::setParameters(), CosmicMuonGenerator::setRanSeed(), magfieldparam::poly2d_base::SetTabSize(), magfieldparam::rz_harm_poly::SetTrigArrSize(), MonitorElement::ShiftFillLast(), DoubleCrystalBallGenerator::shoot(), cscdqm::Utility::SignificanceLevelHigh(), JetCorrectorParametersHelper::size(), stat_RMS(), reco::tau::takeNElements(), edm::EventSelector::testSelectionOverlap(), CSCSegment::time(), GsfMatrixTools::trace(), KalmanVertexTrackUpdator< N >::trackRefit(), npstat::transposeBuffer(), SimpleJetCorrectionUncertainty::uncertaintyBin(), mathSSE::Vec2< T >::Vec2(), SurveyOutput::write(), HFunctionResolution::Write(), and math::Graph< Node2, AnotherDummy2 >::~Graph().
void Blowfish_Decrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 326 of file blowfish.cc.
References F(), mps_fire::i, N, BLOWFISH_CTX::P, and groupFilesInBlocks::temp.
Referenced by cond::auth::Cipher::bf_process_alloc().
void Blowfish_Encrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 299 of file blowfish.cc.
References F(), mps_fire::i, N, BLOWFISH_CTX::P, and groupFilesInBlocks::temp.
Referenced by cond::auth::Cipher::bf_process_alloc(), and Blowfish_Init().
void Blowfish_Init | ( | BLOWFISH_CTX * | ctx, |
unsigned char * | key, | ||
int | keyLen | ||
) |
Definition at line 355 of file blowfish.cc.
References Blowfish_Encrypt(), data, mps_fire::i, gen::k, N, ORIG_P, ORIG_S, BLOWFISH_CTX::P, and BLOWFISH_CTX::S.
Referenced by cond::auth::Cipher::Cipher().
|
static |
Definition at line 281 of file blowfish.cc.
References a, b, EnergyCorrector::c, edmIntegrityCheck::d, BLOWFISH_CTX::S, and detailsBasic3DVector::y.
Referenced by L1TConfigDumper::analyze(), Blowfish_Decrypt(), Blowfish_Encrypt(), HcalHaloAlgo::Calculate(), hitfit::Fourvec_Constraint_Calculator::calculate_constraints(), hitfit::Base_Constrainer::call_constraint_fcn(), TangentCircle::charge(), clangcms::EDMPluginDumper::checkASTDecl(), funct::RatioP1< A, B, Numerical< n > >::combine(), funct::RatioP2< A, B, ProductStruct< C, D > >::combine(), compare_key(), ForwardDiskSectorBuilderFromDet::computeBounds(), ForwardRingDiskBuilderFromDet::computeBounds(), BarrelDetLayer::computeSurface(), ForwardDetLayer::computeSurface(), DAClusterizerInZ::dump(), DAClusterizerInZ_vect::dump(), DAClusterizerInZT_vect::dump(), TrackerTreeGenerator::endJob(), hitfit::Fourvec_Constraint_Calculator::eval(), sistripvvi::VVIObjDetails::f2(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), ApeEstimator::fillTrackVariables(), reco::findMethod(), edm::refitem::findRefItem(), hitfit::Chisq_Constrainer::fit(), reco::componenthelper::SingleComponent< C, T, F >::get(), reco::componenthelper::MultipleComponents< C, T, F, S >::get(), TKinFitter::getF(), edm::refitem::GetRefPtrImpl< C, T, F, KEY >::getRefPtr_(), edm::refitem::GetRefPtrImpl< C, T, F, unsigned int >::getRefPtr_(), LayerMeasurements::groupedMeasurements(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), MagneticField::inInverseGeV(), TkGluedMeasurementDet::measurements(), LayerMeasurements::measurements(), TkPhase2OTMeasurementDet::measurements(), TkPixelMeasurementDet::measurements(), TkStripMeasurementDet::measurements(), TKinFitter::nbConstraints(), std::hash< std::tuple<> >::operator()(), hitfit::operator<<(), HBHEPulseShapeFlagSetter::PerformNominalFit(), edm::soahelper::arg_puller< I, J, Ret, F, Args... >::pull(), ApeEstimator::radialPositionAndError2(), ApeEstimator::sectorBuilder(), HcalTextCalibrations::setIntervalFor(), RPCCluster::timeRMS(), RPCCluster::yRMS(), hitfit::Constraint_Calculator::~Constraint_Calculator(), and hitfit::Fourvec_Constraint_Calculator::~Fourvec_Constraint_Calculator().
|
static |
Definition at line 12 of file blowfish.cc.
Referenced by Blowfish_Init().
|
static |
Definition at line 20 of file blowfish.cc.
Referenced by Blowfish_Init().