Searched refs:digest_length (Results 1 – 12 of 12) sorted by relevance
/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 | blake2b_impl.c | 117 self->param.digest_length = digest_size; in py_blake2b_new_impl() 326 blake2b_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2b_digest_impl() 329 self->param.digest_length); in _blake2_blake2b_digest_impl() 347 blake2b_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2b_hexdigest_impl() 349 return _Py_strhex((const char *)digest, self->param.digest_length); in _blake2_blake2b_hexdigest_impl() 382 return PyLong_FromLong(self->param.digest_length); in py_blake2b_get_digest_size()
|
D | blake2s_impl.c | 117 self->param.digest_length = digest_size; in py_blake2s_new_impl() 326 blake2s_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2s_digest_impl() 329 self->param.digest_length); in _blake2_blake2s_digest_impl() 347 blake2s_final(&state_cpy, digest, self->param.digest_length); in _blake2_blake2s_hexdigest_impl() 349 return _Py_strhex((const char *)digest, self->param.digest_length); in _blake2_blake2s_hexdigest_impl() 382 return PyLong_FromLong(self->param.digest_length); in py_blake2s_get_digest_size()
|
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2s-ref.c | 85 …_LOCAL_INLINE(int) blake2s_param_set_digest_length( blake2s_param *P, const uint8_t digest_length ) in blake2s_param_set_digest_length() argument 87 P->digest_length = digest_length; in blake2s_param_set_digest_length() 173 P->digest_length = outlen; in blake2s_init() 195 P->digest_length = outlen; in blake2s_init_key()
|
D | blake2b-ref.c | 92 …_LOCAL_INLINE(int) blake2b_param_set_digest_length( blake2b_param *P, const uint8_t digest_length ) in blake2b_param_set_digest_length() argument 94 P->digest_length = digest_length; in blake2b_param_set_digest_length() 179 P->digest_length = outlen; in blake2b_init() 202 P->digest_length = outlen; in blake2b_init_key()
|
D | blake2.h | 92 uint8_t digest_length; /* 1 */ member 107 uint8_t digest_length; /* 1 */ member
|
D | blake2s.c | 108 …_LOCAL_INLINE(int) blake2s_param_set_digest_length( blake2s_param *P, const uint8_t digest_length ) in blake2s_param_set_digest_length() argument 110 P->digest_length = digest_length; in blake2s_param_set_digest_length()
|
D | blake2b.c | 121 …_LOCAL_INLINE(int) blake2b_param_set_digest_length( blake2b_param *P, const uint8_t digest_length ) in blake2b_param_set_digest_length() argument 123 P->digest_length = digest_length; in blake2b_param_set_digest_length()
|
/external/python/cpython3/Lib/test/ |
D | test_hashlib.py | 339 digest_length=None): argument 345 if digest_length: 346 self.assertEqual(len(m.digest(digest_length)), 347 digest_length) 348 self.assertEqual(len(m.hexdigest(digest_length)), 349 2*digest_length)
|
/external/toybox/toys/lsb/ |
D | md5sum.c | 257 int digest_length; in do_lib_hash() member 283 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()
|