Home
last modified time | relevance | path

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

123

/freebsd-12-stable/lib/libsecureboot/efi/
Defi_variables.c175 hash_data *digests; in efi_get_forbidden_digests() local
185 digests = NULL; in efi_get_forbidden_digests()
231 digests = realloc(digests, in efi_get_forbidden_digests()
233 if (digests == NULL) { in efi_get_forbidden_digests()
238 digests[digest_count].data = malloc(hash_size); in efi_get_forbidden_digests()
239 if (digests[digest_count].data == NULL) in efi_get_forbidden_digests()
242 memcpy(digests[digest_count].data, in efi_get_forbidden_digests()
245 digests[digest_count].hash_size = hash_size; in efi_get_forbidden_digests()
255 return (digests); in efi_get_forbidden_digests()
259 xfree(digests[digest_count].data); in efi_get_forbidden_digests()
[all …]
Defi_init.c39 hash_data *digests; in ve_efi_init() local
63 digests = efi_get_forbidden_digests(&num); in ve_efi_init()
64 if (num > 0 && digests != NULL) { in ve_efi_init()
65 ve_forbidden_digest_add(digests, num); in ve_efi_init()
70 xfree(digests); in ve_efi_init()
/freebsd-12-stable/crypto/openssl/crypto/engine/
Dtb_digest.c26 if (e->digests) { in ENGINE_register_digests()
28 int num_nids = e->digests(e, NULL, &nids, 0); in ENGINE_register_digests()
47 if (e->digests) { in ENGINE_set_default_digests()
49 int num_nids = e->digests(e, NULL, &nids, 0); in ENGINE_set_default_digests()
83 return e->digests; in ENGINE_get_digests()
89 e->digests = f; in ENGINE_set_digests()
Deng_list.c350 dest->digests = src->digests; in engine_cpy()
Deng_local.h141 ENGINE_DIGESTS_PTR digests; member
Deng_lib.c61 e->digests = NULL; in engine_set_all_null()
/freebsd-12-stable/crypto/openssh/
Ddigest-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()
Ddigest-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-12-stable/crypto/heimdal/kdc/
Ddefault_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-12-stable/crypto/openssl/doc/man3/
DSSL_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
DBIO_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
DOpenSSL_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
DEVP_PKEY_get_default_digest_nid.pod26 is advisory (that is other digests can be used) and 2 if it is mandatory (other
27 digests can not be used). It returns 0 or a negative value for failure. In
DEVP_DigestInit.pod71 The EVP digest routines are a high-level interface to message digests,
206 B<NID_sha1WithRSAEncryption>. Since digests and signature algorithms are no
340 The B<EVP> interface to message digests should almost always be used in
356 implementations of digests to be specified.
365 EVP_MD_CTX_ctrl() sends commands to message digests for additional configuration
370 This example digests the data "Test Message\n" and "Hello World\n", using the
437 The link between digests and signing algorithms was fixed in OpenSSL 1.0 and
DEVP_DigestSignInit.pod46 Not all digests can be used for all key types. The following combinations apply.
60 Supports no digests (the digest B<type> must be NULL)
73 Support no digests (the digest B<type> must be NULL)
122 and public key algorithms. This meant that "clone" digests such as EVP_dss1()
DRSA_sign.pod31 an SSL signature (MD5 and SHA1 message digests with PKCS #1 padding
DPKCS5_PBKDF2_HMAC.pod39 any of the EVP_* message digests. PKCS5_PBKDF2_HMAC_SHA1() calls
/freebsd-12-stable/crypto/openssl/crypto/objects/
Dobj_xref.txt3 # and digests.
55 # ECDH KDFs and their corresponding message digests and schemes
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_read_support_format_7zip.c115 uint32_t *digests; member
165 uint32_t *digests; member
839 zip->si.ss.digests[zip->entry->ssIndex] != in archive_read_format_7zip_read_data()
844 (unsigned long)zip->si.ss.digests[ in archive_read_format_7zip_read_data()
1708 free(d->digests); in free_Digest()
1736 d->digests = calloc(num, sizeof(*d->digests)); in read_Digests()
1737 if (d->digests == NULL) in read_Digests()
1743 d->digests[i] = archive_le32dec(p); in read_Digests()
1811 pi->digest.digests = in read_PackInfo()
1812 calloc((size_t)pi->numPackStreams, sizeof(*pi->digest.digests)); in read_PackInfo()
[all …]
/freebsd-12-stable/crypto/openssl/doc/man7/
Devp.pod26 functions. The L<B<EVP_Digest>I<XXX>|EVP_DigestInit(3)> functions provide message digests.
68 All the symmetric algorithms (ciphers), digests and asymmetric algorithms
70 implementations. If ENGINE implementations of ciphers or digests are registered
/freebsd-12-stable/usr.sbin/bsdconfig/examples/
Dbrowse_packages_http.sh19 for file in digests.txz packagesite.txz; do
/freebsd-12-stable/crypto/openssl/doc/man1/
Ddgst.pod40 signatures using message digests.
60 supported digests, use the command I<list --digest-commands>.
73 Prints out a list of supported message digests.
217 New or agile applications should use probably use SHA-256. Other digests,
/freebsd-12-stable/crypto/openssl/crypto/ts/
Dts_conf.c342 char *digests = NCONF_get_string(conf, section, ENV_DIGESTS); in TS_CONF_set_digests() local
344 if (digests == NULL) { in TS_CONF_set_digests()
348 if ((list = X509V3_parse_list(digests)) == NULL) { in TS_CONF_set_digests()
/freebsd-12-stable/contrib/ntp/tests/libntp/data/
Dntp.keys8 # tests/libntp/digest.c similarly hardcodes the list of digests
/freebsd-12-stable/crypto/openssl/
DREADME38 Calculation of message digests

123