#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 StripCPEgeometric::WrappedCluster::addSuppressedEdgeStrip(), HLTJetMETDQMSource::analyze(), HcalTimingMonitorModule::analyze(), HcalDetDiagTimingMonitor::analyze(), HcalDetDiagLaserMonitor::analyze(), apply(), asHepVector(), HLTJetMETDQMSource::beginRun(), JetMETHLTOfflineSource::beginRun(), JetCorrectorParameters::binIndex(), BinLogLikelihoodRatio(), Blowfish_Decrypt(), Blowfish_Encrypt(), Blowfish_Init(), FWBeamSpotProxyBuilder::build(), PhysicsTools::LeastSquares::calculate(), FourVectorHLTClient::calculateRatio(), StripCPEgeometric::WrappedCluster::centroid(), RPCSeedOverlapper::CheckOverlap(), clangcms::FiniteMathChecker::checkPreStmt(), dtCalibration::DTVDriftMeanTimer::compute(), SimpleJetCorrector::correctionBin(), reco::NamedCompositeCandidate::daughter(), reco::CompositeCandidate::daughter(), StripCPEgeometric::WrappedCluster::deformed(), SingleGaussianState< N >::dimension(), MultiGaussianState< N >::dimension(), dot(), TEveEllipsoidProjectedGL::DrawRhoZ(), StripCPEgeometric::WrappedCluster::dropSmallerEdgeStrip(), DTVDriftCalibration::endJob(), EcalZmassClient::endRun(), RPCEfficiencySecond::endRun(), LA_Filler_Fitter::fill(), MuonResiduals1DOFFitter::fit(), MuonResidualsAngleFitter::fit(), MuonResidualsBfieldAngleFitter::fit(), MuonResidualsPositionFitter::fit(), CalibrationAlgorithm::fitPulse(), CSCFindPeakTime::fivePoleFitCharge(), fnc_dscb(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), TopologyWorker::fowo(), GraphPath< N, E >::fromTo(), mathSSE::Vec4< double >::get1(), mathSSE::Vec2< TmpType >::get1(), mathSSE::Vec4< align::Scalar >::get1(), 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(), ThePEG::HepMCConverter< HepMCEventT, Traits >::init(), MultiGaussianStateTransform::innerMultiState1D(), SimpleJetCorrector::invert(), DDBase< DDName, DDRotationMatrix * >::isDefined(), PerigeeConversions::jacobianCurvilinear2Perigee(), PerigeeConversions::jacobianPerigee2Curvilinear(), PhysicsTools::LeastSquares::load(), edm::EventSelector::maskTriggerResults(), StripCPEgeometric::WrappedCluster::maxProjection(), StripCPEgeometric::WrappedCluster::middle(), MultiGaussianStateTransform::multiState1D(), BitArray< 9 >::nBits(), DTTFBitArray< N >::nBits(), JetCorrectorParameters::neighbourBin(), BitArray< 9 >::nWords(), DTTFBitArray< N >::nWords(), KalmanTrackToTrackCovCalculator< N >::operator()(), TtHadLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), SaturationFcn::operator()(), CSCThrTurnOnFcn::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, N, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, N, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, N, V >::operator()(), MultiGaussianStateTransform::outerMultiState1D(), JetResolution::parameter(), JetResolution::parameterEtaEval(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), polevlf(), RecoTauCleanerImpl< Prod >::produce(), ProjectMatrix< T, N, D >::project(), ProjectMatrix< T, N, D >::projectAndSubtractFrom(), TempTrajectory::push(), cscdqm::Summary::ReadErrorChambers(), cscdqm::Summary::ReadReportingChambersRef(), DTSegmentUpdator::rejectBadHits(), PFMuonAlgo::removeDeadCandidates(), JetResolution::resolution(), EnergyResolutionVsLumi::Resolution(), magfieldparam::rz_harm_poly::rz_harm_poly(), magfieldparam::rz_poly::rz_poly(), TopologyWorker::sanda(), HcalDetDiagLaserMonitor::SaveRaddamData(), SaturationFcn::set_data(), HLTJetMETDQMSource::PathInfo::setHistos(), BTagHLTOfflineSource::PathInfo::setHistos(), JetMETHLTOfflineSource::PathInfo::setHistos(), CosmicMuonGenerator::setNumberOfEvents(), function::ZMuTrackScaledFunction::setParameters(), function::ZMuStandaloneScaledFunction::setParameters(), function::ZMuTrackFunction::setParameters(), CosmicMuonGenerator::setRanSeed(), magfieldparam::poly2d_base::SetTabSize(), magfieldparam::rz_harm_poly::SetTrigArrSize(), MonitorElement::ShiftFillLast(), DoubleCrystalBallGenerator::shoot(), cscdqm::Utility::SignificanceLevelHigh(), stat_RMS(), StripCPEgeometric::WrappedCluster::sumQ(), reco::tau::takeNElements(), edm::EventSelector::testSelectionOverlap(), GsfMatrixTools::trace(), KalmanVertexTrackUpdator< N >::trackRefit(), SimpleJetCorrectionUncertainty::uncertaintyBin(), SurveyOutput::write(), and HFunctionResolution::Write().
void Blowfish_Decrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 326 of file blowfish.cc.
References F(), i, N, BLOWFISH_CTX::P, and groupFilesInBlocks::temp.
Referenced by cond::Cipher::bf_process_alloc().
void Blowfish_Encrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 299 of file blowfish.cc.
References F(), i, N, BLOWFISH_CTX::P, and groupFilesInBlocks::temp.
Referenced by cond::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, i, j, gen::k, N, ORIG_P, ORIG_S, BLOWFISH_CTX::P, and BLOWFISH_CTX::S.
Referenced by cond::Cipher::Cipher().
|
static |
Definition at line 281 of file blowfish.cc.
References a, b, trackerHits::c, BLOWFISH_CTX::S, and detailsBasic3DVector::y.
Referenced by Blowfish_Decrypt(), Blowfish_Encrypt(), hitfit::Fourvec_Constraint_Calculator::calculate_constraints(), hitfit::Base_Constrainer::call_constraint_fcn(), TangentCircle::charge(), funct::SimplSumOrd< A, B, PROD_S(C, D) >::combine(), funct::RatioP1< F, G, H >::combine(), funct::Product< PROD_S(F, G), H >::combine(), funct::RatioP2< F, G, H >::combine(), BladeShapeBuilderFromDet::computeBounds(), ForwardDiskSectorBuilderFromDet::computeBounds(), ForwardRingDiskBuilderFromDet::computeBounds(), ForwardDetLayer::computeSurface(), BarrelDetLayer::computeSurface(), corrJetEt1(), DAClusterizerInZ::dump(), DAClusterizerInZ_vect::dump(), HLTEffCalculator::endJob(), TrackerValidationVariables::fillHitQuantities(), hitfit::Chisq_Constrainer::fit(), NonPropagatingDetMeasurements::get(), reco::componenthelper::SingleComponent< C, T, F >::get(), reco::componenthelper::MultipleComponents< C, T, F, S >::get(), TKinFitter::getF(), edm::refitem::GetPtrImpl< C, T, F, KEY >::getPtr_(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), MagneticField::inInverseGeV(), TkPixelMeasurementDet::measurements(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, N, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, N, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, N, V >::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, 6, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, 5, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, 4, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, 3, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, 2, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_decomposer< F, 1, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, 6, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, 5, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, 4, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, 3, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_inverter< F, 2, M >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, 6, V >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, 5, V >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, 4, V >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, 3, V >::operator()(), ROOT::Math::CholeskyDecompHelpers::_solver< F, 2, V >::operator()(), HBHEPulseShapeFlagSetter::PerformNominalFit(), and HcalNoiseMonitor::PerformNominalFit().
|
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().