问题描述
libeay32.dll-------------------------------------------函数原型:voidAES_decrypt(constunsignedchar*in,unsignedchar*out,constAES_KEY*key)AES_KEY:structaes_key_st{#ifdefAES_LONGunsignedlongrd_key[4*(AES_MAXNR+1)];#elseunsignedintrd_key[4*(AES_MAXNR+1)];#endifintrounds;};typedefstructaes_key_stAES_KEY;-----------------------------------------------C#代码[DllImport("libeay32.dll",CharSet=CharSet.Unicode)]publicstaticexternintAES_decrypt(stringinStr,stringoutStr,AESKEYpassword);//这里是错误的这应该要怎么声明啊?
时间: 2024-11-05 21:56:17