sgx_ippcp.h 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. /*
  2. * Copyright (C) 2011-2018 Intel Corporation. All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in
  12. * the documentation and/or other materials provided with the
  13. * distribution.
  14. * * Neither the name of Intel Corporation nor the names of its
  15. * contributors may be used to endorse or promote products derived
  16. * from this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  21. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  22. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  24. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  25. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  26. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  28. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. *
  30. */
  31. #ifndef _SGX_IPPCP_H_
  32. #define _SGX_IPPCP_H_
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. #ifndef NULL
  37. #ifdef __cplusplus
  38. #define NULL 0
  39. #else
  40. #define NULL ((void *)0)
  41. #endif
  42. #endif
  43. #define ippcpGetLibVersion sgx_disp_ippcpGetLibVersion
  44. #define ippsDESGetSize sgx_disp_ippsDESGetSize
  45. #define ippsDESInit sgx_disp_ippsDESInit
  46. #define ippsDESPack sgx_disp_ippsDESPack
  47. #define ippsDESUnpack sgx_disp_ippsDESUnpack
  48. #define ippsTDESEncryptECB sgx_disp_ippsTDESEncryptECB
  49. #define ippsTDESDecryptECB sgx_disp_ippsTDESDecryptECB
  50. #define ippsTDESEncryptCBC sgx_disp_ippsTDESEncryptCBC
  51. #define ippsTDESDecryptCBC sgx_disp_ippsTDESDecryptCBC
  52. #define ippsTDESEncryptCFB sgx_disp_ippsTDESEncryptCFB
  53. #define ippsTDESDecryptCFB sgx_disp_ippsTDESDecryptCFB
  54. #define ippsTDESEncryptOFB sgx_disp_ippsTDESEncryptOFB
  55. #define ippsTDESDecryptOFB sgx_disp_ippsTDESDecryptOFB
  56. #define ippsTDESEncryptCTR sgx_disp_ippsTDESEncryptCTR
  57. #define ippsTDESDecryptCTR sgx_disp_ippsTDESDecryptCTR
  58. #define ippsAESGetSize sgx_disp_ippsAESGetSize
  59. #define ippsAESInit sgx_disp_ippsAESInit
  60. #define ippsAESSetKey sgx_disp_ippsAESSetKey
  61. #define ippsAESPack sgx_disp_ippsAESPack
  62. #define ippsAESUnpack sgx_disp_ippsAESUnpack
  63. #define ippsAESEncryptECB sgx_disp_ippsAESEncryptECB
  64. #define ippsAESDecryptECB sgx_disp_ippsAESDecryptECB
  65. #define ippsAESEncryptCBC sgx_disp_ippsAESEncryptCBC
  66. #define ippsAESEncryptCBC_CS1 sgx_disp_ippsAESEncryptCBC_CS1
  67. #define ippsAESEncryptCBC_CS2 sgx_disp_ippsAESEncryptCBC_CS2
  68. #define ippsAESEncryptCBC_CS3 sgx_disp_ippsAESEncryptCBC_CS3
  69. #define ippsAESDecryptCBC sgx_disp_ippsAESDecryptCBC
  70. #define ippsAESDecryptCBC_CS1 sgx_disp_ippsAESDecryptCBC_CS1
  71. #define ippsAESDecryptCBC_CS2 sgx_disp_ippsAESDecryptCBC_CS2
  72. #define ippsAESDecryptCBC_CS3 sgx_disp_ippsAESDecryptCBC_CS3
  73. #define ippsAESEncryptCFB sgx_disp_ippsAESEncryptCFB
  74. #define ippsAESDecryptCFB sgx_disp_ippsAESDecryptCFB
  75. #define ippsAESEncryptOFB sgx_disp_ippsAESEncryptOFB
  76. #define ippsAESDecryptOFB sgx_disp_ippsAESDecryptOFB
  77. #define ippsAESEncryptCTR sgx_disp_ippsAESEncryptCTR
  78. #define ippsAESDecryptCTR sgx_disp_ippsAESDecryptCTR
  79. #define ippsAESEncryptXTS_Direct sgx_disp_ippsAESEncryptXTS_Direct
  80. #define ippsAESDecryptXTS_Direct sgx_disp_ippsAESDecryptXTS_Direct
  81. #define ippsSMS4GetSize sgx_disp_ippsSMS4GetSize
  82. #define ippsSMS4Init sgx_disp_ippsSMS4Init
  83. #define ippsSMS4SetKey sgx_disp_ippsSMS4SetKey
  84. #define ippsSMS4EncryptECB sgx_disp_ippsSMS4EncryptECB
  85. #define ippsSMS4DecryptECB sgx_disp_ippsSMS4DecryptECB
  86. #define ippsSMS4EncryptCBC sgx_disp_ippsSMS4EncryptCBC
  87. #define ippsSMS4EncryptCBC_CS1 sgx_disp_ippsSMS4EncryptCBC_CS1
  88. #define ippsSMS4EncryptCBC_CS2 sgx_disp_ippsSMS4EncryptCBC_CS2
  89. #define ippsSMS4EncryptCBC_CS3 sgx_disp_ippsSMS4EncryptCBC_CS3
  90. #define ippsSMS4DecryptCBC sgx_disp_ippsSMS4DecryptCBC
  91. #define ippsSMS4DecryptCBC_CS1 sgx_disp_ippsSMS4DecryptCBC_CS1
  92. #define ippsSMS4DecryptCBC_CS2 sgx_disp_ippsSMS4DecryptCBC_CS2
  93. #define ippsSMS4DecryptCBC_CS3 sgx_disp_ippsSMS4DecryptCBC_CS3
  94. #define ippsSMS4EncryptCFB sgx_disp_ippsSMS4EncryptCFB
  95. #define ippsSMS4DecryptCFB sgx_disp_ippsSMS4DecryptCFB
  96. #define ippsSMS4EncryptOFB sgx_disp_ippsSMS4EncryptOFB
  97. #define ippsSMS4DecryptOFB sgx_disp_ippsSMS4DecryptOFB
  98. #define ippsSMS4EncryptCTR sgx_disp_ippsSMS4EncryptCTR
  99. #define ippsSMS4DecryptCTR sgx_disp_ippsSMS4DecryptCTR
  100. #define ippsSMS4_CCMGetSize sgx_disp_ippsSMS4_CCMGetSize
  101. #define ippsSMS4_CCMInit sgx_disp_ippsSMS4_CCMInit
  102. #define ippsSMS4_CCMMessageLen sgx_disp_ippsSMS4_CCMMessageLen
  103. #define ippsSMS4_CCMTagLen sgx_disp_ippsSMS4_CCMTagLen
  104. #define ippsSMS4_CCMStart sgx_disp_ippsSMS4_CCMStart
  105. #define ippsSMS4_CCMEncrypt sgx_disp_ippsSMS4_CCMEncrypt
  106. #define ippsSMS4_CCMDecrypt sgx_disp_ippsSMS4_CCMDecrypt
  107. #define ippsSMS4_CCMGetTag sgx_disp_ippsSMS4_CCMGetTag
  108. #define ippsAES_CCMGetSize sgx_disp_ippsAES_CCMGetSize
  109. #define ippsAES_CCMInit sgx_disp_ippsAES_CCMInit
  110. #define ippsAES_CCMMessageLen sgx_disp_ippsAES_CCMMessageLen
  111. #define ippsAES_CCMTagLen sgx_disp_ippsAES_CCMTagLen
  112. #define ippsAES_CCMStart sgx_disp_ippsAES_CCMStart
  113. #define ippsAES_CCMEncrypt sgx_disp_ippsAES_CCMEncrypt
  114. #define ippsAES_CCMDecrypt sgx_disp_ippsAES_CCMDecrypt
  115. #define ippsAES_CCMGetTag sgx_disp_ippsAES_CCMGetTag
  116. #define ippsAES_GCMGetSize sgx_disp_ippsAES_GCMGetSize
  117. #define ippsAES_GCMInit sgx_disp_ippsAES_GCMInit
  118. #define ippsAES_GCMReset sgx_disp_ippsAES_GCMReset
  119. #define ippsAES_GCMProcessIV sgx_disp_ippsAES_GCMProcessIV
  120. #define ippsAES_GCMProcessAAD sgx_disp_ippsAES_GCMProcessAAD
  121. #define ippsAES_GCMStart sgx_disp_ippsAES_GCMStart
  122. #define ippsAES_GCMEncrypt sgx_disp_ippsAES_GCMEncrypt
  123. #define ippsAES_GCMDecrypt sgx_disp_ippsAES_GCMDecrypt
  124. #define ippsAES_GCMGetTag sgx_disp_ippsAES_GCMGetTag
  125. #define ippsAES_XTSGetSize sgx_disp_ippsAES_XTSGetSize
  126. #define ippsAES_XTSInit sgx_disp_ippsAES_XTSInit
  127. #define ippsAES_XTSEncrypt sgx_disp_ippsAES_XTSEncrypt
  128. #define ippsAES_XTSDecrypt sgx_disp_ippsAES_XTSDecrypt
  129. #define ippsAES_S2V_CMAC sgx_disp_ippsAES_S2V_CMAC
  130. #define ippsAES_SIVEncrypt sgx_disp_ippsAES_SIVEncrypt
  131. #define ippsAES_SIVDecrypt sgx_disp_ippsAES_SIVDecrypt
  132. #define ippsAES_CMACGetSize sgx_disp_ippsAES_CMACGetSize
  133. #define ippsAES_CMACInit sgx_disp_ippsAES_CMACInit
  134. #define ippsAES_CMACUpdate sgx_disp_ippsAES_CMACUpdate
  135. #define ippsAES_CMACFinal sgx_disp_ippsAES_CMACFinal
  136. #define ippsAES_CMACGetTag sgx_disp_ippsAES_CMACGetTag
  137. #define ippsARCFourCheckKey sgx_disp_ippsARCFourCheckKey
  138. #define ippsARCFourGetSize sgx_disp_ippsARCFourGetSize
  139. #define ippsARCFourInit sgx_disp_ippsARCFourInit
  140. #define ippsARCFourReset sgx_disp_ippsARCFourReset
  141. #define ippsARCFourPack sgx_disp_ippsARCFourPack
  142. #define ippsARCFourUnpack sgx_disp_ippsARCFourUnpack
  143. #define ippsARCFourEncrypt sgx_disp_ippsARCFourEncrypt
  144. #define ippsARCFourDecrypt sgx_disp_ippsARCFourDecrypt
  145. #define ippsSHA1GetSize sgx_disp_ippsSHA1GetSize
  146. #define ippsSHA1Init sgx_disp_ippsSHA1Init
  147. #define ippsSHA1Duplicate sgx_disp_ippsSHA1Duplicate
  148. #define ippsSHA1Pack sgx_disp_ippsSHA1Pack
  149. #define ippsSHA1Unpack sgx_disp_ippsSHA1Unpack
  150. #define ippsSHA1Update sgx_disp_ippsSHA1Update
  151. #define ippsSHA1GetTag sgx_disp_ippsSHA1GetTag
  152. #define ippsSHA1Final sgx_disp_ippsSHA1Final
  153. #define ippsSHA1MessageDigest sgx_disp_ippsSHA1MessageDigest
  154. #define ippsSHA224GetSize sgx_disp_ippsSHA224GetSize
  155. #define ippsSHA224Init sgx_disp_ippsSHA224Init
  156. #define ippsSHA224Duplicate sgx_disp_ippsSHA224Duplicate
  157. #define ippsSHA224Pack sgx_disp_ippsSHA224Pack
  158. #define ippsSHA224Unpack sgx_disp_ippsSHA224Unpack
  159. #define ippsSHA224Update sgx_disp_ippsSHA224Update
  160. #define ippsSHA224GetTag sgx_disp_ippsSHA224GetTag
  161. #define ippsSHA224Final sgx_disp_ippsSHA224Final
  162. #define ippsSHA224MessageDigest sgx_disp_ippsSHA224MessageDigest
  163. #define ippsSHA256GetSize sgx_disp_ippsSHA256GetSize
  164. #define ippsSHA256Init sgx_disp_ippsSHA256Init
  165. #define ippsSHA256Duplicate sgx_disp_ippsSHA256Duplicate
  166. #define ippsSHA256Pack sgx_disp_ippsSHA256Pack
  167. #define ippsSHA256Unpack sgx_disp_ippsSHA256Unpack
  168. #define ippsSHA256Update sgx_disp_ippsSHA256Update
  169. #define ippsSHA256GetTag sgx_disp_ippsSHA256GetTag
  170. #define ippsSHA256Final sgx_disp_ippsSHA256Final
  171. #define ippsSHA256MessageDigest sgx_disp_ippsSHA256MessageDigest
  172. #define ippsSHA384GetSize sgx_disp_ippsSHA384GetSize
  173. #define ippsSHA384Init sgx_disp_ippsSHA384Init
  174. #define ippsSHA384Duplicate sgx_disp_ippsSHA384Duplicate
  175. #define ippsSHA384Pack sgx_disp_ippsSHA384Pack
  176. #define ippsSHA384Unpack sgx_disp_ippsSHA384Unpack
  177. #define ippsSHA384Update sgx_disp_ippsSHA384Update
  178. #define ippsSHA384GetTag sgx_disp_ippsSHA384GetTag
  179. #define ippsSHA384Final sgx_disp_ippsSHA384Final
  180. #define ippsSHA384MessageDigest sgx_disp_ippsSHA384MessageDigest
  181. #define ippsSHA512GetSize sgx_disp_ippsSHA512GetSize
  182. #define ippsSHA512Init sgx_disp_ippsSHA512Init
  183. #define ippsSHA512Duplicate sgx_disp_ippsSHA512Duplicate
  184. #define ippsSHA512Pack sgx_disp_ippsSHA512Pack
  185. #define ippsSHA512Unpack sgx_disp_ippsSHA512Unpack
  186. #define ippsSHA512Update sgx_disp_ippsSHA512Update
  187. #define ippsSHA512GetTag sgx_disp_ippsSHA512GetTag
  188. #define ippsSHA512Final sgx_disp_ippsSHA512Final
  189. #define ippsSHA512MessageDigest sgx_disp_ippsSHA512MessageDigest
  190. #define ippsMD5GetSize sgx_disp_ippsMD5GetSize
  191. #define ippsMD5Init sgx_disp_ippsMD5Init
  192. #define ippsMD5Duplicate sgx_disp_ippsMD5Duplicate
  193. #define ippsMD5Pack sgx_disp_ippsMD5Pack
  194. #define ippsMD5Unpack sgx_disp_ippsMD5Unpack
  195. #define ippsMD5Update sgx_disp_ippsMD5Update
  196. #define ippsMD5GetTag sgx_disp_ippsMD5GetTag
  197. #define ippsMD5Final sgx_disp_ippsMD5Final
  198. #define ippsMD5MessageDigest sgx_disp_ippsMD5MessageDigest
  199. #define ippsSM3GetSize sgx_disp_ippsSM3GetSize
  200. #define ippsSM3Init sgx_disp_ippsSM3Init
  201. #define ippsSM3Duplicate sgx_disp_ippsSM3Duplicate
  202. #define ippsSM3Pack sgx_disp_ippsSM3Pack
  203. #define ippsSM3Unpack sgx_disp_ippsSM3Unpack
  204. #define ippsSM3Update sgx_disp_ippsSM3Update
  205. #define ippsSM3GetTag sgx_disp_ippsSM3GetTag
  206. #define ippsSM3Final sgx_disp_ippsSM3Final
  207. #define ippsSM3MessageDigest sgx_disp_ippsSM3MessageDigest
  208. #define ippsHashGetSize sgx_disp_ippsHashGetSize
  209. #define ippsHashInit sgx_disp_ippsHashInit
  210. #define ippsHashPack sgx_disp_ippsHashPack
  211. #define ippsHashUnpack sgx_disp_ippsHashUnpack
  212. #define ippsHashDuplicate sgx_disp_ippsHashDuplicate
  213. #define ippsHashUpdate sgx_disp_ippsHashUpdate
  214. #define ippsHashGetTag sgx_disp_ippsHashGetTag
  215. #define ippsHashFinal sgx_disp_ippsHashFinal
  216. #define ippsHashMessage sgx_disp_ippsHashMessage
  217. #define ippsHashMethod_MD5 sgx_disp_ippsHashMethod_MD5
  218. #define ippsHashMethod_SM3 sgx_disp_ippsHashMethod_SM3
  219. #define ippsHashMethod_SHA1 sgx_disp_ippsHashMethod_SHA1
  220. #define ippsHashMethod_SHA1_NI sgx_disp_ippsHashMethod_SHA1_NI
  221. #define ippsHashMethod_SHA1_TT sgx_disp_ippsHashMethod_SHA1_TT
  222. #define ippsHashMethod_SHA256 sgx_disp_ippsHashMethod_SHA256
  223. #define ippsHashMethod_SHA256_NI sgx_disp_ippsHashMethod_SHA256_NI
  224. #define ippsHashMethod_SHA256_TT sgx_disp_ippsHashMethod_SHA256_TT
  225. #define ippsHashMethod_SHA224 sgx_disp_ippsHashMethod_SHA224
  226. #define ippsHashMethod_SHA224_NI sgx_disp_ippsHashMethod_SHA224_NI
  227. #define ippsHashMethod_SHA224_TT sgx_disp_ippsHashMethod_SHA224_TT
  228. #define ippsHashMethod_SHA512 sgx_disp_ippsHashMethod_SHA512
  229. #define ippsHashMethod_SHA384 sgx_disp_ippsHashMethod_SHA384
  230. #define ippsHashMethod_SHA512_256 sgx_disp_ippsHashMethod_SHA512_256
  231. #define ippsHashMethod_SHA512_224 sgx_disp_ippsHashMethod_SHA512_224
  232. #define ippsHashGetSize_rmf sgx_disp_ippsHashGetSize_rmf
  233. #define ippsHashInit_rmf sgx_disp_ippsHashInit_rmf
  234. #define ippsHashPack_rmf sgx_disp_ippsHashPack_rmf
  235. #define ippsHashUnpack_rmf sgx_disp_ippsHashUnpack_rmf
  236. #define ippsHashDuplicate_rmf sgx_disp_ippsHashDuplicate_rmf
  237. #define ippsHashUpdate_rmf sgx_disp_ippsHashUpdate_rmf
  238. #define ippsHashGetTag_rmf sgx_disp_ippsHashGetTag_rmf
  239. #define ippsHashFinal_rmf sgx_disp_ippsHashFinal_rmf
  240. #define ippsHashMessage_rmf sgx_disp_ippsHashMessage_rmf
  241. #define ippsMGF sgx_disp_ippsMGF
  242. #define ippsMGF1_rmf sgx_disp_ippsMGF1_rmf
  243. #define ippsMGF2_rmf sgx_disp_ippsMGF2_rmf
  244. #define ippsHMAC_GetSize sgx_disp_ippsHMAC_GetSize
  245. #define ippsHMAC_Init sgx_disp_ippsHMAC_Init
  246. #define ippsHMAC_Pack sgx_disp_ippsHMAC_Pack
  247. #define ippsHMAC_Unpack sgx_disp_ippsHMAC_Unpack
  248. #define ippsHMAC_Duplicate sgx_disp_ippsHMAC_Duplicate
  249. #define ippsHMAC_Update sgx_disp_ippsHMAC_Update
  250. #define ippsHMAC_Final sgx_disp_ippsHMAC_Final
  251. #define ippsHMAC_GetTag sgx_disp_ippsHMAC_GetTag
  252. #define ippsHMAC_Message sgx_disp_ippsHMAC_Message
  253. #define ippsHMACGetSize_rmf sgx_disp_ippsHMACGetSize_rmf
  254. #define ippsHMACInit_rmf sgx_disp_ippsHMACInit_rmf
  255. #define ippsHMACPack_rmf sgx_disp_ippsHMACPack_rmf
  256. #define ippsHMACUnpack_rmf sgx_disp_ippsHMACUnpack_rmf
  257. #define ippsHMACDuplicate_rmf sgx_disp_ippsHMACDuplicate_rmf
  258. #define ippsHMACUpdate_rmf sgx_disp_ippsHMACUpdate_rmf
  259. #define ippsHMACFinal_rmf sgx_disp_ippsHMACFinal_rmf
  260. #define ippsHMACGetTag_rmf sgx_disp_ippsHMACGetTag_rmf
  261. #define ippsHMACMessage_rmf sgx_disp_ippsHMACMessage_rmf
  262. #define ippsBigNumGetSize sgx_disp_ippsBigNumGetSize
  263. #define ippsBigNumInit sgx_disp_ippsBigNumInit
  264. #define ippsCmpZero_BN sgx_disp_ippsCmpZero_BN
  265. #define ippsCmp_BN sgx_disp_ippsCmp_BN
  266. #define ippsGetSize_BN sgx_disp_ippsGetSize_BN
  267. #define ippsSet_BN sgx_disp_ippsSet_BN
  268. #define ippsGet_BN sgx_disp_ippsGet_BN
  269. #define ippsRef_BN sgx_disp_ippsRef_BN
  270. #define ippsExtGet_BN sgx_disp_ippsExtGet_BN
  271. #define ippsAdd_BN sgx_disp_ippsAdd_BN
  272. #define ippsSub_BN sgx_disp_ippsSub_BN
  273. #define ippsMul_BN sgx_disp_ippsMul_BN
  274. #define ippsMAC_BN_I sgx_disp_ippsMAC_BN_I
  275. #define ippsDiv_BN sgx_disp_ippsDiv_BN
  276. #define ippsMod_BN sgx_disp_ippsMod_BN
  277. #define ippsGcd_BN sgx_disp_ippsGcd_BN
  278. #define ippsModInv_BN sgx_disp_ippsModInv_BN
  279. #define ippsSetOctString_BN sgx_disp_ippsSetOctString_BN
  280. #define ippsGetOctString_BN sgx_disp_ippsGetOctString_BN
  281. #define ippsMontGetSize sgx_disp_ippsMontGetSize
  282. #define ippsMontInit sgx_disp_ippsMontInit
  283. #define ippsMontSet sgx_disp_ippsMontSet
  284. #define ippsMontGet sgx_disp_ippsMontGet
  285. #define ippsMontForm sgx_disp_ippsMontForm
  286. #define ippsMontMul sgx_disp_ippsMontMul
  287. #define ippsMontExp sgx_disp_ippsMontExp
  288. #define ippsPRNGGetSize sgx_disp_ippsPRNGGetSize
  289. #define ippsPRNGInit sgx_disp_ippsPRNGInit
  290. #define ippsPRNGSetModulus sgx_disp_ippsPRNGSetModulus
  291. #define ippsPRNGSetH0 sgx_disp_ippsPRNGSetH0
  292. #define ippsPRNGSetAugment sgx_disp_ippsPRNGSetAugment
  293. #define ippsPRNGSetSeed sgx_disp_ippsPRNGSetSeed
  294. #define ippsPRNGGetSeed sgx_disp_ippsPRNGGetSeed
  295. #define ippsPRNGen sgx_disp_ippsPRNGen
  296. #define ippsPRNGen_BN sgx_disp_ippsPRNGen_BN
  297. #define ippsPRNGenRDRAND sgx_disp_ippsPRNGenRDRAND
  298. #define ippsPRNGenRDRAND_BN sgx_disp_ippsPRNGenRDRAND_BN
  299. #define ippsTRNGenRDSEED sgx_disp_ippsTRNGenRDSEED
  300. #define ippsTRNGenRDSEED_BN sgx_disp_ippsTRNGenRDSEED_BN
  301. #define ippsPrimeGetSize sgx_disp_ippsPrimeGetSize
  302. #define ippsPrimeInit sgx_disp_ippsPrimeInit
  303. #define ippsPrimeGen sgx_disp_ippsPrimeGen
  304. #define ippsPrimeTest sgx_disp_ippsPrimeTest
  305. #define ippsPrimeGen_BN sgx_disp_ippsPrimeGen_BN
  306. #define ippsPrimeTest_BN sgx_disp_ippsPrimeTest_BN
  307. #define ippsPrimeGet sgx_disp_ippsPrimeGet
  308. #define ippsPrimeGet_BN sgx_disp_ippsPrimeGet_BN
  309. #define ippsPrimeSet sgx_disp_ippsPrimeSet
  310. #define ippsPrimeSet_BN sgx_disp_ippsPrimeSet_BN
  311. #define ippsRSA_GetSizePublicKey sgx_disp_ippsRSA_GetSizePublicKey
  312. #define ippsRSA_InitPublicKey sgx_disp_ippsRSA_InitPublicKey
  313. #define ippsRSA_SetPublicKey sgx_disp_ippsRSA_SetPublicKey
  314. #define ippsRSA_GetPublicKey sgx_disp_ippsRSA_GetPublicKey
  315. #define ippsRSA_GetSizePrivateKeyType1 sgx_disp_ippsRSA_GetSizePrivateKeyType1
  316. #define ippsRSA_InitPrivateKeyType1 sgx_disp_ippsRSA_InitPrivateKeyType1
  317. #define ippsRSA_SetPrivateKeyType1 sgx_disp_ippsRSA_SetPrivateKeyType1
  318. #define ippsRSA_GetPrivateKeyType1 sgx_disp_ippsRSA_GetPrivateKeyType1
  319. #define ippsRSA_GetSizePrivateKeyType2 sgx_disp_ippsRSA_GetSizePrivateKeyType2
  320. #define ippsRSA_InitPrivateKeyType2 sgx_disp_ippsRSA_InitPrivateKeyType2
  321. #define ippsRSA_SetPrivateKeyType2 sgx_disp_ippsRSA_SetPrivateKeyType2
  322. #define ippsRSA_GetPrivateKeyType2 sgx_disp_ippsRSA_GetPrivateKeyType2
  323. #define ippsRSA_GetBufferSizePublicKey sgx_disp_ippsRSA_GetBufferSizePublicKey
  324. #define ippsRSA_GetBufferSizePrivateKey sgx_disp_ippsRSA_GetBufferSizePrivateKey
  325. #define ippsRSA_Encrypt sgx_disp_ippsRSA_Encrypt
  326. #define ippsRSA_Decrypt sgx_disp_ippsRSA_Decrypt
  327. #define ippsRSA_GenerateKeys sgx_disp_ippsRSA_GenerateKeys
  328. #define ippsRSA_ValidateKeys sgx_disp_ippsRSA_ValidateKeys
  329. #define ippsRSAEncrypt_OAEP sgx_disp_ippsRSAEncrypt_OAEP
  330. #define ippsRSADecrypt_OAEP sgx_disp_ippsRSADecrypt_OAEP
  331. #define ippsRSAEncrypt_OAEP_rmf sgx_disp_ippsRSAEncrypt_OAEP_rmf
  332. #define ippsRSADecrypt_OAEP_rmf sgx_disp_ippsRSADecrypt_OAEP_rmf
  333. #define ippsRSAEncrypt_PKCSv15 sgx_disp_ippsRSAEncrypt_PKCSv15
  334. #define ippsRSADecrypt_PKCSv15 sgx_disp_ippsRSADecrypt_PKCSv15
  335. #define ippsRSASign_PSS sgx_disp_ippsRSASign_PSS
  336. #define ippsRSAVerify_PSS sgx_disp_ippsRSAVerify_PSS
  337. #define ippsRSASign_PSS_rmf sgx_disp_ippsRSASign_PSS_rmf
  338. #define ippsRSAVerify_PSS_rmf sgx_disp_ippsRSAVerify_PSS_rmf
  339. #define ippsRSASign_PKCS1v15 sgx_disp_ippsRSASign_PKCS1v15
  340. #define ippsRSAVerify_PKCS1v15 sgx_disp_ippsRSAVerify_PKCS1v15
  341. #define ippsRSASign_PKCS1v15_rmf sgx_disp_ippsRSASign_PKCS1v15_rmf
  342. #define ippsRSAVerify_PKCS1v15_rmf sgx_disp_ippsRSAVerify_PKCS1v15_rmf
  343. #define ippsDLGetResultString sgx_disp_ippsDLGetResultString
  344. #define ippsDLPGetSize sgx_disp_ippsDLPGetSize
  345. #define ippsDLPInit sgx_disp_ippsDLPInit
  346. #define ippsDLPPack sgx_disp_ippsDLPPack
  347. #define ippsDLPUnpack sgx_disp_ippsDLPUnpack
  348. #define ippsDLPSet sgx_disp_ippsDLPSet
  349. #define ippsDLPGet sgx_disp_ippsDLPGet
  350. #define ippsDLPSetDP sgx_disp_ippsDLPSetDP
  351. #define ippsDLPGetDP sgx_disp_ippsDLPGetDP
  352. #define ippsDLPGenKeyPair sgx_disp_ippsDLPGenKeyPair
  353. #define ippsDLPPublicKey sgx_disp_ippsDLPPublicKey
  354. #define ippsDLPValidateKeyPair sgx_disp_ippsDLPValidateKeyPair
  355. #define ippsDLPSetKeyPair sgx_disp_ippsDLPSetKeyPair
  356. #define ippsDLPSignDSA sgx_disp_ippsDLPSignDSA
  357. #define ippsDLPVerifyDSA sgx_disp_ippsDLPVerifyDSA
  358. #define ippsDLPSharedSecretDH sgx_disp_ippsDLPSharedSecretDH
  359. #define ippsDLPGenerateDSA sgx_disp_ippsDLPGenerateDSA
  360. #define ippsDLPValidateDSA sgx_disp_ippsDLPValidateDSA
  361. #define ippsDLPGenerateDH sgx_disp_ippsDLPGenerateDH
  362. #define ippsDLPValidateDH sgx_disp_ippsDLPValidateDH
  363. #define ippsECCGetResultString sgx_disp_ippsECCGetResultString
  364. #define ippsECCPGetSize sgx_disp_ippsECCPGetSize
  365. #define ippsECCPGetSizeStd128r1 sgx_disp_ippsECCPGetSizeStd128r1
  366. #define ippsECCPGetSizeStd128r2 sgx_disp_ippsECCPGetSizeStd128r2
  367. #define ippsECCPGetSizeStd192r1 sgx_disp_ippsECCPGetSizeStd192r1
  368. #define ippsECCPGetSizeStd224r1 sgx_disp_ippsECCPGetSizeStd224r1
  369. #define ippsECCPGetSizeStd256r1 sgx_disp_ippsECCPGetSizeStd256r1
  370. #define ippsECCPGetSizeStd384r1 sgx_disp_ippsECCPGetSizeStd384r1
  371. #define ippsECCPGetSizeStd521r1 sgx_disp_ippsECCPGetSizeStd521r1
  372. #define ippsECCPGetSizeStdSM2 sgx_disp_ippsECCPGetSizeStdSM2
  373. #define ippsECCPInit sgx_disp_ippsECCPInit
  374. #define ippsECCPInitStd128r1 sgx_disp_ippsECCPInitStd128r1
  375. #define ippsECCPInitStd128r2 sgx_disp_ippsECCPInitStd128r2
  376. #define ippsECCPInitStd192r1 sgx_disp_ippsECCPInitStd192r1
  377. #define ippsECCPInitStd224r1 sgx_disp_ippsECCPInitStd224r1
  378. #define ippsECCPInitStd256r1 sgx_disp_ippsECCPInitStd256r1
  379. #define ippsECCPInitStd384r1 sgx_disp_ippsECCPInitStd384r1
  380. #define ippsECCPInitStd521r1 sgx_disp_ippsECCPInitStd521r1
  381. #define ippsECCPInitStdSM2 sgx_disp_ippsECCPInitStdSM2
  382. #define ippsECCPSet sgx_disp_ippsECCPSet
  383. #define ippsECCPSetStd sgx_disp_ippsECCPSetStd
  384. #define ippsECCPSetStd128r1 sgx_disp_ippsECCPSetStd128r1
  385. #define ippsECCPSetStd128r2 sgx_disp_ippsECCPSetStd128r2
  386. #define ippsECCPSetStd192r1 sgx_disp_ippsECCPSetStd192r1
  387. #define ippsECCPSetStd224r1 sgx_disp_ippsECCPSetStd224r1
  388. #define ippsECCPSetStd256r1 sgx_disp_ippsECCPSetStd256r1
  389. #define ippsECCPSetStd384r1 sgx_disp_ippsECCPSetStd384r1
  390. #define ippsECCPSetStd521r1 sgx_disp_ippsECCPSetStd521r1
  391. #define ippsECCPSetStdSM2 sgx_disp_ippsECCPSetStdSM2
  392. #define ippsECCPBindGxyTblStd192r1 sgx_disp_ippsECCPBindGxyTblStd192r1
  393. #define ippsECCPBindGxyTblStd224r1 sgx_disp_ippsECCPBindGxyTblStd224r1
  394. #define ippsECCPBindGxyTblStd256r1 sgx_disp_ippsECCPBindGxyTblStd256r1
  395. #define ippsECCPBindGxyTblStd384r1 sgx_disp_ippsECCPBindGxyTblStd384r1
  396. #define ippsECCPBindGxyTblStd521r1 sgx_disp_ippsECCPBindGxyTblStd521r1
  397. #define ippsECCPBindGxyTblStdSM2 sgx_disp_ippsECCPBindGxyTblStdSM2
  398. #define ippsECCPGet sgx_disp_ippsECCPGet
  399. #define ippsECCPGetOrderBitSize sgx_disp_ippsECCPGetOrderBitSize
  400. #define ippsECCPValidate sgx_disp_ippsECCPValidate
  401. #define ippsECCPPointGetSize sgx_disp_ippsECCPPointGetSize
  402. #define ippsECCPPointInit sgx_disp_ippsECCPPointInit
  403. #define ippsECCPSetPoint sgx_disp_ippsECCPSetPoint
  404. #define ippsECCPSetPointAtInfinity sgx_disp_ippsECCPSetPointAtInfinity
  405. #define ippsECCPGetPoint sgx_disp_ippsECCPGetPoint
  406. #define ippsECCPCheckPoint sgx_disp_ippsECCPCheckPoint
  407. #define ippsECCPComparePoint sgx_disp_ippsECCPComparePoint
  408. #define ippsECCPNegativePoint sgx_disp_ippsECCPNegativePoint
  409. #define ippsECCPAddPoint sgx_disp_ippsECCPAddPoint
  410. #define ippsECCPMulPointScalar sgx_disp_ippsECCPMulPointScalar
  411. #define ippsECCPGenKeyPair sgx_disp_ippsECCPGenKeyPair
  412. #define ippsECCPPublicKey sgx_disp_ippsECCPPublicKey
  413. #define ippsECCPValidateKeyPair sgx_disp_ippsECCPValidateKeyPair
  414. #define ippsECCPSetKeyPair sgx_disp_ippsECCPSetKeyPair
  415. #define ippsECCPSharedSecretDH sgx_disp_ippsECCPSharedSecretDH
  416. #define ippsECCPSharedSecretDHC sgx_disp_ippsECCPSharedSecretDHC
  417. #define ippsECCPSignDSA sgx_disp_ippsECCPSignDSA
  418. #define ippsECCPVerifyDSA sgx_disp_ippsECCPVerifyDSA
  419. #define ippsECCPSignNR sgx_disp_ippsECCPSignNR
  420. #define ippsECCPVerifyNR sgx_disp_ippsECCPVerifyNR
  421. #define ippsECCPSignSM2 sgx_disp_ippsECCPSignSM2
  422. #define ippsECCPVerifySM2 sgx_disp_ippsECCPVerifySM2
  423. #define ippsGFpGetSize sgx_disp_ippsGFpGetSize
  424. #define ippsGFpInitArbitrary sgx_disp_ippsGFpInitArbitrary
  425. #define ippsGFpInitFixed sgx_disp_ippsGFpInitFixed
  426. #define ippsGFpInit sgx_disp_ippsGFpInit
  427. #define ippsGFpMethod_p192r1 sgx_disp_ippsGFpMethod_p192r1
  428. #define ippsGFpMethod_p224r1 sgx_disp_ippsGFpMethod_p224r1
  429. #define ippsGFpMethod_p256r1 sgx_disp_ippsGFpMethod_p256r1
  430. #define ippsGFpMethod_p384r1 sgx_disp_ippsGFpMethod_p384r1
  431. #define ippsGFpMethod_p521r1 sgx_disp_ippsGFpMethod_p521r1
  432. #define ippsGFpMethod_p256sm2 sgx_disp_ippsGFpMethod_p256sm2
  433. #define ippsGFpMethod_p256bn sgx_disp_ippsGFpMethod_p256bn
  434. #define ippsGFpMethod_p256 sgx_disp_ippsGFpMethod_p256
  435. #define ippsGFpMethod_pArb sgx_disp_ippsGFpMethod_pArb
  436. #define ippsGFpxGetSize sgx_disp_ippsGFpxGetSize
  437. #define ippsGFpxInit sgx_disp_ippsGFpxInit
  438. #define ippsGFpxInitBinomial sgx_disp_ippsGFpxInitBinomial
  439. #define ippsGFpxMethod_binom2_epid2 sgx_disp_ippsGFpxMethod_binom2_epid2
  440. #define ippsGFpxMethod_binom3_epid2 sgx_disp_ippsGFpxMethod_binom3_epid2
  441. #define ippsGFpxMethod_binom2 sgx_disp_ippsGFpxMethod_binom2
  442. #define ippsGFpxMethod_binom3 sgx_disp_ippsGFpxMethod_binom3
  443. #define ippsGFpxMethod_binom sgx_disp_ippsGFpxMethod_binom
  444. #define ippsGFpxMethod_com sgx_disp_ippsGFpxMethod_com
  445. #define ippsGFpScratchBufferSize sgx_disp_ippsGFpScratchBufferSize
  446. #define ippsGFpElementGetSize sgx_disp_ippsGFpElementGetSize
  447. #define ippsGFpElementInit sgx_disp_ippsGFpElementInit
  448. #define ippsGFpSetElement sgx_disp_ippsGFpSetElement
  449. #define ippsGFpSetElementRegular sgx_disp_ippsGFpSetElementRegular
  450. #define ippsGFpSetElementOctString sgx_disp_ippsGFpSetElementOctString
  451. #define ippsGFpSetElementRandom sgx_disp_ippsGFpSetElementRandom
  452. #define ippsGFpSetElementHash sgx_disp_ippsGFpSetElementHash
  453. #define ippsGFpSetElementHash_rmf sgx_disp_ippsGFpSetElementHash_rmf
  454. #define ippsGFpCpyElement sgx_disp_ippsGFpCpyElement
  455. #define ippsGFpGetElement sgx_disp_ippsGFpGetElement
  456. #define ippsGFpGetElementOctString sgx_disp_ippsGFpGetElementOctString
  457. #define ippsGFpCmpElement sgx_disp_ippsGFpCmpElement
  458. #define ippsGFpIsZeroElement sgx_disp_ippsGFpIsZeroElement
  459. #define ippsGFpIsUnityElement sgx_disp_ippsGFpIsUnityElement
  460. #define ippsGFpConj sgx_disp_ippsGFpConj
  461. #define ippsGFpNeg sgx_disp_ippsGFpNeg
  462. #define ippsGFpInv sgx_disp_ippsGFpInv
  463. #define ippsGFpSqrt sgx_disp_ippsGFpSqrt
  464. #define ippsGFpSqr sgx_disp_ippsGFpSqr
  465. #define ippsGFpAdd sgx_disp_ippsGFpAdd
  466. #define ippsGFpSub sgx_disp_ippsGFpSub
  467. #define ippsGFpMul sgx_disp_ippsGFpMul
  468. #define ippsGFpExp sgx_disp_ippsGFpExp
  469. #define ippsGFpMultiExp sgx_disp_ippsGFpMultiExp
  470. #define ippsGFpAdd_PE sgx_disp_ippsGFpAdd_PE
  471. #define ippsGFpSub_PE sgx_disp_ippsGFpSub_PE
  472. #define ippsGFpMul_PE sgx_disp_ippsGFpMul_PE
  473. #define ippsGFpECGetSize sgx_disp_ippsGFpECGetSize
  474. #define ippsGFpECInit sgx_disp_ippsGFpECInit
  475. #define ippsGFpECSet sgx_disp_ippsGFpECSet
  476. #define ippsGFpECSetSubgroup sgx_disp_ippsGFpECSetSubgroup
  477. #define ippsGFpECInitStd128r1 sgx_disp_ippsGFpECInitStd128r1
  478. #define ippsGFpECInitStd128r2 sgx_disp_ippsGFpECInitStd128r2
  479. #define ippsGFpECInitStd192r1 sgx_disp_ippsGFpECInitStd192r1
  480. #define ippsGFpECInitStd224r1 sgx_disp_ippsGFpECInitStd224r1
  481. #define ippsGFpECInitStd256r1 sgx_disp_ippsGFpECInitStd256r1
  482. #define ippsGFpECInitStd384r1 sgx_disp_ippsGFpECInitStd384r1
  483. #define ippsGFpECInitStd521r1 sgx_disp_ippsGFpECInitStd521r1
  484. #define ippsGFpECInitStdSM2 sgx_disp_ippsGFpECInitStdSM2
  485. #define ippsGFpECInitStdBN256 sgx_disp_ippsGFpECInitStdBN256
  486. #define ippsGFpECBindGxyTblStd192r1 sgx_disp_ippsGFpECBindGxyTblStd192r1
  487. #define ippsGFpECBindGxyTblStd224r1 sgx_disp_ippsGFpECBindGxyTblStd224r1
  488. #define ippsGFpECBindGxyTblStd256r1 sgx_disp_ippsGFpECBindGxyTblStd256r1
  489. #define ippsGFpECBindGxyTblStd384r1 sgx_disp_ippsGFpECBindGxyTblStd384r1
  490. #define ippsGFpECBindGxyTblStd521r1 sgx_disp_ippsGFpECBindGxyTblStd521r1
  491. #define ippsGFpECBindGxyTblStdSM2 sgx_disp_ippsGFpECBindGxyTblStdSM2
  492. #define ippsGFpECGet sgx_disp_ippsGFpECGet
  493. #define ippsGFpECGetSubgroup sgx_disp_ippsGFpECGetSubgroup
  494. #define ippsGFpECScratchBufferSize sgx_disp_ippsGFpECScratchBufferSize
  495. #define ippsGFpECVerify sgx_disp_ippsGFpECVerify
  496. #define ippsGFpECPointGetSize sgx_disp_ippsGFpECPointGetSize
  497. #define ippsGFpECPointInit sgx_disp_ippsGFpECPointInit
  498. #define ippsGFpECSetPointAtInfinity sgx_disp_ippsGFpECSetPointAtInfinity
  499. #define ippsGFpECSetPoint sgx_disp_ippsGFpECSetPoint
  500. #define ippsGFpECSetPointRegular sgx_disp_ippsGFpECSetPointRegular
  501. #define ippsGFpECSetPointRandom sgx_disp_ippsGFpECSetPointRandom
  502. #define ippsGFpECMakePoint sgx_disp_ippsGFpECMakePoint
  503. #define ippsGFpECSetPointHash sgx_disp_ippsGFpECSetPointHash
  504. #define ippsGFpECSetPointHash_rmf sgx_disp_ippsGFpECSetPointHash_rmf
  505. #define ippsGFpECGetPoint sgx_disp_ippsGFpECGetPoint
  506. #define ippsGFpECGetPointRegular sgx_disp_ippsGFpECGetPointRegular
  507. #define ippsGFpECTstPoint sgx_disp_ippsGFpECTstPoint
  508. #define ippsGFpECTstPointInSubgroup sgx_disp_ippsGFpECTstPointInSubgroup
  509. #define ippsGFpECCpyPoint sgx_disp_ippsGFpECCpyPoint
  510. #define ippsGFpECCmpPoint sgx_disp_ippsGFpECCmpPoint
  511. #define ippsGFpECNegPoint sgx_disp_ippsGFpECNegPoint
  512. #define ippsGFpECAddPoint sgx_disp_ippsGFpECAddPoint
  513. #define ippsGFpECMulPoint sgx_disp_ippsGFpECMulPoint
  514. #define ippsGFpECPrivateKey sgx_disp_ippsGFpECPrivateKey
  515. #define ippsGFpECPublicKey sgx_disp_ippsGFpECPublicKey
  516. #define ippsGFpECTstKeyPair sgx_disp_ippsGFpECTstKeyPair
  517. #define ippsGFpECSharedSecretDH sgx_disp_ippsGFpECSharedSecretDH
  518. #define ippsGFpECSharedSecretDHC sgx_disp_ippsGFpECSharedSecretDHC
  519. #define ippsGFpECSignDSA sgx_disp_ippsGFpECSignDSA
  520. #define ippsGFpECVerifyDSA sgx_disp_ippsGFpECVerifyDSA
  521. #define ippsGFpECSignNR sgx_disp_ippsGFpECSignNR
  522. #define ippsGFpECVerifyNR sgx_disp_ippsGFpECVerifyNR
  523. #define ippsGFpECSignSM2 sgx_disp_ippsGFpECSignSM2
  524. #define ippsGFpECVerifySM2 sgx_disp_ippsGFpECVerifySM2
  525. #ifdef __cplusplus
  526. }
  527. #endif
  528. #endif