Home
last modified time | relevance | path

Searched refs:hash_name (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/tools/
Dffhash.c122 const char *hash_name; in main() local
129 hash_name = argv[1]; in main()
130 out_b64 = av_strstart(hash_name, "b64:", &hash_name); in main()
131 if ((ret = av_hash_alloc(&hash, hash_name)) < 0) { in main()
134 printf("Invalid hash type: %s\n", hash_name); in main()
/third_party/python/Lib/
Dhashlib.py188 def pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None): argument
200 if not isinstance(hash_name, str):
201 raise TypeError(hash_name)
209 inner = new(hash_name)
210 outer = new(hash_name)
213 password = new(hash_name, password).digest()
/third_party/ffmpeg/libavformat/
Dhashenc.c33 char *hash_name; member
41 …{ "hash", "set hash to use", OFFSET(hash_name), AV_OPT_TYPE_STRING, {.str = defaulttype}, 0, 0, EN…
84 res = av_hash_alloc(&c->hashes[0], c->hash_name); in hash_init()
102 res = av_hash_alloc(&c->hashes[i], c->hash_name); in streamhash_init()
268 res = av_hash_alloc(&c->hashes[0], c->hash_name); in framehash_init()
/third_party/python/Modules/clinic/
D_hashopenssl.c.h880 pbkdf2_hmac_impl(PyObject *module, const char *hash_name,
892 const char *hash_name; in pbkdf2_hmac() local
907 hash_name = PyUnicode_AsUTF8AndSize(args[0], &hash_name_length); in pbkdf2_hmac()
908 if (hash_name == NULL) { in pbkdf2_hmac()
911 if (strlen(hash_name) != (size_t)hash_name_length) { in pbkdf2_hmac()
938 return_value = pbkdf2_hmac_impl(module, hash_name, &password, &salt, iterations, dklen_obj); in pbkdf2_hmac()
/third_party/ltp/tools/sparse/sparse-src/
Dtokenize.c880 static unsigned long hash_name(const char *name, int len) in hash_name() function
895 return insert_hash(ident, hash_name(ident->name, ident->len)); in hash_ident()
901 return create_hashed_ident(name, len, hash_name(name, len)); in built_in_ident()
/third_party/python/Lib/test/
Dtest_hashlib.py79 def read_vectors(hash_name): argument
80 url = URL.format(hash_name)
1051 out = pbkdf2(hash_name='sha1', password=b'password', salt=b'salt',
Dtest_hmac.py207 def _rfc4231_test_cases(self, hashfunc, hash_name, digest_size, block_size): argument
214 hashname=hash_name,
/third_party/python/Doc/library/
Dhashlib.rst240 .. function:: pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None)
245 The string *hash_name* is the desired name of the hash digest algorithm for
256 digest size of the hash algorithm *hash_name* is used, e.g. 64 for SHA-512.
/third_party/elfutils/src/
Delflint.c2415 const char *hash_name; in compare_hash_gnu_hash() local
2417 hash_name = elf_strptr (ebl->elf, shstrndx, hash_shdr->sh_name); in compare_hash_gnu_hash()
2489 hash_idx, hash_name); in compare_hash_gnu_hash()
2500 hash_idx, hash_name); in compare_hash_gnu_hash()
2524 hash_idx, hash_name); in compare_hash_gnu_hash()
2537 hash_idx, hash_name); in compare_hash_gnu_hash()
2558 hash_idx, hash_name); in compare_hash_gnu_hash()
/third_party/python/Modules/
D_hashopenssl.c1211 pbkdf2_hmac_impl(PyObject *module, const char *hash_name, in pbkdf2_hmac_impl() argument
1221 PY_EVP_MD *digest = py_digest_by_name(module, hash_name, Py_ht_pbkdf2); in pbkdf2_hmac_impl()
/third_party/libfuse/lib/
Dfuse.c787 static int hash_name(struct fuse *f, struct node *node, fuse_ino_t parentid, in hash_name() function
887 if (hash_name(f, node, parent, name) == -1) { in find_node()
1442 if (hash_name(f, node, newdir, newname) == -1) { in rename_node()
1473 if (hash_name(f, oldnode, newdir, newname) == -1) in exchange_node()
1477 if (hash_name(f, newnode, olddir, oldname) == -1) in exchange_node()
/third_party/ntfs-3g/libfuse-lite/
Dfuse.c340 static int hash_name(struct fuse *f, struct node *node, fuse_ino_t parentid, in hash_name() function
415 if (hash_name(f, node, parent, name) == -1) { in find_node()
613 if (hash_name(f, node, newdir, newname) == -1) { in rename_node()