/third_party/ffmpeg/tools/ |
H A D | ffhash.c | 122 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/ |
H A D | hashlib.py | 188 def pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None): 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/ |
H A D | hashenc.c | 34 char *hash_name; member 42 { "hash", "set hash to use", OFFSET(hash_name), AV_OPT_TYPE_STRING, {.str = defaulttype}, 0, 0, ENC } 92 res = av_hash_alloc(&c->hashes[0], c->hash_name); in hash_init() 110 res = av_hash_alloc(&c->hashes[i], c->hash_name); in streamhash_init() 262 res = av_hash_alloc(&c->hashes[0], c->hash_name); in framehash_init()
|
/third_party/python/Modules/clinic/ |
H A D | _hashopenssl.c.h | 870 "pbkdf2_hmac($module, /, hash_name, password, salt, iterations,\n" 880 pbkdf2_hmac_impl(PyObject *module, const char *hash_name, 888 static const char * const _keywords[] = {"hash_name", "password", "salt", "iterations", "dklen", NULL}; in pbkdf2_hmac() 892 const char *hash_name; in pbkdf2_hmac() local 903 _PyArg_BadArgument("pbkdf2_hmac", "argument 'hash_name'", "str", args[0]); in pbkdf2_hmac() 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/python/Lib/test/ |
H A D | test_hashlib.py | 85 def read_vectors(hash_name): 86 url = URL.format(hash_name) 1097 out = pbkdf2(hash_name='sha1', password=b'password', salt=b'salt',
|
H A D | test_hmac.py | 207 def _rfc4231_test_cases(self, hashfunc, hash_name, digest_size, block_size): 214 hashname=hash_name,
|
/third_party/python/Modules/ |
H A D | _hashopenssl.c | 1202 hash_name: str 1212 pbkdf2_hmac_impl(PyObject *module, const char *hash_name, in pbkdf2_hmac_impl() argument 1222 PY_EVP_MD *digest = py_digest_by_name(module, hash_name, Py_ht_pbkdf2); in pbkdf2_hmac_impl()
|
/third_party/elfutils/src/ |
H A D | elflint.c | 2415 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/libfuse/lib/ |
H A D | fuse.c | 787 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/ |
H A D | fuse.c | 340 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()
|