Home
last modified time | relevance | path

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

123

/freebsd-12.1/lib/libsecureboot/efi/
H A 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 …]
H A 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.1/crypto/openssl/crypto/engine/
H A 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()
H A Deng_list.c265 dest->digests = src->digests; in engine_cpy()
H A Deng_int.h136 ENGINE_DIGESTS_PTR digests; member
H A Deng_lib.c61 e->digests = NULL; in engine_set_all_null()
/freebsd-12.1/crypto/openssh/
H A Ddigest-openssl.c57 const struct ssh_digest digests[] = { variable
71 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg()
73 if (digests[alg].mdfunc == NULL) in ssh_digest_by_alg()
75 return &(digests[alg]); in ssh_digest_by_alg()
83 for (alg = 0; digests[alg].id != -1; alg++) { in ssh_digest_alg_by_name()
84 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name()
85 return digests[alg].id; in ssh_digest_alg_by_name()
H A Ddigest-libc.c60 const struct ssh_digest digests[SSH_DIGEST_MAX] = { variable
118 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg()
120 return &(digests[alg]); in ssh_digest_by_alg()
129 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name()
130 return digests[alg].id; in ssh_digest_alg_by_name()
/freebsd-12.1/crypto/heimdal/kdc/
H A 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.1/crypto/openssl/doc/man3/
H A 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
H A 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
H A 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
H 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
H A DEVP_DigestInit.pod62 The EVP digest routines are a high level interface to message digests,
170 B<NID_sha1WithRSAEncryption>. Since digests and signature algorithms are no
279 The B<EVP> interface to message digests should almost always be used in
295 implementations of digests to be specified.
304 EVP_MD_CTX_ctrl() sends commands to message digests for additional configuration
309 This example digests the data "Test Message\n" and "Hello World\n", using the
375 The link between digests and signing algorithms was fixed in OpenSSL 1.0 and
H A 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)
124 and public key algorithms. This meant that "clone" digests such as EVP_dss1()
H A DRSA_sign.pod31 an SSL signature (MD5 and SHA1 message digests with PKCS #1 padding
H A DPKCS5_PBKDF2_HMAC.pod39 any of the EVP_* message digests. PKCS5_PBKDF2_HMAC_SHA1() calls
/freebsd-12.1/crypto/openssl/crypto/objects/
H A Dobj_xref.txt3 # and digests.
55 # ECDH KDFs and their corresponding message digests and schemes
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c115 uint32_t *digests; member
165 uint32_t *digests; member
1680 free(d->digests); in free_Digest()
1708 d->digests = calloc(num, sizeof(*d->digests)); in read_Digests()
1709 if (d->digests == NULL) in read_Digests()
1783 pi->digest.digests = in read_PackInfo()
2105 free(ss->digests); in free_SubStreamsInfo()
2155 ss->digests == NULL) in read_SubStreamsInfo()
2186 ss->digests[i] = 0; in read_SubStreamsInfo()
2198 uint32_t * digests = ss->digests; in read_SubStreamsInfo() local
[all …]
/freebsd-12.1/crypto/openssl/doc/man7/
H A 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.1/usr.sbin/bsdconfig/examples/
H A Dbrowse_packages_http.sh19 for file in digests.txz packagesite.txz; do
/freebsd-12.1/crypto/openssl/crypto/ts/
H A 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.1/crypto/openssl/doc/man1/
H A Ddgst.pod38 signatures using message digests.
58 supported digests, use the command I<list --digest-commands>.
211 New or agile applications should use probably use SHA-256. Other digests,
H A Dspeed.pod86 Run benchmarks on B<num>-byte buffers. Affects ciphers, digests and the CSPRNG.
/freebsd-12.1/crypto/openssl/
H A DREADME38 Calculation of message digests

123