You can change the protocol GUID and remote the function from the protocol - this is an internal protocol. It should not be called by anyone.
> -----Original Message----- > From: Gao, Zhichao <[email protected]> > Sent: Sunday, April 26, 2020 2:43 PM > To: Yao, Jiewen <[email protected]>; Fu, Siyuan <[email protected]>; > [email protected] > Cc: Wang, Jian J <[email protected]>; Lu, XiaoyuX <[email protected]>; > Kinney, Michael D <[email protected]>; Laszlo Ersek > <[email protected]> > Subject: RE: [PATCH V2 7/7] CryptoPkg/Crypto.h: Update the version of Crypto > Driver > > Jiewen, > > Do you mean remove the definition of the deprecated function and keep the > NULL value in the protocol structure? > I am not sure if that is a good idea. Because that would give the protocol a > chance to call a NULL pointer. > > Siyuan, > > The binary would be totally different. Does that make sence? > > Thanks, > Zhichao > > > -----Original Message----- > > From: Yao, Jiewen > > Sent: Saturday, April 25, 2020 9:48 PM > > To: Fu, Siyuan <[email protected]>; Gao, Zhichao <[email protected]>; > > [email protected] > > Cc: Wang, Jian J <[email protected]>; Lu, XiaoyuX > <[email protected]>; > > Kinney, Michael D <[email protected]>; Laszlo Ersek > > <[email protected]> > > Subject: RE: [PATCH V2 7/7] CryptoPkg/Crypto.h: Update the version of Crypto > > Driver > > > > Why not remove the deprecated functions ? > > > > Thank you > > Yao Jiewen > > > > > -----Original Message----- > > > From: Fu, Siyuan <[email protected]> > > > Sent: Saturday, April 25, 2020 5:45 PM > > > To: Gao, Zhichao <[email protected]>; [email protected] > > > Cc: Wang, Jian J <[email protected]>; Lu, XiaoyuX > > > <[email protected]>; Kinney, Michael D > > > <[email protected]>; Yao, Jiewen <[email protected]>; > > > Laszlo Ersek <[email protected]> > > > Subject: RE: [PATCH V2 7/7] CryptoPkg/Crypto.h: Update the version of > > > Crypto Driver > > > > > > Hi, Zhichao > > > > > > This patch set doesn't add or remove any field in EDK II Crypto > > > Protocol, but just change some API implementation to return false or > > > unsupport, right? If so I don't think the Crypto Version need to be > > > increased. > > > > > > Best Regards > > > Siyuan > > > > > > > -----Original Message----- > > > > From: Gao, Zhichao <[email protected]> > > > > Sent: 2020年4月23日 16:46 > > > > To: [email protected] > > > > Cc: Wang, Jian J <[email protected]>; Lu, XiaoyuX > > > > <[email protected]>; Fu, Siyuan <[email protected]>; Kinney, > > > > Michael D <[email protected]>; Yao, Jiewen > > > > <[email protected]>; Laszlo Ersek <[email protected]> > > > > Subject: [PATCH V2 7/7] CryptoPkg/Crypto.h: Update the version of > > > > Crypto Driver > > > > > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898 > > > > > > > > Update the Crypto Version to 7: > > > > 1. Retire below deprecated functions: > > > > MD4, ARC4, TDES, AES ECB MODE, HMAC MD5, HMAC SHA1 > > > > > > > > Cc: Jian J Wang <[email protected]> > > > > Cc: Xiaoyu Lu <[email protected]> > > > > Cc: Siyuan Fu <[email protected]> > > > > Cc: Michael D Kinney <[email protected]> > > > > Cc: Jiewen Yao <[email protected]> > > > > Cc: Laszlo Ersek <[email protected]> > > > > Signed-off-by: Zhichao Gao <[email protected]> > > > > --- > > > > CryptoPkg/Private/Protocol/Crypto.h | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/CryptoPkg/Private/Protocol/Crypto.h > > > > b/CryptoPkg/Private/Protocol/Crypto.h > > > > index 40c387e002..667ca1ef07 100644 > > > > --- a/CryptoPkg/Private/Protocol/Crypto.h > > > > +++ b/CryptoPkg/Private/Protocol/Crypto.h > > > > @@ -20,7 +20,7 @@ > > > > /// the EDK II Crypto Protocol is extended, this version define > > > > must be /// increased. > > > > /// > > > > -#define EDKII_CRYPTO_VERSION 6 > > > > +#define EDKII_CRYPTO_VERSION 7 > > > > > > > > /// > > > > /// EDK II Crypto Protocol forward declaration > > > > -- > > > > 2.21.0.windows.1 > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58140): https://edk2.groups.io/g/devel/message/58140 Mute This Topic: https://groups.io/mt/73214653/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
