亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pubkey.h

?? 研讀AxCrypt對(duì)加解密的處理方法
?? H
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE TF_SignerBase : public TF_SignatureSchemeBase<PK_Signer, TF_Base<RandomizedTrapdoorFunctionInverse, PK_SignatureMessageEncodingMethod> >
{
public:
	void InputRecoverableMessage(PK_MessageAccumulator &messageAccumulator, const byte *recoverableMessage, unsigned int recoverableMessageLength) const;
	unsigned int SignAndRestart(RandomNumberGenerator &rng, PK_MessageAccumulator &messageAccumulator, byte *signature, bool restart=true) const;
};

//! _
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE TF_VerifierBase : public TF_SignatureSchemeBase<PK_Verifier, TF_Base<TrapdoorFunction, PK_SignatureMessageEncodingMethod> >
{
public:
	void InputSignature(PK_MessageAccumulator &messageAccumulator, const byte *signature, unsigned int signatureLength) const;
	bool VerifyAndRestart(PK_MessageAccumulator &messageAccumulator) const;
	DecodingResult RecoverAndRestart(byte *recoveredMessage, PK_MessageAccumulator &recoveryAccumulator) const;
};

// ********************************************************

//! _
template <class T1, class T2, class T3>
struct TF_CryptoSchemeOptions
{
	typedef T1 AlgorithmInfo;
	typedef T2 Keys;
	typedef typename Keys::PrivateKey PrivateKey;
	typedef typename Keys::PublicKey PublicKey;
	typedef T3 MessageEncodingMethod;
};

//! _
template <class T1, class T2, class T3, class T4>
struct TF_SignatureSchemeOptions : public TF_CryptoSchemeOptions<T1, T2, T3>
{
	typedef T4 HashFunction;
};

//! _
template <class KEYS>
class CRYPTOPP_NO_VTABLE PublicKeyCopier
{
public:
	typedef typename KEYS::PublicKey KeyClass;
	virtual void CopyKeyInto(typename KEYS::PublicKey &key) const =0;
};

//! _
template <class KEYS>
class CRYPTOPP_NO_VTABLE PrivateKeyCopier
{
public:
	typedef typename KEYS::PrivateKey KeyClass;
	virtual void CopyKeyInto(typename KEYS::PublicKey &key) const =0;
	virtual void CopyKeyInto(typename KEYS::PrivateKey &key) const =0;
};

//! _
template <class BASE, class SCHEME_OPTIONS, class KEY>
class CRYPTOPP_NO_VTABLE TF_ObjectImplBase : public AlgorithmImpl<BASE, typename SCHEME_OPTIONS::AlgorithmInfo>
{
public:
	typedef SCHEME_OPTIONS SchemeOptions;
	typedef KEY KeyClass;

	PublicKey & AccessPublicKey() {return AccessKey();}
	const PublicKey & GetPublicKey() const {return GetKey();}

	PrivateKey & AccessPrivateKey() {return AccessKey();}
	const PrivateKey & GetPrivateKey() const {return GetKey();}

	virtual const KeyClass & GetKey() const =0;
	virtual KeyClass & AccessKey() =0;

	const KeyClass & GetTrapdoorFunction() const {return GetKey();}

	PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const
	{
		return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
	}
	PK_MessageAccumulator * NewVerificationAccumulator() const
	{
		return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
	}

protected:
	const typename BASE::MessageEncodingInterface & GetMessageEncodingInterface() const 
		{return Singleton<CPP_TYPENAME SCHEME_OPTIONS::MessageEncodingMethod>().Ref();}
	const TrapdoorFunctionBounds & GetTrapdoorFunctionBounds() const 
		{return GetKey();}
	const typename BASE::TrapdoorFunctionInterface & GetTrapdoorFunctionInterface() const 
		{return GetKey();}

	// for signature scheme
	HashIdentifier GetHashIdentifier() const
	{
        typedef CPP_TYPENAME SchemeOptions::MessageEncodingMethod::HashIdentifierLookup::template HashIdentifierLookup2<CPP_TYPENAME SchemeOptions::HashFunction> L;
        return L::Lookup();
	}
	unsigned int GetDigestSize() const
	{
		typedef CPP_TYPENAME SchemeOptions::HashFunction H;
		return H::DIGESTSIZE;
	}
};

