Home
last modified time | relevance | path

Searched refs:digests (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd-head/lib/libsecureboot/efi/
HDefi_variables.c171 hash_data *digests; in efi_get_forbidden_digests() local
181 digests = NULL; in efi_get_forbidden_digests()
227 digests = realloc(digests, in efi_get_forbidden_digests()
229 if (digests == NULL) { in efi_get_forbidden_digests()
234 digests[digest_count].data = malloc(hash_size); in efi_get_forbidden_digests()
235 if (digests[digest_count].data == NULL) in efi_get_forbidden_digests()
238 memcpy(digests[digest_count].data, in efi_get_forbidden_digests()
241 digests[digest_count].hash_size = hash_size; in efi_get_forbidden_digests()
251 return (digests); in efi_get_forbidden_digests()
255 xfree(digests[digest_count].data); in efi_get_forbidden_digests()
[all …]
HDefi_init.c37 hash_data *digests; in ve_efi_init() local
61 digests = efi_get_forbidden_digests(&num); in ve_efi_init()
62 if (num > 0 && digests != NULL) { in ve_efi_init()
63 ve_forbidden_digest_add(digests, num); in ve_efi_init()
68 xfree(digests); in ve_efi_init()
/freebsd-head/crypto/openssl/crypto/engine/
HDtb_digest.c29 if (e->digests) { in ENGINE_register_digests()
31 int num_nids = e->digests(e, NULL, &nids, 0); in ENGINE_register_digests()
50 if (e->digests) { in ENGINE_set_default_digests()
52 int num_nids = e->digests(e, NULL, &nids, 0); in ENGINE_set_default_digests()
87 return e->digests; in ENGINE_get_digests()
93 e->digests = f; in ENGINE_set_digests()
/freebsd-head/crypto/openssh/
HDdigest-openssl.c58 const struct ssh_digest digests[] = { variable
72 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg()
74 if (digests[alg].mdfunc == NULL) in ssh_digest_by_alg()
76 return &(digests[alg]); in ssh_digest_by_alg()
84 for (alg = 0; digests[alg].id != -1; alg++) { in ssh_digest_alg_by_name()
85 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name()
86 return digests[alg].id; in ssh_digest_alg_by_name()
HDdigest-libc.c74 const struct ssh_digest digests[SSH_DIGEST_MAX] = { variable
132 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg()
134 return &(digests[alg]); in ssh_digest_by_alg()
143 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name()
144 return digests[alg].id; in ssh_digest_alg_by_name()
/freebsd-head/crypto/heimdal/kdc/
HDdefault_config.c80 const char *digests; in krb5_kdc_get_config() local
82 digests = krb5_config_get_string(context, NULL, in krb5_kdc_get_config()
85 if (digests == NULL) in krb5_kdc_get_config()
86 digests = "ntlm-v2"; in krb5_kdc_get_config()
87 c->digests_allowed = parse_flags(digests,_kdc_digestunits, 0); in krb5_kdc_get_config()
91 digests); in krb5_kdc_get_config()
96 digests); in krb5_kdc_get_config()
/freebsd-head/sbin/md5/tests/
HDmd5_test.sh351 done >digests
365 sha256sum -c digests
367 sha256sum --ignore-missing -c digests
384 cat >digests <<EOF
391 atf_check sha1sum --quiet --check digests
/freebsd-head/crypto/openssl/doc/man3/
HDEVP_DigestVerifyInit.pod43 The OpenSSL default and legacy providers support fetching digests and can fetch
44 those digests from any available provider. The OpenSSL FIPS provider also
45 supports fetching digests but will only fetch digests that are themselves
64 Not all digests can be used for all key types. The following combinations apply.
78 Supports no digests (the digest B<type> must be NULL)
91 Support no digests (the digest B<type> must be NULL)
147 and public key algorithms. This meant that "clone" digests such as EVP_dss1()
HDEVP_DigestSignInit.pod44 The OpenSSL default and legacy providers support fetching digests and can fetch
45 those digests from any available provider. The OpenSSL FIPS provider also
46 supports fetching digests but will only fetch digests that are themselves
73 Not all digests can be used for all key types. The following combinations apply.
87 Supports no digests (the digest I<type> must be NULL)
100 Support no digests (the digest I<type> must be NULL)
158 and public key algorithms. This meant that "clone" digests such as EVP_dss1()
HDSSL_library_init.pod18 SSL_library_init() registers the available SSL/TLS ciphers and digests.
30 SSL_library_init() adds ciphers and digests used directly and indirectly by
HDBIO_f_md.pod22 BIO that digests any data passed through it. It is a BIO wrapper
97 The next example digests data by reading through a chain instead:
115 This next example retrieves the message digests from a BIO chain and
145 the data passed through and that digests should be retrieved using a
HDOpenSSL_add_all_algorithms.pod29 OpenSSL_add_all_algorithms() adds all algorithms to the table (digests and
35 In versions prior to 1.1.0 EVP_cleanup() removed all ciphers and digests from
HDEVP_PKEY_get_default_digest_nid.pod40 both return 1 if the message digest is advisory (that is other digests
41 can be used) and 2 if it is mandatory (other digests can not be used).
/freebsd-head/crypto/openssl/test/
HDCAtsa.cnf138 digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
164 digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
/freebsd-head/contrib/ntp/tests/libntp/data/
HDntp.keys8 # tests/libntp/digests.c similarly hardcodes the list of digests
/freebsd-head/crypto/openssl/crypto/objects/
HDobj_xref.txt3 # and digests.
55 # ECDH KDFs and their corresponding message digests and schemes
/freebsd-head/crypto/openssl/providers/implementations/
HDbuild.info1 SUBDIRS=digests ciphers rands macs kdfs exchange keymgmt signature asymciphers \
/freebsd-head/crypto/openssl/doc/man7/
HDevp.pod26 functions. The L<B<EVP_Digest>I<XXX>|EVP_DigestInit(3)> functions provide message digests.
69 All the symmetric algorithms (ciphers), digests and asymmetric algorithms
71 implementations. If ENGINE implementations of ciphers or digests are registered
HDEVP_MD-WHIRLPOOL.pod9 Support for computing WHIRLPOOL digests through the B<EVP_MD> API.
HDEVP_MD-MD5.pod9 Support for computing MD5 digests through the B<EVP_MD> API.
HDEVP_MD-MD4.pod9 Support for computing MD4 digests through the B<EVP_MD> API.
/freebsd-head/contrib/libarchive/libarchive/
HDarchive_read_support_format_7zip.c144 uint32_t *digests; member
194 uint32_t *digests; member
915 zip->si.ss.digests[zip->entry->ssIndex] != in archive_read_format_7zip_read_data()
920 (unsigned long)zip->si.ss.digests[ in archive_read_format_7zip_read_data()
1839 free(d->digests); in free_Digest()
1867 d->digests = calloc(num, sizeof(*d->digests)); in read_Digests()
1868 if (d->digests == NULL) in read_Digests()
1874 d->digests[i] = archive_le32dec(p); in read_Digests()
1942 pi->digest.digests = in read_PackInfo()
1943 calloc((size_t)pi->numPackStreams, sizeof(*pi->digest.digests)); in read_PackInfo()
[all …]
/freebsd-head/usr.sbin/bsdconfig/examples/
HDbrowse_packages_http.sh18 for file in digests.txz packagesite.txz; do
/freebsd-head/secure/lib/libcrypto/modules/legacy/
HDMakefile32 ${LCRYPTO_SRC}/providers/implementations/digests \
/freebsd-head/crypto/openssl/crypto/ts/
HDts_conf.c349 char *digests = NCONF_get_string(conf, section, ENV_DIGESTS); in TS_CONF_set_digests() local
351 if (digests == NULL) { in TS_CONF_set_digests()
355 if ((list = X509V3_parse_list(digests)) == NULL) { in TS_CONF_set_digests()

1234