HomeSort by: relevance | last modified time | path
    Searched refs:alg (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/sys/net/npf/
npf_alg.c 48 * NAT ALG description structure. For more compact use of cache,
95 npf_alg_t *alg = &aset->alg_list[i]; local in function:npf_alg_lookup
96 const char *aname = alg->na_name;
99 return alg;
107 npf_alg_t *alg; local in function:npf_alg_construct
110 if ((alg = npf_alg_lookup(npf, name)) == NULL) {
120 alg = npf_alg_lookup(npf, name);
123 return alg;
134 npf_alg_t *alg; local in function:npf_alg_register
145 alg = &aset->alg_list[i]
343 const npf_alg_t *alg = &aset->alg_list[i]; local in function:npf_alg_export
    [all...]
npf_nat.c 147 /* ALG (if any) associated with this NAT entry. */
329 npf_nat_freealg(npf_natpolicy_t *np, npf_alg_t *alg)
335 if (nt->nt_alg == alg) {
336 npf_alg_destroy(np->n_npfctx, alg, nt, nt->nt_conn);
605 /* Execute ALG translation first. */
788 /* Determine whether any ALG matches. */
841 * npf_nat_setalg: associate an ALG with the NAT entry.
844 npf_nat_setalg(npf_nat_t *nt, npf_alg_t *alg, uintptr_t arg)
846 nt->nt_alg = alg;
870 npf_alg_t *alg; local in function:npf_nat_destroy
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/
crypto_pwhash.c 132 unsigned long long opslimit, size_t memlimit, int alg)
134 switch (alg) {
137 opslimit, memlimit, alg);
140 opslimit, memlimit, alg);
159 unsigned long long opslimit, size_t memlimit, int alg)
161 switch (alg) {
  /src/lib/libresolv/
dst_api.c 24 * int dst_check_algorithm() Function to determines if alg is supported.
81 static DST_KEY *dst_s_get_key_struct(const char *name, const int alg,
138 * alg 1 KEY_RSA
147 dst_check_algorithm(const int alg)
149 return (dst_t_func[alg] != NULL);
158 * alg: the algorithm number
167 dst_s_get_key_struct(const char *name, const int alg, const int flags,
172 if (dst_check_algorithm(alg)) /*%< make sure alg is available */
183 new_key->dk_alg = alg;
473 int flags, proto, alg, dlen; local in function:dst_s_read_public_key
655 int alg ; local in function:dst_dnskey_to_key
831 int alg, major, minor, file_major, file_minor; local in function:dst_s_read_private_key_file
    [all...]
ns_verify.c 143 char name[MAXDNAME], alg[MAXDNAME]; local in function:ns_verify
183 n = dn_expand(msg, eom, cp, alg, MAXDNAME);
186 if (ns_samename(alg, NS_TSIG_ALG_HMAC_MD5) != 1)
268 n = ns_name_pton(alg, buf2, sizeof(buf2));
349 char name[MAXDNAME], alg[MAXDNAME]; local in function:ns_verify_tcp
410 n = dn_expand(msg, eom, cp, alg, MAXDNAME);
413 if (ns_samename(alg, NS_TSIG_ALG_HMAC_MD5) != 1)
support.c 231 * form: K&lt;keyname&gt;+&lt;alg&gt;+&lt;id&gt;.&lt;suffix&gt;
262 * form: K&lt;keyname&gt;+&lt;alg&gt;+&lt;id&gt;.&lt;suffix&gt;
272 int alg, const char *suffix, size_t filename_length)
285 sprintf(filename, "K%s+%03d+%05d.%s", name, alg, my_id,
dst_internal.h 137 u_int16_t id, int alg, const char *suffix,
ns_sign.c 100 u_char *alg; local in function:ns_sign2
137 /* Alg. */
148 alg = cp;
195 nn = ns_name_ntol(alg, buf, sizeof(buf));
338 /* Alg. */
res_sendsigned.c 65 if (ns_samename(key->alg, NS_TSIG_ALG_HMAC_MD5) != 1)
  /src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
crypto_pwhash.h 107 unsigned long long opslimit, size_t memlimit, int alg)
124 unsigned long long opslimit, size_t memlimit, int alg)
crypto_pwhash_argon2i.h 97 int alg)
crypto_pwhash_argon2id.h 97 int alg)
  /src/sys/dev/marvell/
