/external/libchrome/crypto/ |
D | hmac.cc | 58 size_t digest_length) const { in Sign() 61 ScopedOpenSSLSafeSizeBuffer<EVP_MAX_MD_SIZE> result(digest, digest_length); in Sign() 78 size_t digest_length = DigestLength(); in VerifyTruncated() local 80 new unsigned char[digest_length]); in VerifyTruncated() 81 if (!Sign(data, computed_digest.get(), digest_length)) in VerifyTruncated() 85 std::min(digest.size(), digest_length)); in VerifyTruncated()
|
D | hmac.h | 70 size_t digest_length) const WARN_UNUSED_RESULT;
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2s_impl.c | 114 self->param.digest_length = digest_size; in py_blake2s_new_impl() 311 blake2s_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2s_digest_impl() 314 self->param.digest_length); in _blake2_blake2s_digest_impl() 332 blake2s_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2s_hexdigest_impl() 334 return _Py_strhex((const char *)digest, self->param.digest_length); in _blake2_blake2s_hexdigest_impl() 367 return PyLong_FromLong(self->param.digest_length); in py_blake2s_get_digest_size()
|
D | blake2b_impl.c | 114 self->param.digest_length = digest_size; in py_blake2b_new_impl() 311 blake2b_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2b_digest_impl() 314 self->param.digest_length); in _blake2_blake2b_digest_impl() 332 blake2b_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2b_hexdigest_impl() 334 return _Py_strhex((const char *)digest, self->param.digest_length); in _blake2_blake2b_hexdigest_impl() 367 return PyLong_FromLong(self->param.digest_length); in py_blake2b_get_digest_size()
|
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2b-ref.c | 85 static inline int blake2b_param_set_digest_length( blake2b_param *P, const uint8_t digest_length ) in blake2b_param_set_digest_length() argument 87 P->digest_length = digest_length; in blake2b_param_set_digest_length() 171 S->outlen = P->digest_length; in blake2b_init_param() 183 P->digest_length = ( uint8_t ) outlen; in blake2b_init() 206 P->digest_length = ( uint8_t ) outlen; in blake2b_init_key()
|
D | blake2s-ref.c | 78 static inline int blake2s_param_set_digest_length( blake2s_param *P, const uint8_t digest_length ) in blake2s_param_set_digest_length() argument 80 P->digest_length = digest_length; in blake2s_param_set_digest_length() 164 S->outlen = P->digest_length; in blake2s_init_param() 177 P->digest_length = ( uint8_t) outlen; in blake2s_init() 199 P->digest_length = ( uint8_t ) outlen; in blake2s_init_key()
|
D | blake2s.c | 115 static inline int blake2s_param_set_digest_length( blake2s_param *P, const uint8_t digest_length ) in blake2s_param_set_digest_length() argument 117 P->digest_length = digest_length; in blake2s_param_set_digest_length() 205 S->outlen = P->digest_length; in blake2s_init_param()
|
D | blake2b.c | 127 static inline int blake2b_param_set_digest_length( blake2b_param *P, const uint8_t digest_length ) in blake2b_param_set_digest_length() argument 129 P->digest_length = digest_length; in blake2b_param_set_digest_length() 218 S->outlen = P->digest_length; in blake2b_init_param()
|
D | blake2sp.c | 30 P->digest_length = outlen; in blake2sp_init_leaf() 48 P->digest_length = outlen; in blake2sp_init_root() 59 S->outlen = P->digest_length; in blake2sp_init_root()
|
D | blake2bp.c | 31 P->digest_length = outlen; in blake2bp_init_leaf() 50 P->digest_length = outlen; in blake2bp_init_root() 62 S->outlen = P->digest_length; in blake2bp_init_root()
|
D | blake2.h | 73 uint8_t digest_length; // 1 member 99 uint8_t digest_length; // 1 member
|
/external/python/cpython3/Lib/test/ |
D | test_hashlib.py | 355 digest_length=None): argument 361 if digest_length: 362 self.assertEqual(len(m.digest(digest_length)), 363 digest_length) 364 self.assertEqual(len(m.hexdigest(digest_length)), 365 2*digest_length)
|
/external/python/cpython3/Modules/clinic/ |
D | _hashopenssl.c.h | 599 Py_ssize_t digest_length; in _hashlib_hmac_digest() local 600 digest = PyUnicode_AsUTF8AndSize(args[2], &digest_length); in _hashlib_hmac_digest() 604 if (strlen(digest) != (size_t)digest_length) { in _hashlib_hmac_digest()
|
/external/toybox/toys/lsb/ |
D | md5sum.c | 255 int digest_length; in do_lib_hash() member 281 for (i = 0; i<hash->digest_length; i++) in do_lib_hash()
|
/external/webrtc/webrtc/base/ |
D | opensslstreamadapter.cc | 1052 size_t digest_length; in SSLVerifyCallback() local 1057 &digest_length)) { in SSLVerifyCallback() 1062 Buffer computed_digest(digest, digest_length); in SSLVerifyCallback()
|