#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 Matriplex::__attribute__(), Phase1PixelSummaryMap::addNamedBins(), StripCPEgeometric::WrappedCluster::addSuppressedEdgeStrip(), L1TConfigDumper::analyze(), apply(), asHepVector(), ticl::assignPCAtoTracksters(), PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >::associateNeighbours(), PFRecHitCaloNavigatorWithTime< EEDetId, EcalEndcapTopology >::associateNeighbours(), edm::StdArray< T, N >::at(), mkfit::axis_base< float, bin_index_t, M, N >::axis_base(), edm::StdArray< T, N >::back(), edm::StdArray< T, N >::begin(), JetCorrectorParameters::binIndex(), JetCorrectorParametersHelper::binIndexChecks(), Blowfish_Decrypt(), Blowfish_Encrypt(), Blowfish_Init(), JetMETHLTOfflineSource::bookHistograms(), FWBeamSpotProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), SiTrackerMultiRecHitUpdator::calcParameters(), FastCircleFit::calculate(), edm::VecArray< std::pair< int, int >, 9 >::capacity(), edm::StdArray< T, N >::cbegin(), HeterogeneousHGCSiliconDetId::cellX(), HFNoseDetId::cellX(), HGCSiliconDetId::cellX(), HeterogeneousHGCSiliconDetId::cellY(), HFNoseDetId::cellY(), HGCSiliconDetId::cellY(), edm::StdArray< T, N >::cend(), StripCPEgeometric::WrappedCluster::centroid(), mkfit::CFMap(), check_sorted(), cscdqm::Utility::checkError(), JetCorrectorParametersHelper::checkMiddleBinUniformity(), cscdqm::Utility::checkOccupancy(), RPCSeedOverlapper::CheckOverlap(), popcon::EcalPulseSymmCovariancesHandler::checkPulseSymmCovariance(), riemannFit::circleFit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::circleFit(), CMSTDormandPrince45< T_Equation, N >::CMSTDormandPrince45(), portablecollection::CollectionImpl< Idx, T >::CollectionImpl(), portablecollection::CollectionLeaf< Idx, Args... >::CollectionLeaf(), dtCalibration::DTVDriftMeanTimer::compute(), calo::multifit::compute_decomposition(), calo::multifit::compute_decomposition_forwardsubst_with_offsets(), SiTrackerMultiRecHitUpdator::ComputeWeight(), mkfit::conformalFitMPlex(), edm::ParameterTypeTraits< std::array< T, N > >::convert(), SimpleJetCorrector::correctionBin(), riemannFit::cov_carttorad(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::cov_carttorad(), riemannFit::cov_carttorad_prefit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::cov_carttorad_prefit(), riemannFit::cov_radtocart(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::cov_radtocart(), edm::StdArray< T, N >::data(), reco::NamedCompositeCandidate::daughter(), reco::CompositeCandidate::daughter(), StripCPEgeometric::WrappedCluster::deformed(), SingleGaussianState< N >::dimension(), MultiGaussianState< N >::dimension(), cms::alpakatools::detail::UniformElementsND< TAcc, typename >::const_iterator::do_elements_loops(), cms::alpakatools::detail::UniformElementsND< TAcc, typename >::const_iterator::do_strided_loops(), dot(), EcalZmassClient::dqmEndJob(), TEveEllipsoidProjectedGL::DrawRhoZ(), StripCPEgeometric::WrappedCluster::dropSmallerEdgeStrip(), EcalPulseSymmCovariance::EcalPulseSymmCovariance(), edm::VecArray< std::pair< int, int >, 9 >::emplace_back(), edm::StdArray< T, N >::empty(), edm::StdArray< T, N >::end(), DTVDriftCalibration::endJob(), cond::serialization::access< T[N]>::equal_(), cond::serialization::access< std::array< T, N > >::equal_(), DTMeanTimerFitter::evaluateVDriftAndReso(), FastCircleFit::FastCircleFit(), riemannFit::fastFit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::fastFit(), LA_Filler_Fitter::fill(), edm::StdArray< T, N >::fill(), MuonResidualsBfieldAngleFitter::fit(), MuonResidualsPositionFitter::fit(), MuonResidualsAngleFitter::fit(), CSCFindPeakTime::fivePoleFitCharge(), fnc_dscb(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), ProjectMatrix< T, N, D >::fromH(), edm::StdArray< T, N >::front(), l1tmetemu::generatePhiSliceLUT(), mathSSE::Vec4< double >::get1(), mathSSE::Vec2< float >::get1(), mathSSE::Vec4< align::Scalar >::get1(), HGCalParametersFromDD::getCellPosition(), PFEnergyResolution::getEnergyResolutionEm(), fit::RootMinuit< Function >::getErrorMatrix(), ReferenceTrajectory::getHitProjectionMatrixT(), GetMEAN(), PFHCALDenseIdNavigator< HcalDetId, HcalTopology, false >::getNeighbourDetId(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), graph_combine(), h2DSegm::h2DSegm(), h4DSegm::h4DSegm(), magfieldparam::HarmBasis3DCyl::HarmBasis3DCyl(), hDeltaR::hDeltaR(), hDigis::hDigis(), riemannFit::helixFit(), hHits::hHits(), HistoExists(), hMuonStat::hMuonStat(), hParam::hParam(), hTDelay::hTDelay(), hTOF::hTOF(), hybridBitonicMergeRef(), hybridBitonicSortRef(), edm::EventSelector::identical(), l1ct::idx_from_real_val(), L1TauEmu::idx_from_real_val(), L1SCJetEmu::idx_from_real_val(), magfieldparam::poly2d_base::IncNPwr(), SiTrivialInduceChargeOnStrips::induceVector(), l1ct::init_invert_table(), L1TauEmu::init_invert_table(), L1SCJetEmu::init_invert_table(), P2L1HTMHTEmu::init_sinphi_table(), MultiGaussianStateTransform::innerMultiState1D(), CMSTDormandPrince45< T_Equation, N >::Interpolate4thOrder(), CMSTDormandPrince45< T_Equation, N >::Interpolate5thOrder(), Matriplex::CramerInverterSym< T, 2, N >::invert(), Matriplex::CramerInverterSym< T, 3, N >::invert(), Matriplex::CholeskyInverterSym< T, 3, N >::invert(), Matriplex::CramerInverter< T, 2, N >::invert(), Matriplex::CramerInverter< T, 3, N >::invert(), Matriplex::CholeskyInverter< T, 3, N >::invert(), l1ct::invert_with_shift(), L1TauEmu::invert_with_shift(), math::cholesky::invertNN(), DDBase< DDName, std::unique_ptr< DDI::Material > >::isDefined(), mayown_ptr< T, N >::isOwn(), HGCalDDDConstants::isValidCell8(), HGCalDDDConstants::isValidHex8(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::WalkConsumes< N >::iterate(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::WalkAndCall< N, Types >::iterate(), PerigeeConversions::jacobianCurvilinear2Perigee(), PerigeeConversions::jacobianPerigee2Curvilinear(), l1pf_pattern_pack(), l1pf_pattern_pack_slim(), l1pf_pattern_unpack(), l1pf_pattern_unpack_slim(), StripCPEfromTrackAngle::legacyStripErrorSquared(), riemannFit::lineFit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::lineFit(), HGCalGeomParameters::loadWaferHexagon8(), StripCPEfromTrackAngle::localParameters(), PVValHelper::makeLogBins(), mayown_ptr< T, N >::markOwn(), HGCalDDDConstants::maskCell(), edm::EventSelector::maskTriggerResults(), L1TMuonBarrelKalmanAlgo::match(), edm::StdArray< T, N >::max_size(), HGCalDDDConstants::maxCells(), StripCPEgeometric::WrappedCluster::maxProjection(), StripCPEgeometric::WrappedCluster::middle(), Matriplex::SymMultiplyCls< T, 3, N >::multiply(), Matriplex::SymMultiplyCls< T, 6, N >::multiply(), Matriplex::MultiplyCls< T, 3, N >::multiply(), Matriplex::MultiplyCls< T, 6, N >::multiply(), Matriplex::multiply(), Matriplex::multiplyGeneral(), MultiGaussianStateTransform::multiState1D(), DTTFBitArray< N >::nBits(), BitArray< 9 >::nBits(), HGCalTopology::neighbors(), JetCorrectorParameters::neighbourBin(), HGCalDDDConstants::numberCellsHexagon(), DTTFBitArray< N >::nWords(), BitArray< 9 >::nWords(), edm::StdArray< T, N >::operator std::array< T, N >(), KalmanTrackToTrackCovCalculator< N >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_BLFastFit< N, TrackerTraits >::operator()(), TtHadLRSignalSelObservables::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_FastFit< N, TrackerTraits >::operator()(), TtSemiLRSignalSelObservables::operator()(), CSCThrTurnOnFcn::operator()(), Run2Lumi::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_CircleFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_LineFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_BLFit< N, TrackerTraits >::operator()(), riemannFit::helixFit< N >::operator()(), edm::operator<<(), edm::StdArray< T, N >::operator=(), edm::operator==(), MultiGaussianStateTransform::outerMultiState1D(), p1evlf(), JetResolution::parameter(), JetResolution::parameterEtaEval(), mayown_ptr< T, N >::pointer(), polevlf(), DDHGCalEEAlgo::positionSensitive(), DDHGCalEEFileAlgo::positionSensitive(), DDHGCalHEAlgo::positionSensitive(), DDHGCalHEFileAlgo::positionSensitive(), HGCalEEFileAlgo::positionSensitive(), HGCalEEAlgo::PositionSensitive(), HGCalHEFileAlgo::positionSensitive(), HGCalHEAlgo::positionSensitive(), PhiMemoryImage::print(), StraightTrackAlignment::printN(), PFHCALDenseIdNavigator< HcalDetId, HcalTopology, false >::printNeighbourInfo(), RecoTauCleanerImpl< Prod >::produce(), CTPPSProtonReconstructionPlotter::profileToRMSGraph(), CTPPSProtonReconstructionSimulationValidator::PlotGroup::profileToRMSGraph(), ProjectMatrix< T, N, D >::project(), ProjectMatrix< T, N, D >::projectAndSubtractFrom(), mkfit::propagateLineToRMPlex(), TempTrajectory::push(), edm::VecArray< std::pair< int, int >, 9 >::push_back(), cscdqm::Summary::ReadErrorChambers(), cscdqm::Summary::ReadReportingChambersRef(), l1ct::real_val_from_idx(), L1TauEmu::real_val_from_idx(), L1SCJetEmu::real_val_from_idx(), L1SCJetEmu::reduce(), 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(), riemannFit::scatter_cov_rad(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::scatter_cov_rad(), riemannFit::scatterCovLine(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit::scatterCovLine(), JetMETHLTOfflineSource::PathInfo::setHistos(), SiPixelDetectorStatus::setNevents(), CosmicMuonGenerator::setNumberOfEvents(), CosmicMuonGenerator::setRanSeed(), magfieldparam::poly2d_base::SetTabSize(), StraightTrackAlignment::setToString(), magfieldparam::rz_harm_poly::SetTrigArrSize(), CMSTDormandPrince45< T_Equation, N >::SetupInterpolation5thOrder(), dqm::impl::MonitorElement::ShiftFillLast(), DoubleCrystalBallGenerator::shoot(), cscdqm::Utility::SignificanceLevelHigh(), cscdqm::Utility::SignificanceLevelLow(), P2L1HTMHTEmu::sine_with_conversion(), edm::StdArray< T, N >::size(), stat_RMS(), CMSTDormandPrince45< T_Equation, N >::StepWithError(), CMSTDormandPrince45< T_Equation, N >::StepWithFinalDerivate(), StripCPEfromTrackAngle::stripErrorSquared(), StripCPEgeometric::WrappedCluster::sumQ(), edm::StdArray< T, N >::swap(), reco::tau::takeNElements(), edm::EventSelector::testSelectionOverlap(), CSCSegment::time(), GsfMatrixTools::trace(), KalmanVertexTrackUpdator< 5 >::trackRefit(), npstat::transposeBuffer(), HFNoseDetId::triggerCellU(), HGCSiliconDetId::triggerCellU(), HFNoseDetId::triggerCellV(), HGCSiliconDetId::triggerCellV(), HFNoseTriggerDetId::triggerCellX(), HGCalTriggerDetId::triggerCellX(), HFNoseTriggerDetId::triggerCellY(), HGCalTriggerDetId::triggerCellY(), SimpleJetCorrectionUncertainty::uncertaintyBin(), calo::multifit::update_decomposition_forwardsubst_with_offsets(), SurveyOutput::write(), and HFunctionResolution::Write().
void Blowfish_Decrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 207 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 181 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 235 of file blowfish.cc.
References Blowfish_Encrypt(), data, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, submitPVResolutionJobs::key, N, ORIG_P, ORIG_S, BLOWFISH_CTX::P, and BLOWFISH_CTX::S.
Referenced by cond::auth::Cipher::Cipher().
|
static |
Definition at line 163 of file blowfish.cc.
References a, b, HltBtagPostValidation_cff::c, ztail::d, BLOWFISH_CTX::S, x, and detailsBasic3DVector::y.
Referenced by L1TConfigDumper::analyze(), DMRChecker::analyze(), Rivet::HiggsTemplateCrossSections::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::SimplSumOrd< A, B, ProductStruct< C, D > >::combine(), funct::combine(), funct::RatioP1< A, B, Numerical< n > >::combine(), funct::Product< ProductStruct< F, G >, H >::combine(), funct::RatioP2< A, B, ProductStruct< C, D > >::combine(), ForwardDiskSectorBuilderFromDet::computeBounds(), ForwardRingDiskBuilderFromDet::computeBounds(), G4muDarkBremsstrahlungModel::ComputeCrossSectionPerAtom(), BarrelDetLayer::computeSurface(), ForwardDetLayer::computeSurface(), TKinFitter::converged(), DAClusterizerInZ_vect::dump(), DAClusterizerInZT_vect::dump(), TrackerTreeGenerator::endJob(), hitfit::Fourvec_Constraint_Calculator::eval(), 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(), HTXS::HTXSstage1_2_Fine_to_HTXSstage1_2_Fine_FineIndex(), HTXS::HTXSstage1_2_Fine_to_index(), HTXS::HTXSstage1_2_to_HTXSstage1_2_FineIndex(), HTXS::HTXSstage1_2_to_index(), HTXS::HTXSstage1_to_HTXSstage1FineIndex(), HTXS::HTXSstage1_to_index(), MagneticField::inInverseGeV(), TkDoubleSensMeasurementDet::measurements(), TkStackMeasurementDet::measurements(), LayerMeasurements::measurements(), TkGluedMeasurementDet::measurements(), TkPhase2OTMeasurementDet::measurements(), TkPixelMeasurementDet::measurements(), TkStripMeasurementDet::measurements(), fastsim::HelixTrajectory::nextCrossingTimeC(), HBHEPulseShapeFlagSetter::PerformNominalFit(), edm::waiting_task::detail::ThenAdaptor< F >::pipe(), ApeEstimator::radialPositionAndError2(), ApeTreeCreateDefault::sectorBuilder(), ApeEstimator::sectorBuilder(), RPCCluster::timeRMS(), CPPFCluster::timeRMS(), VectorHit::transverseMomentum(), RPCCluster::yRMS(), and CPPFCluster::yRMS().
|
static |
Definition at line 12 of file blowfish.cc.
Referenced by Blowfish_Init().
|
static |
Definition at line 31 of file blowfish.cc.
Referenced by Blowfish_Init().