Home
last modified time | relevance | path

Searched refs:hashfunc (Results 1 – 25 of 88) sorted by relevance

1234

/external/python/cpython3/Lib/test/
Dtest_hmac.py130 def _rfc4231_test_cases(self, hashfunc, hash_name, digest_size, block_size): argument
133 h = hmac.HMAC(key, data, digestmod=hashfunc)
134 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc])
140 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc])
146 hmac.digest(key, data, digest=hashfunc),
147 binascii.unhexlify(hexdigests[hashfunc])
151 binascii.unhexlify(hexdigests[hashfunc])
156 hmac.digest(key, data, digest=hashfunc),
157 binascii.unhexlify(hexdigests[hashfunc])
161 binascii.unhexlify(hexdigests[hashfunc])
/external/python/cpython2/Lib/test/
Dtest_hmac.py81 def _rfc4231_test_cases(self, hashfunc): argument
83 h = hmac.HMAC(key, data, digestmod=hashfunc)
84 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc])
/external/python/cpython2/Doc/includes/
Dtypestruct.h23 hashfunc tp_hash;
/external/python/cpython3/Doc/includes/
Dtypestruct.h24 hashfunc tp_hash;
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c422 (hashfunc) EventRef_hash, /*tp_hash*/
643 (hashfunc) EventQueueRef_hash, /*tp_hash*/
773 (hashfunc) EventLoopRef_hash, /*tp_hash*/
921 (hashfunc) EventLoopTimerRef_hash, /*tp_hash*/
1113 (hashfunc) EventHandlerRef_hash, /*tp_hash*/
1246 (hashfunc) EventHandlerCallRef_hash, /*tp_hash*/
1401 (hashfunc) EventTargetRef_hash, /*tp_hash*/
1531 (hashfunc) EventHotKeyRef_hash, /*tp_hash*/
/external/libcups/cups/
Darray.c57 cups_ahash_func_t hashfunc; /* Hash function */ member
470 hash = (*(a->hashfunc))(e, a->data); in cupsArrayFind()
761 a->hashfunc = h; in cupsArrayNew3()
/external/python/cpython3/Modules/_sqlite/
Drow.c247 (hashfunc)pysqlite_row_hash, /* tp_hash */
/external/python/cpython2/Mac/Modules/ibcarbon/
D_IBCarbon.c181 (hashfunc) IBNibRefObj_hash, /*tp_hash*/
/external/python/cpython2/Modules/_sqlite/
Drow.c250 (hashfunc)pysqlite_row_hash, /* tp_hash */
/external/python/cpython2/Include/
Dobject.h314 typedef long (*hashfunc)(PyObject *); typedef
346 hashfunc tp_hash;
/external/python/cpython3/Include/
Dobject.h333 typedef Py_hash_t (*hashfunc)(PyObject *); typedef
369 hashfunc tp_hash;
/external/python/cpython3/Python/
Dsysmodule.c974 PyHash_FuncDef *hashfunc; in get_hash_info() local
978 hashfunc = PyHash_GetFuncDef(); in get_hash_info()
990 PyUnicode_FromString(hashfunc->name)); in get_hash_info()
992 PyLong_FromLong(hashfunc->hash_bits)); in get_hash_info()
994 PyLong_FromLong(hashfunc->seed_bits)); in get_hash_info()
/external/python/cpython2/Modules/
D_csv.c490 (hashfunc)0, /* tp_hash */
904 (hashfunc)0, /*tp_hash*/
1332 (hashfunc)0, /*tp_hash*/
/external/python/cpython3/Objects/
Dmethodobject.c282 (hashfunc)meth_hash, /* tp_hash */
Dclassobject.c340 (hashfunc)method_hash, /* tp_hash */
/external/python/cpython3/Modules/
D_csv.c479 (hashfunc)0, /* tp_hash */
912 (hashfunc)0, /*tp_hash*/
1340 (hashfunc)0, /*tp_hash*/
/external/python/cpython2/Objects/
Dsliceobject.c389 (hashfunc)slice_hash, /* tp_hash */
Dmethodobject.c295 (hashfunc)meth_hash, /* tp_hash */
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c299 (hashfunc) CmpInstObj_hash, /*tp_hash*/
737 (hashfunc) CmpObj_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c445 (hashfunc) CFTypeRefObj_hash, /*tp_hash*/
656 (hashfunc) CFArrayRefObj_hash, /*tp_hash*/
896 (hashfunc) CFMutableArrayRefObj_hash, /*tp_hash*/
1089 (hashfunc) CFDictionaryRefObj_hash, /*tp_hash*/
1266 (hashfunc) CFMutableDictionaryRefObj_hash, /*tp_hash*/
1497 (hashfunc) CFDataRefObj_hash, /*tp_hash*/
1762 (hashfunc) CFMutableDataRefObj_hash, /*tp_hash*/
2505 (hashfunc) CFStringRefObj_hash, /*tp_hash*/
2893 (hashfunc) CFMutableStringRefObj_hash, /*tp_hash*/
3545 (hashfunc) CFURLRefObj_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/scrap/
D_Scrapmodule.c249 (hashfunc) ScrapObj_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/
Dicgluemodule.c410 (hashfunc)0, /*tp_hash*/
DMacOS.c274 (hashfunc)0, /*tp_hash*/
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c226 (hashfunc) SndCh_hash, /*tp_hash*/
394 (hashfunc) SPBObj_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c510 (hashfunc) FSCatalogInfo_hash, /*tp_hash*/
698 (hashfunc) FInfo_hash, /*tp_hash*/
1050 (hashfunc) Alias_hash, /*tp_hash*/
1510 (hashfunc) FSSpec_hash, /*tp_hash*/
2097 (hashfunc) FSRef_hash, /*tp_hash*/

1234