/third_party/python/Lib/ |
D | hmac.py | 24 digest_size = None variable 68 self.digest_size = self._hmac.digest_size 82 self.digest_size = self._inner.digest_size 129 other.digest_size = self.digest_size
|
D | hashlib.py | 230 dklen = outer.digest_size 246 dkey += rkey.to_bytes(inner.digest_size, 'big')
|
/third_party/python/Lib/test/ |
D | test_hmac.py | 43 self, h, digest, hashname, digest_size, block_size argument 48 self.assertEqual(h.digest_size, digest_size) 52 self, key, data, digest, hashfunc, hashname, digest_size, block_size argument 56 h, digest, hashname, digest_size, block_size 61 h, digest, hashname, digest_size, block_size 72 h, digest, hashname, digest_size, block_size 98 h, digest, hashname, digest_size, block_size 104 h, digest, hashname, digest_size, block_size 116 h, digest, hashname, digest_size, block_size 122 h, digest, hashname, digest_size, block_size [all …]
|
D | test_hashlib.py | 365 self.assertEqual(len(digest), m.digest_size) 394 def check_blocksize_name(self, name, block_size=0, digest_size=0, argument 400 self.assertEqual(m.digest_size, digest_size) 407 self.assertEqual(len(m.digest()), digest_size) 408 self.assertEqual(len(m.hexdigest()), 2*digest_size) 592 digest_size, max_offset): argument 605 self.assertEqual(constructor.MAX_DIGEST_SIZE, digest_size) 606 for i in range(1, digest_size + 1): 607 constructor(digest_size=i) 608 self.assertRaises(ValueError, constructor, digest_size=-1) [all …]
|
D | time_hashlib.py | 87 test_scaled_msg(scale=creatorFunc().digest_size, name='[digest_size data]')
|
/third_party/mindspore/mindspore/ccsrc/utils/system/ |
D | sha256.cc | 84 …ocessInner(const std::string &message, const int &bias, uint32_t *digest, const int &digest_size) { in ProcessInner() argument 85 if (digest_size != 8) { // The number of digests is fixed at 8 in ProcessInner() 99 std::vector<uint32_t> hash(digest_size); in ProcessInner() 100 size_t mem_size = digest_size * sizeof(uint32_t); in ProcessInner() 108 for (int j = digest_size - 1; j >= 0; --j) { in ProcessInner() 118 for (int i = 0; i < digest_size; ++i) { in ProcessInner()
|
D | sha256.h | 36 …rocessInner(const std::string &message, const int &bias, uint32_t *digest, const int &digest_size);
|
/third_party/python/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 15 py_blake2b_new_impl(PyTypeObject *type, PyObject *data, int digest_size, 32 int digest_size = BLAKE2B_OUTBYTES; in py_blake2b_new() local 59 digest_size = _PyLong_AsInt(fastargs[1]); in py_blake2b_new() 60 if (digest_size == -1 && PyErr_Occurred()) { in py_blake2b_new() 169 …return_value = py_blake2b_new_impl(type, data, digest_size, &key, &salt, &person, fanout, depth, l… in py_blake2b_new()
|
D | blake2s_impl.c.h | 15 py_blake2s_new_impl(PyTypeObject *type, PyObject *data, int digest_size, 32 int digest_size = BLAKE2S_OUTBYTES; in py_blake2s_new() local 59 digest_size = _PyLong_AsInt(fastargs[1]); in py_blake2s_new() 60 if (digest_size == -1 && PyErr_Occurred()) { in py_blake2s_new() 169 …return_value = py_blake2s_new_impl(type, data, digest_size, &key, &salt, &person, fanout, depth, l… in py_blake2s_new()
|
/third_party/python/Modules/ |
D | _hashopenssl.c | 510 unsigned int digest_size; in EVP_digest_impl() local 521 digest_size = EVP_MD_CTX_size(temp_ctx); in EVP_digest_impl() 527 retval = PyBytes_FromStringAndSize((const char *)digest, digest_size); in EVP_digest_impl() 544 unsigned int digest_size; in EVP_hexdigest_impl() local 556 digest_size = EVP_MD_CTX_size(temp_ctx); in EVP_hexdigest_impl() 564 return _Py_strhex((const char *)digest, (Py_ssize_t)digest_size); in EVP_hexdigest_impl() 1570 unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx)); in _hmac_digest_size() local 1571 assert(digest_size <= EVP_MAX_MD_SIZE); in _hmac_digest_size() 1572 return digest_size; in _hmac_digest_size() 1713 unsigned int digest_size = _hmac_digest_size(self); in _hashlib_HMAC_digest_impl() local [all …]
|
/third_party/python/Modules/_blake2/ |
D | blake2s_impl.c | 88 py_blake2s_new_impl(PyTypeObject *type, PyObject *data, int digest_size, in py_blake2s_new_impl() argument 107 if (digest_size <= 0 || digest_size > BLAKE2S_OUTBYTES) { in py_blake2s_new_impl() 113 self->param.digest_length = digest_size; in py_blake2s_new_impl()
|
D | blake2b_impl.c | 89 py_blake2b_new_impl(PyTypeObject *type, PyObject *data, int digest_size, in py_blake2b_new_impl() argument 108 if (digest_size <= 0 || digest_size > BLAKE2B_OUTBYTES) { in py_blake2b_new_impl() 114 self->param.digest_length = digest_size; in py_blake2b_new_impl()
|
/third_party/python/Doc/library/ |
D | hashlib.rst | 103 >>> m.digest_size 153 .. data:: hash.digest_size 192 This is a bytes object of size :attr:`digest_size` which may contain bytes in 324 .. function:: blake2b(data=b'', *, digest_size=64, key=b'', salt=b'', \ 329 .. function:: blake2s(data=b'', *, digest_size=32, key=b'', salt=b'', \ 341 * *digest_size*: size of output digest in bytes. 355 Hash digest_size len(key) len(salt) len(person) 474 >>> h = blake2b(digest_size=20) 478 >>> h.digest_size 488 >>> blake2b(digest_size=10).hexdigest() [all …]
|
D | hmac.rst | 66 This bytes object will be the same length as the *digest_size* of the digest 100 .. attribute:: HMAC.digest_size
|
/third_party/boost/libs/beast/include/boost/beast/core/detail/ |
D | sha1.hpp | 42 static unsigned int constexpr digest_size = 20; member
|
/third_party/boost/boost/beast/core/detail/ |
D | sha1.hpp | 42 static unsigned int constexpr digest_size = 20; member
|
/third_party/gstreamer/gstplugins_bad/ext/webrtc/ |
D | webrtcsdp.c | 650 gsize decoded_length, digest_size; in _generate_fingerprint_from_certificate() local 670 digest_size = g_checksum_type_get_length (checksum_type); in _generate_fingerprint_from_certificate() 671 digest = g_new (guint8, digest_size); in _generate_fingerprint_from_certificate() 673 g_checksum_get_digest (checksum, digest, &digest_size); in _generate_fingerprint_from_certificate() 678 for (i = 0; i < digest_size; i++) { in _generate_fingerprint_from_certificate()
|
/third_party/boost/libs/beast/test/beast/core/ |
D | _detail_sha1.cpp | 57 result.resize(sha1_context::digest_size); in check()
|
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/ |
D | hybi13.ipp | 50 char digest[beast::detail::sha1_context::digest_size];
|
/third_party/boost/boost/beast/websocket/detail/ |
D | hybi13.ipp | 50 char digest[beast::detail::sha1_context::digest_size];
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_nettle.c | 66 alg->digest(ctx, alg->digest_size, mac); in nettle_digest_vector()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_nettle.c | 66 alg->digest(ctx, alg->digest_size, mac); in nettle_digest_vector()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | xcodeproj_file.py | 447 assert hash.digest_size % 4 == 0 448 digest_int_count = hash.digest_size / 4
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | xcodeproj_file.py | 459 assert hash.digest_size % 4 == 0 460 digest_int_count = hash.digest_size // 4
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 932 attributes (and the formal documentation of the :attr:`~hmac.HMAC.digest_size`
|