//! _
template <class BASE, class SCHEME_OPTIONS, class KEY>
class TF_ObjectImplExtRef : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY>
{
public:
	TF_ObjectImplExtRef(const KEY *pKey = NULL) : m_pKey(pKey) {}
	void SetKeyPtr(const KEY *pKey) {m_pKey = pKey;}

	const KEY & GetKey() const {return *m_pKey;}
	KEY & AccessKey() {throw NotImplemented("TF_ObjectImplExtRef: cannot modify refererenced key");}

private:
	const KEY * m_pKey;
};

//! _
template <class BASE, class SCHEME_OPTIONS, class KEY_COPIER>
class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<TwoBases<BASE, KEY_COPIER>, SCHEME_OPTIONS, typename KEY_COPIER::KeyClass>
{
public:
	typedef typename KEY_COPIER::KeyClass KeyClass;

	const KeyClass & GetKey() const {return m_trapdoorFunction;}
	KeyClass & AccessKey() {return m_trapdoorFunction;}

	void CopyKeyInto(typename SCHEME_OPTIONS::PrivateKey &key) const {key = GetKey();}
	void CopyKeyInto(typename SCHEME_OPTIONS::PublicKey &key) const {key = GetKey();}

private:
	KeyClass m_trapdoorFunction;
};

//! _
template <class SCHEME_OPTIONS>
class TF_DecryptorImpl : public TF_ObjectImpl<TF_DecryptorBase, SCHEME_OPTIONS, PrivateKeyCopier<typename SCHEME_OPTIONS::Keys> >
{
};

//! _
template <class SCHEME_OPTIONS>
class TF_EncryptorImpl : public TF_ObjectImpl<TF_EncryptorBase, SCHEME_OPTIONS, PublicKeyCopier<typename SCHEME_OPTIONS::Keys> >
{
};

//! _
template <class SCHEME_OPTIONS>
class TF_SignerImpl : public TF_ObjectImpl<TF_SignerBase, SCHEME_OPTIONS, PrivateKeyCopier<typename SCHEME_OPTIONS::Keys> >
{
};

//! _
template <class SCHEME_OPTIONS>
class TF_VerifierImpl : public TF_ObjectImpl<TF_VerifierBase, SCHEME_OPTIONS, PublicKeyCopier<typename SCHEME_OPTIONS::Keys> >
{
};

// ********************************************************

//! _
class CRYPTOPP_NO_VTABLE MaskGeneratingFunction
{
public:
	virtual ~MaskGeneratingFunction() {}
	virtual void GenerateAndMask(HashTransformation &hash, byte *output, unsigned int outputLength, const byte *input, unsigned int inputLength, bool mask = true) const =0;
};

CRYPTOPP_DLL void P1363_MGF1KDF2_Common(HashTransformation &hash, byte *output, unsigned int outputLength, const byte *input, unsigned int inputLength, const byte *derivationParams, unsigned int derivationParamsLength, bool mask, unsigned int counterStart);

//! _
class P1363_MGF1 : public MaskGeneratingFunction
{
public:
	static const char * StaticAlgorithmName() {return "MGF1";}
	void GenerateAndMask(HashTransformation &hash, byte *output, unsigned int outputLength, const byte *input, unsigned int inputLength, bool mask = true) const
	{
		P1363_MGF1KDF2_Common(hash, output, outputLength, input, inputLength, NULL, 0, mask, 0);
	}
};

// ********************************************************

//! _
template <class H>
class P1363_KDF2
{
public:
	static void DeriveKey(byte *output, unsigned int outputLength, const byte *input, unsigned int inputLength, const byte *derivationParams, unsigned int derivationParamsLength)
	{
		H h;
		P1363_MGF1KDF2_Common(h, output, outputLength, input, inputLength, derivationParams, derivationParamsLength, false, 1);
	}
};

// ********************************************************

