/third_party/libcoap/src/ |
H A D | coap_cache.c | 80 coap_digest_t digest; in coap_cache_derive_key_w_ignore() local 123 if (!coap_digest_final(dctx, &digest)) { in coap_cache_derive_key_w_ignore() 129 memcpy(cache_key->key, digest.key, sizeof(cache_key->key)); in coap_cache_derive_key_w_ignore()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | spkac.c | 49 {"digest", OPT_DIGEST, 's', "Sign new SPKAC with the specified digest (default: MD5)" }, 70 const char *digest = "MD5"; in spkac_main() local 123 digest = opt_arg(); in spkac_main() 146 if (!opt_md(digest, &md)) in spkac_main()
|
/third_party/openssl/apps/ |
H A D | spkac.c | 49 {"digest", OPT_DIGEST, 's', "Sign new SPKAC with the specified digest (default: MD5)" }, 70 const char *digest = "MD5"; in spkac_main() local 123 digest = opt_arg(); in spkac_main() 146 if (!opt_md(digest, &md)) in spkac_main()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
H A D | font.h | 152 void SetDigest(std::vector<uint8_t>* digest); 237 // Gets a copy of the fonts digest that was created when the font was read. If 238 // no digest was set at creation time then the return result will be null. 239 std::vector<uint8_t>* digest() { return &digest_; } in digest() function in sfntly::Font 300 // @param digest the computed digest for the font; null if digest was not 302 // Note: Current C++ port does not support SHA digest validation. 303 Font(int32_t sfnt_version, std::vector<uint8_t>* digest);
|
/third_party/skia/tools/ |
H A D | get_images_from_skps.cpp | 55 SkMD5::Digest digest = md5.finish(); in sniff() local 57 if (gSeen.contains(digest)) { in sniff() 60 gSeen.add(digest); in sniff()
|
/third_party/toybox/scripts/ |
H A D | mkflags.c | 82 struct flag *digest(char *string) in digest() function 199 flist = digest(flags); in main() 200 offlist = aflist = digest(allflags); in main()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | pkcs7.rs | 50 pub digest: *mut ASN1_OCTET_STRING, 106 pub digest: *mut PKCS7_DIGEST, 219 digest: *const EVP_MD, in PKCS7_add_signature()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_negative.h | 256 // If there a valid embedded XMP block, has is its digest? NULL if no valid 745 // MD5 digest of original raw file data block. 820 // Keep a separate digest for the compressed JPEG data, if any. 1695 void SetRawImageDigest (const dng_fingerprint &digest) in SetRawImageDigest() argument 1697 fRawImageDigest = digest; in SetRawImageDigest() 1700 void SetNewRawImageDigest (const dng_fingerprint &digest) in SetNewRawImageDigest() argument 1702 fNewRawImageDigest = digest; in SetNewRawImageDigest() 1789 // API for original raw file data digest. 1791 void SetOriginalRawFileDigest (const dng_fingerprint &digest) in SetOriginalRawFileDigest() argument 1793 fOriginalRawFileDigest = digest; in SetOriginalRawFileDigest() 2248 SetRawJPEGImageDigest(const dng_fingerprint &digest) SetRawJPEGImageDigest() argument [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 370 ASN1_OCTET_STRING *digest; in process_certConf() local 383 if ((digest = X509_digest_sig(ctx->certOut, NULL, NULL)) == NULL) in process_certConf() 385 if (ASN1_OCTET_STRING_cmp(certHash, digest) != 0) { in process_certConf() 386 ASN1_OCTET_STRING_free(digest); in process_certConf() 390 ASN1_OCTET_STRING_free(digest); in process_certConf()
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | x942kdf.c | 39 PROV_DIGEST digest; member 351 ossl_prov_digest_reset(&ctx->digest); in x942kdf_reset() 387 const EVP_MD *md = ossl_prov_digest_md(&ctx->digest); in x942kdf_size() 434 md = ossl_prov_digest_md(&ctx->digest); in x942kdf_derive() 479 if (!ossl_prov_digest_load_from_params(&ctx->digest, params, provctx)) in x942kdf_set_ctx_params()
|
H A D | hkdf.c | 75 PROV_DIGEST digest; member 119 ossl_prov_digest_reset(&ctx->digest); in kdf_hkdf_reset() 133 const EVP_MD *md = ossl_prov_digest_md(&ctx->digest); in kdf_hkdf_size() 159 md = ossl_prov_digest_md(&ctx->digest); in kdf_hkdf_derive() 198 if (!ossl_prov_digest_load_from_params(&ctx->digest, params, libctx)) in hkdf_common_set_ctx_params() 689 md = ossl_prov_digest_md(&ctx->digest); in kdf_tls1_3_derive()
|
/third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 37 PROV_DIGEST digest; /* H(x) = hash(x) */ member 311 ossl_prov_digest_reset(&hmac->digest); in drbg_hmac_free() 336 md = ossl_prov_digest_md(&hmac->digest); in drbg_hmac_get_ctx_params() 363 if (!ossl_prov_digest_load_from_params(&hmac->digest, params, libctx)) in drbg_hmac_set_ctx_params() 367 * Confirm digest is allowed. We allow all digests that are not XOF in drbg_hmac_set_ctx_params() 371 md = ossl_prov_digest_md(&hmac->digest); in drbg_hmac_set_ctx_params()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x509_cmp.c | 43 EVP_MD *digest = NULL; in X509_issuer_and_serial_hash() local 50 digest = EVP_MD_fetch(a->libctx, SN_md5, a->propq); in X509_issuer_and_serial_hash() 51 if (digest == NULL) in X509_issuer_and_serial_hash() 54 if (!EVP_DigestInit_ex(ctx, digest, NULL)) in X509_issuer_and_serial_hash() 69 EVP_MD_free(digest); in X509_issuer_and_serial_hash()
|
/third_party/node/deps/openssl/openssl/crypto/engine/ |
H A D | eng_openssl.c | 71 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 394 static int openssl_digests(ENGINE *e, const EVP_MD **digest, in openssl_digests() argument 397 if (!digest) { in openssl_digests() 401 /* We are being asked for a specific digest */ in openssl_digests() 403 *digest = test_sha_md(); in openssl_digests() 409 *digest = NULL; in openssl_digests()
|
/third_party/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 370 ASN1_OCTET_STRING *digest; in process_certConf() local 383 if ((digest = X509_digest_sig(ctx->certOut, NULL, NULL)) == NULL) in process_certConf() 385 if (ASN1_OCTET_STRING_cmp(certHash, digest) != 0) { in process_certConf() 386 ASN1_OCTET_STRING_free(digest); in process_certConf() 390 ASN1_OCTET_STRING_free(digest); in process_certConf()
|
/third_party/openssl/crypto/engine/ |
H A D | eng_openssl.c | 71 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 394 static int openssl_digests(ENGINE *e, const EVP_MD **digest, in openssl_digests() argument 397 if (!digest) { in openssl_digests() 401 /* We are being asked for a specific digest */ in openssl_digests() 403 *digest = test_sha_md(); in openssl_digests() 409 *digest = NULL; in openssl_digests()
|
/third_party/openssl/crypto/x509/ |
H A D | x509_cmp.c | 43 EVP_MD *digest = NULL; in X509_issuer_and_serial_hash() local 50 digest = EVP_MD_fetch(a->libctx, SN_md5, a->propq); in X509_issuer_and_serial_hash() 51 if (digest == NULL) in X509_issuer_and_serial_hash() 54 if (!EVP_DigestInit_ex(ctx, digest, NULL)) in X509_issuer_and_serial_hash() 69 EVP_MD_free(digest); in X509_issuer_and_serial_hash()
|
/third_party/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 37 PROV_DIGEST digest; /* H(x) = hash(x) */ member 311 ossl_prov_digest_reset(&hmac->digest); in drbg_hmac_free() 336 md = ossl_prov_digest_md(&hmac->digest); in drbg_hmac_get_ctx_params() 363 if (!ossl_prov_digest_load_from_params(&hmac->digest, params, libctx)) in drbg_hmac_set_ctx_params() 367 * Confirm digest is allowed. We allow all digests that are not XOF in drbg_hmac_set_ctx_params() 371 md = ossl_prov_digest_md(&hmac->digest); in drbg_hmac_set_ctx_params()
|
/third_party/openssl/providers/implementations/kdfs/ |
H A D | x942kdf.c | 39 PROV_DIGEST digest; member 351 ossl_prov_digest_reset(&ctx->digest); in x942kdf_reset() 387 const EVP_MD *md = ossl_prov_digest_md(&ctx->digest); in x942kdf_size() 434 md = ossl_prov_digest_md(&ctx->digest); in x942kdf_derive() 479 if (!ossl_prov_digest_load_from_params(&ctx->digest, params, provctx)) in x942kdf_set_ctx_params()
|
H A D | hkdf.c | 75 PROV_DIGEST digest; member 119 ossl_prov_digest_reset(&ctx->digest); in kdf_hkdf_reset() 133 const EVP_MD *md = ossl_prov_digest_md(&ctx->digest); in kdf_hkdf_size() 159 md = ossl_prov_digest_md(&ctx->digest); in kdf_hkdf_derive() 198 if (!ossl_prov_digest_load_from_params(&ctx->digest, params, libctx)) in hkdf_common_set_ctx_params() 689 md = ossl_prov_digest_md(&ctx->digest); in kdf_tls1_3_derive()
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyMap.java | 229 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in hash() 231 digest.update((byte) key.hashCode()); in hash() 232 digest.update((byte) table.get(key).hashCode()); in hash() 234 return context.runtime.newString(new ByteList(digest.digest())); in hash()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | pkcs5.rs | 35 digest: MessageDigest, in bytes_to_key() 55 let digest = digest.as_ptr(); in bytes_to_key() 59 digest, in bytes_to_key() 76 digest, in bytes_to_key() 89 /// Derives a key from a password and salt using the PBKDF2-HMAC algorithm with a digest function.
|
/third_party/python/Modules/ |
H A D | md5module.c | 41 /* The MD5 block size and message digest sizes, in bytes */ 268 Terminate the hash to get the digest 387 MD5Type.digest 389 Return the digest value as a bytes object. 396 unsigned char digest[MD5_DIGESTSIZE]; in MD5Type_digest_impl() local 400 md5_done(&temp, digest); in MD5Type_digest_impl() 401 return PyBytes_FromStringAndSize((const char *)digest, MD5_DIGESTSIZE); in MD5Type_digest_impl() 407 Return the digest value as a string of hexadecimal digits. 414 unsigned char digest[MD5_DIGESTSIZE]; in MD5Type_hexdigest_impl() local 417 /* Get the raw (binary) digest valu in MD5Type_hexdigest_impl() [all...] |
/third_party/node/tools/ |
H A D | release.sh | 124 gpg --default-key "$gpgkey" --clearsign --digest-algo SHA256 "${tmpdir}/${shafile}" 125 gpg --default-key "$gpgkey" --detach-sign --digest-algo SHA256 "${tmpdir}/${shafile}"
|
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/bundler/ |
H A D | bundle.js | 47 const digest = util_1.crypto.hash(artifact.data); 49 digest,
|