Home
last modified time | relevance | path

Searched refs:MBS_SMS4 (Results 1 – 5 of 5) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpsms4_process_ofb8.h74 Ipp32u tmpInpOut[2*MBS_SMS4/sizeof(Ipp32u)]; in cpProcessSMS4_ofb8()
80 cpSMS4_Cipher((Ipp8u*)tmpInpOut+MBS_SMS4, (Ipp8u*)tmpInpOut, SMS4_RK(pCtx)); in cpProcessSMS4_ofb8()
83 if(ofbBlkSize==MBS_SMS4) { in cpProcessSMS4_ofb8()
84 ((Ipp32u*)pDst)[0] = tmpInpOut[0+MBS_SMS4/sizeof(Ipp32u)]^((Ipp32u*)pSrc)[0]; in cpProcessSMS4_ofb8()
85 ((Ipp32u*)pDst)[1] = tmpInpOut[1+MBS_SMS4/sizeof(Ipp32u)]^((Ipp32u*)pSrc)[1]; in cpProcessSMS4_ofb8()
86 ((Ipp32u*)pDst)[2] = tmpInpOut[2+MBS_SMS4/sizeof(Ipp32u)]^((Ipp32u*)pSrc)[2]; in cpProcessSMS4_ofb8()
87 ((Ipp32u*)pDst)[3] = tmpInpOut[3+MBS_SMS4/sizeof(Ipp32u)]^((Ipp32u*)pSrc)[3]; in cpProcessSMS4_ofb8()
88 tmpInpOut[0] = tmpInpOut[0+MBS_SMS4/sizeof(Ipp32u)]; in cpProcessSMS4_ofb8()
89 tmpInpOut[1] = tmpInpOut[1+MBS_SMS4/sizeof(Ipp32u)]; in cpProcessSMS4_ofb8()
90 tmpInpOut[2] = tmpInpOut[2+MBS_SMS4/sizeof(Ipp32u)]; in cpProcessSMS4_ofb8()
[all …]
Dpcpsms4_decrypt_cbc.h89 Ipp32u iv[MBS_SMS4/sizeof(Ipp32u)]; in cpDecryptSMS4_cbc()
102 for(; dataLen>0; dataLen-=MBS_SMS4, pSrc+=MBS_SMS4, pDst+=MBS_SMS4) { in cpDecryptSMS4_cbc()
103 Ipp32u tmp[MBS_SMS4/sizeof(ipp32u)]; in cpDecryptSMS4_cbc()
Dpcpsms4authccm.h63 Ipp8u ctr0[MBS_SMS4]; /* counter value */
64 Ipp8u s0[MBS_SMS4]; /* S0 = ENC(CTR0) content */
65 Ipp8u si[MBS_SMS4]; /* Si = ENC(CTRi) content */
66 Ipp8u blk[MBS_SMS4]; /* temporary data container */
67 Ipp8u mac[MBS_SMS4]; /* current MAC value */
Dpcpsms4_encrypt_cbc.h89 Ipp32u iv[MBS_SMS4/sizeof(Ipp32u)]; in cpEncryptSMS4_cbc()
93 for(; dataLen>0; dataLen-=MBS_SMS4, pSrc+=MBS_SMS4, pDst+=MBS_SMS4) { in cpEncryptSMS4_cbc()
Dpcpsms4.h71 #define MBS_SMS4 (16) macro