Home
last modified time | relevance | path

Searched refs:pHash (Results 1 – 17 of 17) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpsha256stuff.h98 __INLINE void hashInit(Ipp32u* pHash, const Ipp32u* iv) in hashInit() argument
100 pHash[0] = iv[0]; in hashInit()
101 pHash[1] = iv[1]; in hashInit()
102 pHash[2] = iv[2]; in hashInit()
103 pHash[3] = iv[3]; in hashInit()
104 pHash[4] = iv[4]; in hashInit()
105 pHash[5] = iv[5]; in hashInit()
106 pHash[6] = iv[6]; in hashInit()
107 pHash[7] = iv[7]; in hashInit()
109 static void sha256_hashInit(void* pHash) in sha256_hashInit() argument
[all …]
Dpcpsm3stuff.h78 static void sm3_hashInit(void* pHash) in sm3_hashInit() argument
81 ((Ipp32u*)pHash)[0] = sm3_iv[0]; in sm3_hashInit()
82 ((Ipp32u*)pHash)[1] = sm3_iv[1]; in sm3_hashInit()
83 ((Ipp32u*)pHash)[2] = sm3_iv[2]; in sm3_hashInit()
84 ((Ipp32u*)pHash)[3] = sm3_iv[3]; in sm3_hashInit()
85 ((Ipp32u*)pHash)[4] = sm3_iv[4]; in sm3_hashInit()
86 ((Ipp32u*)pHash)[5] = sm3_iv[5]; in sm3_hashInit()
87 ((Ipp32u*)pHash)[6] = sm3_iv[6]; in sm3_hashInit()
88 ((Ipp32u*)pHash)[7] = sm3_iv[7]; in sm3_hashInit()
91 static void sm3_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sm3_hashUpdate() argument
[all …]
Dpcpsha512stuff.h108 __INLINE void hashInit(Ipp64u* pHash, const Ipp64u* iv) in hashInit() argument
110 pHash[0] = iv[0]; in hashInit()
111 pHash[1] = iv[1]; in hashInit()
112 pHash[2] = iv[2]; in hashInit()
113 pHash[3] = iv[3]; in hashInit()
114 pHash[4] = iv[4]; in hashInit()
115 pHash[5] = iv[5]; in hashInit()
116 pHash[6] = iv[6]; in hashInit()
117 pHash[7] = iv[7]; in hashInit()
119 static void sha512_hashInit(void* pHash) in sha512_hashInit() argument
[all …]
Dpcpsha1stuff.h68 static void sha1_hashInit(void* pHash) in sha1_hashInit() argument
71 ((Ipp32u*)pHash)[0] = sha1_iv[0]; in sha1_hashInit()
72 ((Ipp32u*)pHash)[1] = sha1_iv[1]; in sha1_hashInit()
73 ((Ipp32u*)pHash)[2] = sha1_iv[2]; in sha1_hashInit()
74 ((Ipp32u*)pHash)[3] = sha1_iv[3]; in sha1_hashInit()
75 ((Ipp32u*)pHash)[4] = sha1_iv[4]; in sha1_hashInit()
78 static void sha1_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha1_hashUpdate() argument
80 UpdateSHA1(pHash, pMsg, msgLen, sha1_cnt); in sha1_hashUpdate()
84 static void sha1_ni_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha1_ni_hashUpdate() argument
86 UpdateSHA1ni(pHash, pMsg, msgLen, sha1_cnt); in sha1_ni_hashUpdate()
[all …]
Dpcpmd5stuff.h90 static void md5_hashInit(void* pHash) in md5_hashInit() argument
93 ((Ipp32u*)pHash)[0] = md5_iv[0]; in md5_hashInit()
94 ((Ipp32u*)pHash)[1] = md5_iv[1]; in md5_hashInit()
95 ((Ipp32u*)pHash)[2] = md5_iv[2]; in md5_hashInit()
96 ((Ipp32u*)pHash)[3] = md5_iv[3]; in md5_hashInit()
99 static void md5_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in md5_hashUpdate() argument
101 UpdateMD5(pHash, pMsg, msgLen, md5_cnt); in md5_hashUpdate()
122 void cpFinalizeMD5(DigestMD5 pHash, const Ipp8u* inpBuffer, int inpLen, Ipp64u processedMsgLen);
Dpcphash.h150 typedef void (*cpHashProc)(void* pHash, const Ipp8u* pMsg, int msgLen, const void* pParam);
234 void UpdateSHA1 (void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
236 void UpdateSHA256(void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
238 void UpdateSHA512(void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
240 void UpdateMD5 (void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
242 void UpdateSM3 (void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
246 void UpdateSHA1ni (void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
248 void UpdateSHA256ni(void* pHash, const Ipp8u* mblk, int mlen, const void* pParam);
Dpcphashmethod_rmf.h52 typedef void (*hashInitF)(void* pHash);
53 typedef void (*hashUpdateF)(void* pHash, const Ipp8u* pMsg, int msgLen);
54 typedef void (*hashOctStrF)(Ipp8u* pDst, void* pHash);
Dpcphashca_rmf.c59 void cpFinalize_rmf(DigestSHA512 pHash, in cpFinalize_rmf() argument
82 method->hashUpdate(pHash, buffer, bufferLen); in cpFinalize_rmf()
Dpcpsha256ca.c60 void cpFinalizeSHA256(DigestSHA256 pHash, const Ipp8u* inpBuffer, int inpLen, Ipp64u processedMsgLe… in cpFinalizeSHA256() argument
87 updateFunc(pHash, buffer, bufferLen, sha256_cnt); in cpFinalizeSHA256()
Dpcphash_rmf.h75 void cpFinalize_rmf(DigestSHA512 pHash, const Ipp8u* inpBuffer, int inpLen, Ipp64u lenLo, Ipp64u le…
Dpcpaesauthgcm.h63 typedef void (*Auth_)(Ipp8u* pHash, const Ipp8u* pSrc, int len, const Ipp8u* pHKey, const void* pPa…
/external/sqlite/dist/
DAndroid.patch121 && SQLITE_OK==(rc = sqlite3Fts3InitHashTable(db, pHash, "fts3_tokenizer"))
131 + db, "fts1", &fts3Module, (void *)pHash, 0
135 + db, "fts2", &fts3Module, (void *)pHash, 0
140 db, "fts3", &fts3Module, (void *)pHash, hashDestroy
Dshell.c6107 static void idxHashInit(IdxHash *pHash){ in idxHashInit() argument
6108 memset(pHash, 0, sizeof(IdxHash)); in idxHashInit()
6114 static void idxHashClear(IdxHash *pHash){ in idxHashClear() argument
6119 for(pEntry=pHash->aHash[i]; pEntry; pEntry=pNext){ in idxHashClear()
6125 memset(pHash, 0, sizeof(IdxHash)); in idxHashClear()
6148 IdxHash *pHash, in idxHashAdd() argument
6157 for(pEntry=pHash->aHash[iHash]; pEntry; pEntry=pEntry->pHashNext){ in idxHashAdd()
6170 pEntry->pHashNext = pHash->aHash[iHash]; in idxHashAdd()
6171 pHash->aHash[iHash] = pEntry; in idxHashAdd()
6173 pEntry->pNext = pHash->pFirst; in idxHashAdd()
[all …]
Dsqlite3.c15462 FuncDef *pHash; /* Next with a different name but the same hash */ member
30235 unsigned int *pHash /* Write the hash value here */
30253 if( pHash ) *pHash = h;
102096 Hash *pHash;
102099 pHash = &db->aDb[iDb].pSchema->idxHash;
102100 pIndex = sqlite3HashInsert(pHash, zIdxName, 0);
103947 Hash *pHash;
103952 pHash = &pDb->pSchema->tblHash;
103953 for(pElem=sqliteHashFirst(pHash); pElem; pElem=sqliteHashNext(pElem)){
103959 pHash = &pDb->pSchema->idxHash;
[all …]
/external/boringssl/src/ssl/test/runner/
Dprf.go24 func pHash(result, secret, seed []byte, hash func() hash.Hash) { func
58 pHash(result, s1, labelAndSeed, hashMD5)
60 pHash(result2, s2, labelAndSeed, hashSHA1)
74 pHash(result, secret, labelAndSeed, hashFunc)
/external/sqlite/dist/orig/
Dshell.c6101 static void idxHashInit(IdxHash *pHash){ in idxHashInit() argument
6102 memset(pHash, 0, sizeof(IdxHash)); in idxHashInit()
6108 static void idxHashClear(IdxHash *pHash){ in idxHashClear() argument
6113 for(pEntry=pHash->aHash[i]; pEntry; pEntry=pNext){ in idxHashClear()
6119 memset(pHash, 0, sizeof(IdxHash)); in idxHashClear()
6142 IdxHash *pHash, in idxHashAdd() argument
6151 for(pEntry=pHash->aHash[iHash]; pEntry; pEntry=pEntry->pHashNext){ in idxHashAdd()
6164 pEntry->pHashNext = pHash->aHash[iHash]; in idxHashAdd()
6165 pHash->aHash[iHash] = pEntry; in idxHashAdd()
6167 pEntry->pNext = pHash->pFirst; in idxHashAdd()
[all …]
Dsqlite3.c15462 FuncDef *pHash; /* Next with a different name but the same hash */ member
30235 unsigned int *pHash /* Write the hash value here */
30253 if( pHash ) *pHash = h;
102080 Hash *pHash;
102083 pHash = &db->aDb[iDb].pSchema->idxHash;
102084 pIndex = sqlite3HashInsert(pHash, zIdxName, 0);
103931 Hash *pHash;
103936 pHash = &pDb->pSchema->tblHash;
103937 for(pElem=sqliteHashFirst(pHash); pElem; pElem=sqliteHashNext(pElem)){
103943 pHash = &pDb->pSchema->idxHash;
[all …]