//! to be thrown by DecodeElement and AgreeWithStaticPrivateKey
class DL_BadElement : public InvalidDataFormat
{
public:
	DL_BadElement() : InvalidDataFormat("CryptoPP: invalid group element") {}
};

//! interface for DL group parameters
template <class T>
class CRYPTOPP_NO_VTABLE DL_GroupParameters : public CryptoParameters
{
	typedef DL_GroupParameters<T> ThisClass;
	
public:
	typedef T Element;

	DL_GroupParameters() : m_validationLevel(0) {}

	// CryptoMaterial
	bool Validate(RandomNumberGenerator &rng, unsigned int level) const
	{
		if (!GetBasePrecomputation().IsInitialized())
			return false;

		if (m_validationLevel > level)
			return true;

		bool pass = ValidateGroup(rng, level);
		pass = pass && ValidateElement(level, GetSubgroupGenerator(), &GetBasePrecomputation());

		m_validationLevel = pass ? level+1 : 0;

		return pass;
	}

	bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const
	{
		return GetValueHelper(this, name, valueType, pValue)
			CRYPTOPP_GET_FUNCTION_ENTRY(SubgroupOrder)
			CRYPTOPP_GET_FUNCTION_ENTRY(SubgroupGenerator)
			;
	}

	bool SupportsPrecomputation() const {return true;}

	void Precompute(unsigned int precomputationStorage=16)
	{
		AccessBasePrecomputation().Precompute(GetGroupPrecomputation(), GetSubgroupOrder().BitCount(), precomputationStorage);
	}

	void LoadPrecomputation(BufferedTransformation &storedPrecomputation)
	{
		AccessBasePrecomputation().Load(GetGroupPrecomputation(), storedPrecomputation);
		m_validationLevel = 0;
	}

	void SavePrecomputation(BufferedTransformation &storedPrecomputation) const
	{
		GetBasePrecomputation().Save(GetGroupPrecomputation(), storedPrecomputation);
	}

	// non-inherited
	virtual const Element & GetSubgroupGenerator() const {return GetBasePrecomputation().GetBase(GetGroupPrecomputation());}
	virtual void SetSubgroupGenerator(const Element &base) {AccessBasePrecomputation().SetBase(GetGroupPrecomputation(), base);}
	virtual Element ExponentiateBase(const Integer &exponent) const
	{
		return GetBasePrecomputation().Exponentiate(GetGroupPrecomputation(), exponent);
	}
	virtual Element ExponentiateElement(const Element &base, const Integer &exponent) const
	{
		Element result;
		SimultaneousExponentiate(&result, base, &exponent, 1);
		return result;
	}

	virtual const DL_GroupPrecomputation<Element> & GetGroupPrecomputation() const =0;
	virtual const DL_FixedBasePrecomputation<Element> & GetBasePrecomputation() const =0;
	virtual DL_FixedBasePrecomputation<Element> & AccessBasePrecomputation() =0;
	virtual const Integer & GetSubgroupOrder() const =0;	// order of subgroup generated by base element
	virtual Integer GetMaxExponent() const =0;
	virtual Integer GetGroupOrder() const {return GetSubgroupOrder()*GetCofactor();}	// one of these two needs to be overriden
	virtual Integer GetCofactor() const {return GetGroupOrder()/GetSubgroupOrder();}
	virtual unsigned int GetEncodedElementSize(bool reversible) const =0;
	virtual void EncodeElement(bool reversible, const Element &element, byte *encoded) const =0;
	virtual Element DecodeElement(const byte *encoded, bool checkForGroupMembership) const =0;
	virtual Integer ConvertElementToInteger(const Element &element) const =0;
	virtual bool ValidateGroup(RandomNumberGenerator &rng, unsigned int level) const =0;
	virtual bool ValidateElement(unsigned int level, const Element &element, const DL_FixedBasePrecomputation<Element> *precomp) const =0;
	virtual bool FastSubgroupCheckAvailable() const =0;
	virtual bool IsIdentity(const Element &element) const =0;
	virtual void SimultaneousExponentiate(Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const =0;

protected:
	void ParametersChanged() {m_validationLevel = 0;}

private:
	mutable unsigned int m_validationLevel;
};

//! _
template <class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<CPP_TYPENAME GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<CPP_TYPENAME GROUP_PRECOMP::Element> >
class DL_GroupParametersImpl : public BASE
{
public:
	typedef GROUP_PRECOMP GroupPrecomputation;
	typedef typename GROUP_PRECOMP::Element Element;
	typedef BASE_PRECOMP BasePrecomputation;
	
