Searched refs:MBS_RIJ128 (Results 1 – 8 of 8) sorted by relevance
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpaes_sivstuff.h | 62 __INLINE void cpAES_CMAC(Ipp8u mac[MBS_RIJ128], const Ipp8u* pSrc, int len, IppsAES_CMACState* pCtx) in cpAES_CMAC() argument 65 ippsAES_CMACFinal(mac, MBS_RIJ128, pCtx); in cpAES_CMAC() 67 __INLINE IppStatus cpAES_S2V_init(Ipp8u v[MBS_RIJ128], const Ipp8u* pKey, int keyLen, IppsAES_CMACS… in cpAES_S2V_init() argument 71 PaddBlock(0, v, MBS_RIJ128); in cpAES_S2V_init() 72 cpAES_CMAC(v, v, MBS_RIJ128, pCtx); in cpAES_S2V_init() 76 __INLINE Ipp8u* double16(Ipp8u out[MBS_RIJ128], const Ipp8u inp[MBS_RIJ128]) in double16() argument 81 for(n=0; n<MBS_RIJ128; n++) { in double16() 82 Ipp32u x = inp[MBS_RIJ128-1-n] + inp[MBS_RIJ128-1-n] + carry; in double16() 83 out[MBS_RIJ128-1-n] = (Ipp8u)x; in double16() 87 out[MBS_RIJ128-1] ^= ((Ipp8u)(0-carry) & 0x87); in double16() [all …]
|
D | pcpaes_ctr_process.h | 97 int maskPosition = (MBS_RIJ128*8-ctrBtSize)/8; in MaskCounter128() 98 Ipp8u maskValue = (Ipp8u)(0xFF >> (MBS_RIJ128*8-ctrBtSize)%8 ); in MaskCounter128() 100 Ipp8u maskIV[MBS_RIJ128]; in MaskCounter128() 102 for(n=0; n<MBS_RIJ128; n++) { in MaskCounter128() 128 IPP_BADARG_RET(((MBS_RIJ128*8)<ctrNumBitSize)||(ctrNumBitSize<1), ippStsCTRSizeErr); in cpProcessAES_ctr() 135 int maskPosition = (MBS_RIJ128*8-ctrNumBitSize)/8; in cpProcessAES_ctr() 136 Ipp8u maskValue = (Ipp8u)(0xFF >> (MBS_RIJ128*8-ctrNumBitSize)%8 ); in cpProcessAES_ctr() 138 Ipp8u maskIV[MBS_RIJ128]; in cpProcessAES_ctr() 143 for(n=maskPosition+1; n<MBS_RIJ128; n++) in cpProcessAES_ctr() 147 Ipp8u maskIV[MBS_RIJ128]; in cpProcessAES_ctr() [all …]
|
D | pcpaes_cbc.h | 88 … DecryptCBC_RIJ128pipe_AES_NI(pSrc, pDst, RIJ_NR(pCtx), RIJ_DKEYS(pCtx), nBlocks*MBS_RIJ128, pIV); in cpDecryptAES_cbc() 120 pSrc += MBS_RIJ128; in cpDecryptAES_cbc() 121 pDst += MBS_RIJ128; in cpDecryptAES_cbc() 152 pSrc += MBS_RIJ128; in cpDecryptAES_cbc() 153 pDst += MBS_RIJ128; in cpDecryptAES_cbc() 177 EncryptCBC_RIJ128_AES_NI(pSrc, pDst, RIJ_NR(pCtx), RIJ_EKEYS(pCtx), nBlocks*MBS_RIJ128, pIV); in cpEncryptAES_cbc() 208 pSrc += MBS_RIJ128; in cpEncryptAES_cbc() 209 pDst += MBS_RIJ128; in cpEncryptAES_cbc()
|
D | pcpcmac.h | 63 Ipp8u k1[MBS_RIJ128]; /* k1 subkey */ 64 Ipp8u k2[MBS_RIJ128]; /* k2 subkey */ 65 Ipp8u mBuffer[MBS_RIJ128];/* buffer */ 66 Ipp8u mMAC[MBS_RIJ128]; /* intermediate digest */
|
D | pcpaesauthccm.h | 64 Ipp8u ctr0[MBS_RIJ128]; /* counter value */ 65 Ipp8u s0[MBS_RIJ128]; /* S0 = ENC(CTR0) content */ 66 Ipp8u si[MBS_RIJ128]; /* Si = ENC(CTRi) content */ 67 Ipp8u blk[MBS_RIJ128]; /* temporary data container */ 68 Ipp8u mac[MBS_RIJ128]; /* current MAC value */
|
D | pcpaes_cmac_stuff.h | 71 PaddBlock(0, CMAC_MAC(pCtx), MBS_RIJ128); in init()
|
D | pcpaesauthgcm.h | 57 #define BLOCK_SIZE (MBS_RIJ128)
|
D | pcprij.h | 140 #define MBS_RIJ128 (128/8) /* message block size (bytes) */ macro
|