mvcesa.c 379 uint32_t alg, mode, dir, *iv, ivbuf[2]; local in function:mvcesa_process
383 alg = MVCESA_DESE_C_ALGORITHM_DES;
385 alg = MVCESA_DESE_C_ALGORITHM_3DES;
420 alg, mode, dir, iv, crd->crd_skip, crd->crd_len,
431 uint32_t alg, *iv = NULL, digest[512 / 8 / 4], dlen; local in function:mvcesa_process
435 alg = MVCESA_SHA1MD5I_AC_ALGORITHM_SHA1;
438 alg = MVCESA_SHA1MD5I_AC_ALGORITHM_MD5;
449 alg, iv, digest, bits, crd->crd_skip, crd->crd_len,
457 ses, alg, ses->ses_hmouter, digest,
486 uint32_t alg, uint32_t *iv, uint32_t *digest
    [all...]
  /src/share/examples/npf/
host-npf.conf 22 alg "icmp"
l2tp_gw-npf.conf 13 alg "icmp"
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
pwhash_argon2id.c 139 unsigned long long opslimit, size_t memlimit, int alg)
162 switch (alg) {
pwhash_argon2i.c 143 unsigned long long opslimit, size_t memlimit, int alg)
166 switch (alg) {
  /src/sys/netipsec/
key_debug.c 259 const struct sadb_alg *alg; local in function:kdebug_sadb_supported
267 / sizeof(*alg);
268 alg = (const void *)(sup + 1);
272 alg->sadb_alg_id, alg->sadb_alg_ivlen,
273 alg->sadb_alg_minbits, alg->sadb_alg_maxbits);
274 alg++;
xform_ah.c 123 ah_algorithm_lookup(int alg)
126 switch (alg) {
286 ah_massage_headers(struct mbuf **m0, int proto, int skip, int alg, int out)
323 if (alg == CRYPTO_MD5_KPDK || alg == CRYPTO_SHA1_KPDK)
  /src/sys/opencrypto/
crypto.c 691 DPRINTF("alg %d not supported\n", cr->cri_alg);
1077 printf("crypto: driver %u registers key alg %u "
1102 crypto_register(u_int32_t driverid, int alg, u_int16_t maxoplen,
1117 if (CRYPTO_ALGORITHM_MIN <= alg && alg <= CRYPTO_ALGORITHM_MAX) {
1124 cap->cc_alg[alg] = flags | CRYPTO_ALG_FLAG_SUPPORTED;
1125 cap->cc_max_op_len[alg] = maxoplen;
1127 printf("crypto: driver %u registers alg %u "
1130 alg,
1153 crypto_unregister_locked(struct cryptocap *cap, int alg, bool all
    [all...]
cryptodev.h 612 extern int crypto_register(u_int32_t driverid, int alg, u_int16_t maxoplen,
621 extern int crypto_unregister(u_int32_t driverid, int alg);
  /src/usr.bin/bdes/
bdes.c 151 } alg = ALG_CBC; variable in typeref:enum:__anon7e630d990203
219 alg = ALG_ECB;
225 alg = ALG_CFBA;
234 alg = ALG_CFB;
253 alg = ALG_OFB;
287 inverse = (alg == ALG_CBC || alg == ALG_ECB) && mode == MODE_DECRYPT;
289 switch(alg) {
  /src/usr.sbin/npf/npfctl/
npf_scan.l 110 alg return ALG;
  /src/sbin/cgdconfig/
params.c 77 char alg[32]; member in struct:crypto_defaults
812 keygen_shared(string_t *id, string_t *alg, bits_t *info)
815 const char *algname = string_tocharstar(alg);
1101 crypt_defaults_lookup(const char *alg)
1106 if (!strcmp(alg, crypto_defaults[i].alg))
  /src/sys/dev/
cgd.c 66 const char *alg; member in struct:selftest_params
310 .alg = "aes-xts",
321 .alg = "aes-xts",
332 .alg = "aes-cbc",
343 .alg = "aes-cbc",
354 .alg = "3des-cbc",
365 .alg = "blowfish-cbc",
376 .alg = "aes-cbc",
1668 const char *alg = selftests[i].alg; local in function:cgd_selftest
    [all...]

Completed in 42 milliseconds

1 2 3