Home
last modified time | relevance | path

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

12345678910>>...18

/NextBSD/contrib/file/magic/Magdir/
HDmcrypt7 >4 string >\0 algorithm: %s,
12 >3 byte 0 algorithm: blowfish-448,
13 >3 byte 1 algorithm: DES,
14 >3 byte 2 algorithm: 3DES,
15 >3 byte 3 algorithm: 3-WAY,
16 >3 byte 4 algorithm: GOST,
17 >3 byte 6 algorithm: SAFER-SK64,
18 >3 byte 7 algorithm: SAFER-SK128,
19 >3 byte 8 algorithm: CAST-128,
20 >3 byte 9 algorithm: xTEA,
[all …]
/NextBSD/usr.sbin/ppp/
HDccp.c147 static const struct ccp_algorithm * const algorithm[] = { variable
156 #define NALGORITHMS (sizeof algorithm/sizeof algorithm[0])
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 …]
/NextBSD/contrib/opie/
HDopiekey.c134 unsigned algorithm = MDX; /* default algorithm per Makefile's MDX variable
154 algorithm = 4;
157 algorithm = 5;
160 algorithm = 3;
185 algorithm = 4;
190 algorithm = 5;
210 algorithm = 3;
221 fprintf(stderr, "Using the %s algorithm to compute response.\n", algnames[algorithm]);
271 if (opiekeycrunch(algorithm, &newkey, newseed, newsecret)) {
277 opiehash(&newkey, algorithm);
[all …]
HDopieauto.c54 int algorithm, base, current; member
86 int algorithm, sequence, i; in doreq() local
99 if (((algorithm = strtoul(&cmd[3], &c, 10)) < 3) || (algorithm > 5) || (*c != ' ')) { in doreq()
144 …, algorithm=%d sequence=%d seed=+%s+ response=+%s+ on fd %d\n", cmd[0], algorithm, sequence, seed,… in doreq()
153 sprintf(cmd, "%c- %d %d %s\n", cmd[0], algorithm, sequence, seed); in doreq()
159 …for (c = &head; *c && (strcmp((*c)->seed, seed) || ((*c)->algorithm != algorithm)); c = &((*c)->ne… in doreq()
165 sprintf(cmd, "s- %d %d %s\n", algorithm, sequence, seed); in doreq()
173 (*c)->algorithm = algorithm; in doreq()
184 sprintf(cmd, "S+ %d %d %s\n", algorithm, sequence, (*c)->seed); in doreq()
190 sprintf(cmd, "s- %d %d %s\n", algorithm, sequence, (*c)->seed); in doreq()
[all …]
/NextBSD/contrib/opie/libopie/
HDgenerator.c139 int algorithm; variable
157 if (__opieparsechallenge(challenge, &algorithm, &sequence, &seed, &exts))
167 if (i = opiekeycrunch(algorithm, &key, seed, secret))
181 opiehash(&key, algorithm);
186 if (opiekeycrunch(algorithm, &newkey, newseed, secret))
190 opiehash(&newkey, algorithm);
194 if (snprintf(buf, sizeof(buf), ":%s 499 %s:", algids[algorithm],
250 opiehash(&key, algorithm);
257 if (snprintf(cmd, sizeof(cmd), "S= %d %d %s %s\n", algorithm, sequence,
282 …) || (cmd[1] != '+') || (cmd[2] != ' ') || (strtoul(&cmd[3], &c, 10) != algorithm) || (strtoul(c +…
[all …]
HDparsechallenge.c26 struct algorithm { struct
31 static struct algorithm algorithms[] = { argument
38 int __opieparsechallenge FUNCTION((buffer, algorithm, sequence, seed, exts), char *buffer AND int *
46 struct algorithm *a;
52 *algorithm = a->num;
HDkeycrunch.c27 int opiekeycrunch FUNCTION((algorithm, result, seed, secret), int algorithm AND
43 if (algorithm & 0x10)
50 if (!(algorithm & 0x10))
54 opiehashlen(algorithm & 0x0f, c, result, i);
HDhash.c29 VOIDRET opiehash FUNCTION((x, algorithm), struct opie_otpkey *x AND
30 unsigned algorithm)
34 switch(algorithm) {
HDhashlen.c26 VOIDRET opiehashlen FUNCTION((algorithm, in, out, n), int algorithm AND
32 switch(algorithm) {
/NextBSD/crypto/openssl/doc/apps/
HDgenpkey.pod16 [B<-algorithm alg>]
45 This option encrypts the private key with the supplied cipher. Any algorithm
56 =item B<-algorithm alg>
58 public key algorithm to use such as RSA, DSA or DH. If used this option must
59 precede any B<-pkeyopt> options. The options B<-paramfile> and B<-algorithm>
64 set the public key algorithm option B<opt> to B<value>. The precise set of
65 options supported depends on the public key algorithm used and its
71 precede and B<-algorithm>, B<-paramfile> or B<-pkeyopt> options.
77 algorithm used is determined by the parameters. If used this option must
78 precede and B<-pkeyopt> options. The options B<-paramfile> and B<-algorithm>
[all …]
HDpasswd.pod27 The Unix standard algorithm B<crypt> and the MD5-based BSD password
28 algorithm B<1> and its Apache variant B<apr1> are available.
36 Use the B<crypt> algorithm (default).
40 Use the MD5 based BSD password algorithm B<1>.
44 Use the B<apr1> algorithm (Apache variant of the BSD algorithm).
HDdgst.pod92 Pass options to the signature algorithm during sign or verify operations.
93 Names and values of these options are algorithm-specific.
121 algorithm is HMAC (hash-based MAC), but there are other MAC algorithms
122 which are not based on hash, for instance B<gost-mac> algorithm,
128 Passes options to MAC algorithm, specified by B<-mac> key.
137 the MAC algorithm for example exactly 32 chars for gost-mac.
142 Key length must conform to any restrictions of the MAC algorithm
191 When signing a file, B<dgst> will automatically determine the algorithm
194 itself, not the related data to identify the signer and algorithm used in
HDpkcs8.pod82 structures using an appropriate password based encryption algorithm. With
111 private keys are encrypted with the password based encryption algorithm
113 was the strongest encryption algorithm supported in PKCS#5 v1.5. Using
115 encryption algorithm such as 168 bit triple DES or 128 bit RC2 however
119 The B<alg> argument is the encryption algorithm to use, valid values include
124 This option sets the PRF algorithm to use with PKCS#5 v2.0. A typical value
130 This option specifies a PKCS#5 v1.5 or PKCS#12 algorithm to use. A complete
187 but they use the same key derivation algorithm and are supported by some
193 These algorithms use the PKCS#12 password based encryption algorithm and
210 Convert a private key to PKCS#8 using a PKCS#5 1.5 compatible algorithm
[all …]
/NextBSD/crypto/openssl/crypto/asn1/
HDx_algor.c66 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
92 if (alg->algorithm)
93 ASN1_OBJECT_free(alg->algorithm);
94 alg->algorithm = aobj;
112 *paobj = algor->algorithm; in X509_ALGOR_get0()
142 rv = OBJ_cmp(a->algorithm, b->algorithm); in X509_ALGOR_cmp()
/NextBSD/contrib/ofed/management/opensm/doc/
HDcurrent-routing.txt9 2. UPDN Unicast routing algorithm - also based on the minimum hops to each
10 node, but it is constrained to ranking rules. This algorithm should be chosen
14 3. Fat-tree Unicast routing algorithm - this algorithm optimizes routing
19 4. LASH unicast routing algorithm - uses Infiniband virtual layers
22 deadlock-free topology-agnostic routing algorithm to the non-minimal
23 UPDN algorithm avoiding the use of a potentially congested root node.
25 5. DOR Unicast routing algorithm - based on the Min Hop algorithm, but
45 The basic routing algorithm is comprised of two stages:
48 The algorithm to fill these tables is different if you run standard
50 For standard routing, a "relaxation" algorithm is used to propagate
[all …]
/NextBSD/crypto/openssh/
HDdns.c77 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key() argument
85 *algorithm = SSHFP_KEY_RSA; in dns_read_key()
90 *algorithm = SSHFP_KEY_DSA; in dns_read_key()
95 *algorithm = SSHFP_KEY_ECDSA; in dns_read_key()
100 *algorithm = SSHFP_KEY_RESERVED; /* 0 */ in dns_read_key()
115 if (*algorithm && *digest_type) { in dns_read_key()
133 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata() argument
138 *algorithm = SSHFP_KEY_RESERVED; in dns_read_rdata()
142 *algorithm = rdata[0]; in dns_read_rdata()
/NextBSD/crypto/openssl/doc/crypto/
HDEVP_PKEY_CTX_new.pod5 EVP_PKEY_CTX_new, EVP_PKEY_CTX_new_id, EVP_PKEY_CTX_dup, EVP_PKEY_CTX_free - public key algorithm c…
18 The EVP_PKEY_CTX_new() function allocates public key algorithm context using
19 the algorithm specified in B<pkey> and ENGINE B<e>.
21 The EVP_PKEY_CTX_new_id() function allocates public key algorithm context
22 using the algorithm specified by B<id> and ENGINE B<e>. It is normally used
32 The B<EVP_PKEY_CTX> structure is an opaque public key algorithm context used
HDEVP_BytesToKey.pod29 encryption algorithm from a password in the B<data> parameter.
31 Increasing the B<count> parameter slows down the algorithm which makes it
36 B<MD5> is used then the derivation algorithm is compatible with PKCS#5 v1.5
39 Newer applications should use a more modern algorithm such as PBKDF2 as
50 algorithm in use, HASH^1(data) is simply HASH(data), HASH^2(data)
/NextBSD/crypto/openssl/engines/
HDe_4758cca.c628 X509_ALGOR algorithm; in cca_rsa_verify() local
635 sig.algor = &algorithm; in cca_rsa_verify()
636 algorithm.algorithm = OBJ_nid2obj(type); in cca_rsa_verify()
638 if (!algorithm.algorithm) { in cca_rsa_verify()
644 if (!algorithm.algorithm->length) { in cca_rsa_verify()
652 algorithm.parameter = &parameter; in cca_rsa_verify()
741 X509_ALGOR algorithm; in cca_rsa_sign() local
748 sig.algor = &algorithm; in cca_rsa_sign()
749 algorithm.algorithm = OBJ_nid2obj(type); in cca_rsa_sign()
751 if (!algorithm.algorithm) { in cca_rsa_sign()
[all …]
/NextBSD/crypto/heimdal/lib/roken/
HDresolve.h142 unsigned algorithm; member
149 unsigned algorithm; member
163 unsigned algorithm; member
169 unsigned algorithm; member
177 unsigned algorithm; member
HDresolve-test.c139 sig->algorithm, sig->labels, sig->orig_ttl, in main()
148 key->flags, key->protocol, key->algorithm); in main()
155 printf ("alg %u type %u length %lu data ", sshfp->algorithm, in main()
168 ds->key_tag, ds->algorithm, ds->digest_type, in main()
/NextBSD/contrib/ldns/ldns/
HDdnssec_sign.h143 uint8_t algorithm,
265 uint8_t algorithm,
296 uint8_t algorithm,
352 uint8_t algorithm,
377 ldns_zone *ldns_zone_sign_nsec3(ldns_zone *zone, ldns_key_list *key_list, uint8_t algorithm, uint8_…
/NextBSD/crypto/openssl/engines/ccgost/
HDREADME.gost13 details of VKO key exchange algorithm. These algorithms use
18 GOST R 34.11-94 Message digest algorithm. 256-bit hash value
27 algorithm, this algoritm is based on symmetric cipher.
49 other algorithm-specific API.
88 between different parameter sets of symmetric cipher algorithm. RFC 4357
89 specifies several parameters for the GOST 28147-89 algorithm, but OpenSSL
101 openssl genpkey -algorithm gost2001 -pkeyopt paramset:A -out seckey.pem
103 Use -algorithm option to specify algorithm.
104 Use -pkeyopt option to pass paramset to algorithm. The following paramsets
117 There are no algorithm-specific things with generation of certificate
[all …]
/NextBSD/crypto/openssl/crypto/ocsp/
HDocsp_lib.c114 if (alg->algorithm != NULL) in OCSP_cert_id_new()
115 ASN1_OBJECT_free(alg->algorithm); in OCSP_cert_id_new()
120 if (!(alg->algorithm = OBJ_nid2obj(nid))) in OCSP_cert_id_new()
155 ret = OBJ_cmp(a->hashAlgorithm->algorithm, b->hashAlgorithm->algorithm); in OCSP_id_issuer_cmp()
/NextBSD/crypto/openssl/crypto/rsa/
HDrsa_ameth.c273 if (OBJ_obj2nid(alg->algorithm) != NID_mgf1) in rsa_mgf1_decode()
323 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) in rsa_pss_param_print()
337 if (i2a_ASN1_OBJECT(bp, pss->maskGenAlgorithm->algorithm) <= 0) in rsa_pss_param_print()
342 if (i2a_ASN1_OBJECT(bp, maskHash->algorithm) <= 0) in rsa_pss_param_print()
382 if (OBJ_obj2nid(sigalg->algorithm) == NID_rsassaPss) { in rsa_sig_print()
497 md = EVP_get_digestbyobj(alg->algorithm); in rsa_algor_to_md()
510 if (OBJ_obj2nid(alg->algorithm) != NID_mgf1) { in rsa_mgf1_to_md()
518 md = EVP_get_digestbyobj(maskHash->algorithm); in rsa_mgf1_to_md()
594 if (OBJ_obj2nid(sigalg->algorithm) != NID_rsassaPss) { in rsa_pss_to_ctx()
674 nid = OBJ_obj2nid(alg->algorithm); in rsa_cms_verify()
[all …]

12345678910>>...18