Home
last modified time | relevance | path

Searched refs:md_len (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/base/
Dopenssldigest.cc51 unsigned int md_len; in Finish() local
52 EVP_DigestFinal_ex(&ctx_, static_cast<unsigned char*>(buf), &md_len); in Finish()
54 ASSERT(md_len == Size()); in Finish()
55 return md_len; in Finish()
/external/boringssl/src/fipstools/
Dcavp_sha_test.cc41 const size_t md_len = EVP_MD_size(md); in TestSHA() local
45 md_len != strtoul(out_len.c_str(), nullptr, 0)) { in TestSHA()
64 out.resize(md_len); in TestSHA()
Dcavp_sha_monte_test.cc42 const size_t md_len = EVP_MD_size(md); in TestSHAMonte() local
46 md_len != strtoul(out_len.c_str(), nullptr, 0)) { in TestSHAMonte()
52 seed.size() != md_len) { in TestSHAMonte()
Dcavp_hmac_test.cc32 const size_t md_len = strtoul(md_len_str.c_str(), nullptr, 0); in TestHMAC() local
35 switch (md_len) { in TestHMAC()
/external/boringssl/src/crypto/evp/
Dpbkdf.c70 size_t md_len = EVP_MD_size(digest); in PKCS5_PBKDF2_HMAC() local
80 size_t todo = md_len; in PKCS5_PBKDF2_HMAC()
104 !HMAC_Update(&hctx, digest_tmp, md_len) || in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c77 sha->md_len = SHA224_DIGEST_LENGTH; in SHA224_Init()
91 sha->md_len = SHA256_DIGEST_LENGTH; in SHA256_Init()
139 switch ((c)->md_len) { \
153 if ((c)->md_len > SHA256_DIGEST_LENGTH) { \
156 for (nn = 0; nn < (c)->md_len / 4; nn++) { \
Dsha512.c86 sha->md_len = SHA384_DIGEST_LENGTH; in SHA384_Init()
104 sha->md_len = SHA512_DIGEST_LENGTH; in SHA512_Init()
230 switch (sha->md_len) { in SHA512_Final()
/external/boringssl/src/include/openssl/
Dsha.h186 unsigned num, md_len; member
248 unsigned num, md_len; member
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c279 size_t md_len = EVP_MD_size(md); in PKCS1_MGF1() local
293 if (md_len <= len) { in PKCS1_MGF1()
297 out += md_len; in PKCS1_MGF1()
298 len -= md_len; in PKCS1_MGF1()
/external/boringssl/src/
DAPI-CONVENTIONS.md125 unsigned md_len;
131 EVP_DigestFinal_ex(&ctx, md, &md_len);
146 unsigned md_len;
150 !EVP_DigestFinal_ex(&ctx, md, &md_len) {
/external/python/cpython3/Modules/
D_hashopenssl.c876 unsigned int md_len = 0; in _hashlib_hmac_digest_impl() local
901 md, &md_len in _hashlib_hmac_digest_impl()
909 return PyBytes_FromStringAndSize((const char*)md, md_len); in _hashlib_hmac_digest_impl()
/external/boringssl/src/tool/
Dspeed.cc448 unsigned int md_len; in SpeedHashChunk() local
452 EVP_DigestFinal_ex(ctx.get(), digest, &md_len); in SpeedHashChunk()
/external/python/cpython3/Lib/test/
Dtest_hashlib.py604 def blake2_rfc7693(self, constructor, md_len, in_len): argument
616 for outlen in md_len:
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c3661 int sg_fd, k, num, len, md_len, bd_len, longlba, page_num; in show_scsi_modes() local
3731 md_len = rsp_buff[0] + 1; in show_scsi_modes()
3738 md_len = (rsp_buff[0] << 8) + rsp_buff[1] + 2; in show_scsi_modes()
3747 " param=0x%.2x, longlba=%d\n", md_len, medium_type, in show_scsi_modes()
3749 if (md_len > rsp_buff_size) { in show_scsi_modes()
3753 md_len = rsp_buff_size; in show_scsi_modes()
3785 md_len -= bd_len + headerlen; /* length of mode page(s) */ in show_scsi_modes()
3786 while (md_len > 0) { /* got mode page(s) */ in show_scsi_modes()
3825 md_len -= len; in show_scsi_modes()