Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 172) sorted by relevance

1234567

/dflybsd-src/usr.sbin/ppp/
H A Dccp.c147 static const struct ccp_algorithm * const algorithm[] = { variable
156 #define NALGORITHMS NELEM(algorithm)
179 if (ccp->in.algorithm != -1) in ccp_ReportStatus()
181 (*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt)); in ccp_ReportStatus()
183 if (ccp->out.algorithm != -1) { in ccp_ReportStatus()
185 for (f = 0; f < ccp->out.algorithm; f++) in ccp_ReportStatus()
186 if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg])) in ccp_ReportStatus()
189 (*algorithm[ccp->out.algorithm]->Disp)(&(*o)->val)); in ccp_ReportStatus()
277 ccp->in.algorithm = ccp->out.algorithm = -1; in ccp_Setup()
303 if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]) && in ccp_Required()
[all …]
H A Dccp.h88 int algorithm; member
102 int algorithm; /* Algorithm in use */ member
108 int algorithm; /* Algorithm in use */ member
/dflybsd-src/contrib/file/magic/Magdir/
H A Dmcrypt15 >4 string >\0 algorithm: %s,
26 >3 byte 0 algorithm: blowfish-448,
27 >3 byte 1 algorithm: DES,
28 >3 byte 2 algorithm: 3DES,
29 >3 byte 3 algorithm: 3-WAY,
30 >3 byte 4 algorithm: GOST,
31 >3 byte 6 algorithm: SAFER-SK64,
32 >3 byte 7 algorithm: SAFER-SK128,
33 >3 byte 8 algorithm: CAST-128,
34 >3 byte 9 algorithm: xTEA,
[all …]
/dflybsd-src/crypto/openssh/
H A Ddns.c81 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key() argument
89 *algorithm = SSHFP_KEY_RSA; in dns_read_key()
92 *algorithm = SSHFP_KEY_DSA; in dns_read_key()
95 *algorithm = SSHFP_KEY_ECDSA; in dns_read_key()
98 *algorithm = SSHFP_KEY_ED25519; in dns_read_key()
101 *algorithm = SSHFP_KEY_XMSS; in dns_read_key()
104 *algorithm = SSHFP_KEY_RESERVED; /* 0 */ in dns_read_key()
118 if (*algorithm && *digest_type) { in dns_read_key()
135 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata() argument
140 *algorithm = SSHFP_KEY_RESERVED; in dns_read_rdata()
[all …]
/dflybsd-src/crypto/libressl/crypto/asn1/
H A Dx_algor.c66 .offset = offsetof(X509_ALGOR, algorithm),
162 if (alg->algorithm) in X509_ALGOR_set0()
163 ASN1_OBJECT_free(alg->algorithm); in X509_ALGOR_set0()
164 alg->algorithm = aobj; in X509_ALGOR_set0()
183 *paobj = algor->algorithm; in X509_ALGOR_get0()
212 int rv = OBJ_cmp(a->algorithm, b->algorithm); in X509_ALGOR_cmp()
H A Dt_spki.c87 i = OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm); in NETSCAPE_SPKI_print()
101 i = OBJ_obj2nid(spki->sig_algor->algorithm); in NETSCAPE_SPKI_print()
H A Dp5_pbev2.c209 scheme->algorithm = obj; in PKCS5_pbe2_set_iv()
264 ret->algorithm = OBJ_nid2obj(NID_pbes2); in PKCS5_pbe2_set_iv()
354 keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2); in PKCS5_pbkdf2_set()
/dflybsd-src/contrib/ldns/ldns/
H A Ddnssec_sign.h148 uint8_t algorithm,
270 uint8_t algorithm,
301 uint8_t algorithm,
357 uint8_t algorithm,
382 ldns_zone *ldns_zone_sign_nsec3(ldns_zone *zone, ldns_key_list *key_list, uint8_t algorithm, uint8_…
H A Ddnssec.h258 uint8_t algorithm,
282 ldns_rdf *ldns_nsec3_hash_name(const ldns_rdf *name, uint8_t algorithm, uint16_t iterations, uint8_…
295 uint8_t algorithm,
307 uint8_t algorithm,
/dflybsd-src/crypto/libressl/crypto/ocsp/
H A Docsp_lib.c119 if (alg->algorithm != NULL) in OCSP_cert_id_new()
120 ASN1_OBJECT_free(alg->algorithm); in OCSP_cert_id_new()
125 if (!(alg->algorithm = OBJ_nid2obj(nid))) in OCSP_cert_id_new()
163 ret = OBJ_cmp(a->hashAlgorithm->algorithm, b->hashAlgorithm->algorithm); in OCSP_id_issuer_cmp()
/dflybsd-src/contrib/dhcpcd/src/
H A Dauth.c109 uint8_t protocol, algorithm, rdm, *mm, type; in dhcp_auth_validate() local
137 algorithm = *d++; in dhcp_auth_validate()
147 algorithm != auth->algorithm || in dhcp_auth_validate()
354 switch (algorithm) { in dhcp_auth_validate()
565 switch(auth->algorithm) { in dhcp_auth_encode()
624 *data++ = auth->algorithm; in dhcp_auth_encode()
720 switch(auth->algorithm) { in dhcp_auth_encode()
/dflybsd-src/crypto/libressl/crypto/pkcs7/
H A Dpk7_doit.c120 md = EVP_get_digestbyobj(alg->algorithm); in PKCS7_bio_add_digest()
297 xalg = p7->d.signed_and_enveloped->enc_data->algorithm; in PKCS7_dataInit()
306 xalg = p7->d.enveloped->enc_data->algorithm; in PKCS7_dataInit()
344 xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_type(evp_cipher)); in PKCS7_dataInit()
461 enc_alg = p7->d.signed_and_enveloped->enc_data->algorithm; in PKCS7_dataDecode()
462 evp_cipher = EVP_get_cipherbyobj(enc_alg->algorithm); in PKCS7_dataDecode()
470 enc_alg = p7->d.enveloped->enc_data->algorithm; in PKCS7_dataDecode()
472 evp_cipher = EVP_get_cipherbyobj(enc_alg->algorithm); in PKCS7_dataDecode()
492 j = OBJ_obj2nid(xa->algorithm); in PKCS7_dataDecode()
782 j = OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_dataFinal()
[all …]
H A Dpk7_attr.c108 ASN1_OBJECT_free(alg->algorithm); in PKCS7_simple_smimecap()
109 alg->algorithm = OBJ_nid2obj(nid); in PKCS7_simple_smimecap()
/dflybsd-src/crypto/libressl/crypto/cms/
H A Dcms_pwri.c157 encalg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_type(ctx)); in CMS_add0_recipient_password()
178 pwri->keyEncryptionAlgorithm->algorithm = OBJ_nid2obj(wrap_nid); in CMS_add0_recipient_password()
347 if (!algtmp || OBJ_obj2nid(algtmp->algorithm) != NID_id_alg_PWRI_KEK) { in cms_RecipientInfo_pwri_crypt()
363 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in cms_RecipientInfo_pwri_crypt()
387 if (EVP_PBE_CipherInit(algtmp->algorithm, (char *)pwri->pass, in cms_RecipientInfo_pwri_crypt()
/dflybsd-src/crypto/libressl/crypto/rsa/
H A Drsa_ameth.c289 if (OBJ_obj2nid(alg->algorithm) != NID_mgf1) in rsa_mgf1_decode()
347 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) in rsa_pss_param_print()
362 if (i2a_ASN1_OBJECT(bp, pss->maskGenAlgorithm->algorithm) <= 0) in rsa_pss_param_print()
368 if (i2a_ASN1_OBJECT(bp, maskHash->algorithm) <= 0) in rsa_pss_param_print()
511 if (OBJ_obj2nid(sigalg->algorithm) == EVP_PKEY_RSA_PSS) { in rsa_sig_print()
645 md = EVP_get_digestbyobj(alg->algorithm); in rsa_algor_to_md()
739 if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) { in rsa_pss_to_ctx()
824 nid = OBJ_obj2nid(alg->algorithm); in rsa_cms_verify()
852 if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) { in rsa_item_verify()
968 nid = OBJ_obj2nid(cmsalg->algorithm); in rsa_cms_decrypt()
[all …]
/dflybsd-src/contrib/ldns/drill/
H A Ddnssec.c303 uint8_t algorithm; in ldns_nsec3_exact_match() local
338 algorithm = ldns_nsec3_algorithm(nsec); in ldns_nsec3_exact_match()
353 hashed_sname = ldns_nsec3_hash_name(sname, algorithm, iterations, salt_length, salt); in ldns_nsec3_exact_match()
405 uint8_t algorithm; in ldns_nsec3_closest_encloser() local
433 algorithm = ldns_nsec3_algorithm(nsec); in ldns_nsec3_closest_encloser()
463 hashed_sname = ldns_nsec3_hash_name(sname, algorithm, iterations, salt_length, salt); in ldns_nsec3_closest_encloser()
/dflybsd-src/contrib/ldns/
H A Ddnssec.c107 uint8_t algorithm; in ldns_dnssec_nsec3_closest_encloser() local
130 algorithm = ldns_nsec3_algorithm(nsec); in ldns_dnssec_nsec3_closest_encloser()
147 algorithm, in ldns_dnssec_nsec3_closest_encloser()
872 uint8_t algorithm, in ldns_dnssec_create_nsec3() argument
892 algorithm, in ldns_dnssec_create_nsec3()
902 algorithm, in ldns_dnssec_create_nsec3()
1009 uint8_t algorithm, in ldns_nsec3_hash_name() argument
1027 if (algorithm != LDNS_SHA1) { in ldns_nsec3_hash_name()
1108 uint8_t algorithm, in ldns_nsec3_add_param_rdfs() argument
1120 1, (void*)&algorithm), in ldns_nsec3_add_param_rdfs()
[all …]
H A Ddnssec_sign.c873 uint8_t algorithm, argument
942 algorithm,
1006 uint8_t algorithm, argument
1012 return ldns_dnssec_zone_create_nsec3s_mkmap(zone, new_rrs, algorithm,
1448 uint8_t algorithm, argument
1455 func, arg, algorithm, flags, iterations, salt_length, salt, 0,
1465 uint8_t algorithm, argument
1513 algorithm,
1547 algorithm,
1588 uint8_t algorithm, argument
[all …]
/dflybsd-src/crypto/libressl/crypto/pkcs12/
H A Dp12_add.c162 X509_ALGOR_free(p7->d.encrypted->enc_data->algorithm); in PKCS12_pack_p7encdata()
163 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata()
183 return PKCS12_item_decrypt_d2i(p7->d.encrypted->enc_data->algorithm, in STACK_OF()
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dalgorithm1 // <algorithm> -*- C++ -*-
52 /** @file include/algorithm
66 # include <parallel/algorithm>
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/experimental/
H A Dalgorithm1 // <experimental/algorithm> -*- C++ -*-
25 /** @file experimental/algorithm
36 #include <algorithm>
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dalgorithm1 // <algorithm> -*- C++ -*-
51 /** @file include/algorithm
65 # include <parallel/algorithm>
/dflybsd-src/crypto/libressl/crypto/evp/
H A Dp5_crpt2.c192 if (OBJ_obj2nid(pbe2->keyfunc->algorithm) != NID_id_pbkdf2) { in PKCS5_v2_PBE_keyivgen()
200 cipher = EVP_get_cipherbyobj(pbe2->encryption->algorithm); in PKCS5_v2_PBE_keyivgen()
269 prf_nid = OBJ_obj2nid(kdf->prf->algorithm); in PKCS5_v2_PBKDF2_keyivgen()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/parallel/
H A Dalgorithm25 /** @file parallel/algorithm
34 #include <algorithm>
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/parallel/
H A Dalgorithm26 /** @file parallel/algorithm
35 #include <algorithm>

1234567