	const DL_GroupPrecomputation<Element> & GetGroupPrecomputation() const {return m_groupPrecomputation;}
	const DL_FixedBasePrecomputation<Element> & GetBasePrecomputation() const {return m_gpc;}
	DL_FixedBasePrecomputation<Element> & AccessBasePrecomputation() {return m_gpc;}

protected:
	GROUP_PRECOMP m_groupPrecomputation;
	BASE_PRECOMP m_gpc;
};

//! _
template <class T>
class CRYPTOPP_NO_VTABLE DL_Key
{
public:
	virtual const DL_GroupParameters<T> & GetAbstractGroupParameters() const =0;
	virtual DL_GroupParameters<T> & AccessAbstractGroupParameters() =0;
};

//! interface for DL public keys
template <class T>
class CRYPTOPP_NO_VTABLE DL_PublicKey : public DL_Key<T>
{
	typedef DL_PublicKey<T> ThisClass;

public:

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
jlzzjlzz亚洲日本少妇| 亚洲动漫第一页| 欧美午夜视频网站| 麻豆久久一区二区| 亚洲精品高清在线观看| 26uuu精品一区二区| a亚洲天堂av| 蜜桃视频在线一区| 亚洲妇女屁股眼交7| 亚洲欧洲av另类| 久久精品水蜜桃av综合天堂| 欧美日韩激情在线| 99久久er热在这里只有精品15 | 亚洲欧美激情在线| 久久久久久久一区| 日韩久久久精品| 欧美人xxxx| 欧美在线一二三四区| 成人av网站免费观看| 国产精品影音先锋| 狠狠色丁香婷综合久久| 日本特黄久久久高潮| 亚洲高清久久久| 亚洲一区在线观看网站| 亚洲人成小说网站色在线| 国产精品久久久久精k8| 日本一区二区高清| 精品国产乱码久久久久久影片| 欧美一区日韩一区| 9191国产精品| 欧美一级片免费看| 欧美一区二区播放| 日韩三级在线观看| 日韩欧美激情在线| 精品国产123| 精品国产欧美一区二区| 精品国产一区二区精华| 欧美xxxxxxxxx| 精品国产免费久久| 久久精品欧美一区二区三区不卡 | 成人av先锋影音| 成人免费视频播放| www.日韩在线| 91麻豆国产香蕉久久精品| 99久久精品国产精品久久| 色先锋资源久久综合| 欧洲在线/亚洲| 91精品免费在线观看| 欧美成人性福生活免费看| 久久久国产精华| 国产精品理伦片| 亚洲精品免费一二三区| 亚洲福利国产精品| 奇米色777欧美一区二区| 精品在线亚洲视频| 成人精品免费视频| 日本久久电影网| 欧美喷潮久久久xxxxx| 欧美一级欧美一级在线播放| 久久亚洲一级片| 中文字幕在线不卡视频| 亚洲一区二区三区四区五区中文| 丝袜美腿亚洲色图| 国产在线一区观看| 91农村精品一区二区在线| 欧美色老头old∨ideo| 日韩欧美一区二区不卡| 国产婷婷色一区二区三区| 亚洲少妇30p| 五月天中文字幕一区二区| 麻豆91精品视频| 波多野结衣欧美| 欧美三电影在线| 2021久久国产精品不只是精品| 国产精品美女一区二区在线观看| 成人免费在线视频| 免费日韩伦理电影| av高清不卡在线| 91精品婷婷国产综合久久性色| 久久精品水蜜桃av综合天堂| 一区二区三区四区中文字幕| 激情五月婷婷综合| 91麻豆国产香蕉久久精品| 精品国产乱码久久久久久夜甘婷婷| 国产精品久久久久婷婷| 午夜精品在线看| 成人污视频在线观看| 91麻豆精品国产91久久久久久 | 欧美三级一区二区| 久久精品人人爽人人爽| 午夜国产精品一区| 91视频观看免费| 精品国产乱码91久久久久久网站| 亚洲激情av在线| 国产馆精品极品| 91 com成人网| 亚洲黄色录像片| 国产99精品国产| 日韩一级免费一区| 综合久久久久久久| 国产一区二区三区日韩| 欧美日韩久久久| 亚洲欧美在线观看| 国产精品18久久久| 精品美女在线观看| 亚洲成在线观看| 色婷婷av一区二区| 国产精品污污网站在线观看| 美女一区二区在线观看| 欧美色综合久久| 亚洲免费资源在线播放| 不卡欧美aaaaa| 久久久蜜臀国产一区二区| 美女视频免费一区| 欧美高清视频在线高清观看mv色露露十八| 国产精品视频在线看| 国产乱子伦一区二区三区国色天香| 欧美精品v国产精品v日韩精品| 亚洲欧洲综合另类| kk眼镜猥琐国模调教系列一区二区| 久久精品视频在线看| 国产精品影音先锋| 久久久青草青青国产亚洲免观| 久久er99热精品一区二区| 91麻豆精品国产自产在线| 天天色天天操综合| 欧美精品一卡二卡| 视频一区二区不卡| 欧美精品第一页| 丝袜美腿亚洲色图| 91精品国产一区二区| 日韩国产欧美视频| 7777精品伊人久久久大香线蕉最新版| 亚洲一区二区四区蜜桃| 欧美制服丝袜第一页| 亚洲电影中文字幕在线观看| 欧美日本在线观看| 美腿丝袜一区二区三区| 精品久久久久久综合日本欧美| 狂野欧美性猛交blacked| 精品国产精品一区二区夜夜嗨 | 欧美在线一二三| 婷婷夜色潮精品综合在线| 91精品视频网| 久久精品99久久久| 国产午夜精品一区二区三区四区| 国产麻豆精品视频| 亚洲欧洲av在线| 欧美日韩中文精品| 麻豆91免费观看| 国产欧美日韩麻豆91| 99热国产精品| 亚洲一区二区精品3399| 欧美一区二区精品在线| 国产不卡视频一区二区三区| 中文字幕一区二区三区在线不卡 | 亚洲综合无码一区二区| 91精品一区二区三区在线观看| 奇米综合一区二区三区精品视频| 亚洲精品一区二区三区蜜桃下载 | 99re亚洲国产精品| 亚洲国产综合色| 日韩欧美亚洲一区二区| 国产黄人亚洲片| 亚洲一区二区五区| 精品国产91久久久久久久妲己| 成人一区二区三区视频在线观看| 亚洲四区在线观看| 欧美一级日韩一级| 成人小视频免费观看| 亚洲成人免费在线观看| 欧美精品一区二区三区高清aⅴ | 成人欧美一区二区三区小说 | 7777精品伊人久久久大香线蕉的 | 石原莉奈一区二区三区在线观看 | 日本在线播放一区二区三区| 91麻豆精品国产91久久久久| 懂色av一区二区三区蜜臀| 一区二区日韩电影| 精品免费国产二区三区| 在线免费一区三区| 精品一区二区免费视频| 亚洲综合自拍偷拍| 亚洲精品在线三区| 欧美三级中文字幕在线观看| 粉嫩久久99精品久久久久久夜| 亚洲午夜日本在线观看| 久久众筹精品私拍模特| 欧美色综合影院| 懂色av一区二区夜夜嗨| 麻豆国产欧美一区二区三区| 亚洲精品欧美综合四区| 国产欧美一区二区精品久导航| 欧美日韩美少妇| av色综合久久天堂av综合| 国产综合色产在线精品| 日韩国产欧美在线播放| 亚洲你懂的在线视频| 国产亚洲欧美激情| 日韩视频在线你懂得|