Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 25 of 32) sorted by relevance

12

/external/dropbear/
Dsvr-authpubkey.c42 static int checkpubkey(unsigned char* algo, unsigned int algolen,
45 static void send_msg_userauth_pk_ok(unsigned char* algo, unsigned int algolen,
54 unsigned char* algo = NULL; /* pubkey algo */ in svr_auth_pubkey() local
69 algo = buf_getstring(ses.payload, &algolen); in svr_auth_pubkey()
74 if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) { in svr_auth_pubkey()
81 send_msg_userauth_pk_ok(algo, algolen, keyblob, keybloblen); in svr_auth_pubkey()
123 if (algo) { in svr_auth_pubkey()
124 m_free(algo); in svr_auth_pubkey()
136 static void send_msg_userauth_pk_ok(unsigned char* algo, unsigned int algolen, in send_msg_userauth_pk_ok() argument
143 buf_putstring(ses.writepayload, algo, algolen); in send_msg_userauth_pk_ok()
[all …]
Dcommon-kex.c592 algo_type * algo = NULL; in read_kex_algos() local
606 algo = ses.buf_match_algo(ses.payload, sshkex, &goodguess); in read_kex_algos()
608 if (algo == NULL) { in read_kex_algos()
612 TRACE(("kex algo %s", algo->name)) in read_kex_algos()
613 ses.newkeys->algo_kex = algo->val; in read_kex_algos()
616 algo = ses.buf_match_algo(ses.payload, sshhostkey, &goodguess); in read_kex_algos()
618 if (algo == NULL) { in read_kex_algos()
622 TRACE(("hostkey algo %s", algo->name)) in read_kex_algos()
623 ses.newkeys->algo_hostkey = algo->val; in read_kex_algos()
DAndroid.mk11 common-session.c packet.c common-algo.c common-kex.c \
17 cli-algo.c cli-main.c cli-auth.c cli-authpasswd.c cli-kex.c \
DMakefile.in25 SVROBJS=svr-kex.o svr-algo.o svr-auth.o sshpty.o \
30 CLIOBJS=cli-algo.o cli-main.o cli-auth.o cli-authpasswd.o cli-kex.o \
34 CLISVROBJS=common-session.o packet.o common-algo.o common-kex.o \
45 HEADERS=options.h dbutil.h session.h packet.h algo.h ssh.h buffer.h kex.h \
Dcommon-algo.c195 int have_algo(char* algo, size_t algolen, algo_type algos[]) { in have_algo() argument
201 && (strncmp(algos[i].name, algo, algolen) == 0)) { in have_algo()
Dalgo.h66 int have_algo(char* algo, size_t algolen, algo_type algos[]);
Dfilelist.txt14 algo.c Framework for handling various ciphers/hashes/algos,
/external/dropbear/libtomcrypt/src/mac/hmac/
Dhmac_test.c47 char *algo; in hmac_test()
269 int hash = find_hash(cases[i].algo); in hmac_test()
275 printf("HMAC-%s test #%d, %s\n", cases[i].algo, cases[i].num, error_to_string(err)); in hmac_test()
284 printf("\nHMAC-%s test #%d:\n", cases[i].algo, cases[i].num); in hmac_test()
/external/iproute2/ip/
Dipxfrm.c508 static void __xfrm_algo_print(struct xfrm_algo *algo, int type, int len, in __xfrm_algo_print() argument
519 if (len < sizeof(*algo)) { in __xfrm_algo_print()
523 len -= sizeof(*algo); in __xfrm_algo_print()
525 fprintf(fp, "%s ", algo->alg_name); in __xfrm_algo_print()
527 keylen = algo->alg_key_len / 8; in __xfrm_algo_print()
535 fprintf(fp, "%.2x", (unsigned char)algo->alg_key[i]); in __xfrm_algo_print()
538 fprintf(fp, " (%d bits)", algo->alg_key_len); in __xfrm_algo_print()
545 static inline void xfrm_algo_print(struct xfrm_algo *algo, int type, int len, in xfrm_algo_print() argument
548 return __xfrm_algo_print(algo, type, len, fp, prefix, 1); in xfrm_algo_print()
551 static void xfrm_aead_print(struct xfrm_algo_aead *algo, int len, in xfrm_aead_print() argument
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
DPEMDecoder.java235 String algo = ps.dekInfo[0]; in decryptPEM() local
240 if (algo.equals("DES-EDE3-CBC")) in decryptPEM()
246 else if (algo.equals("DES-CBC")) in decryptPEM()
252 else if (algo.equals("AES-128-CBC")) in decryptPEM()
258 else if (algo.equals("AES-192-CBC")) in decryptPEM()
264 else if (algo.equals("AES-256-CBC")) in decryptPEM()
272 throw new IOException("Cannot decrypt PEM structure, unknown cipher " + algo); in decryptPEM()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_broadcom.c182 wkt.algo = CRYPTO_ALGO_OFF; in wpa_driver_broadcom_set_key()
185 wkt.algo = CRYPTO_ALGO_WEP128; /* CRYPTO_ALGO_WEP1? */ in wpa_driver_broadcom_set_key()
188 wkt.algo = 0; /* CRYPTO_ALGO_TKIP? */ in wpa_driver_broadcom_set_key()
191 wkt.algo = 0; /* CRYPTO_ALGO_AES_CCM; in wpa_driver_broadcom_set_key()
195 wkt.algo = CRYPTO_ALGO_NALG; in wpa_driver_broadcom_set_key()
/external/kernel-headers/original/linux/netfilter/
Dxt_string.h11 char algo[XT_STRING_MAX_ALGO_NAME_SIZE]; member
/external/iptables/extensions/
Dlibxt_string.c61 .flags = XTOPT_MAND | XTOPT_PUT, XTOPT_POINTER(s, algo)},
272 printf(" ALGO name %s", info->algo); in string_print()
296 printf(" --algo %s", info->algo); in string_save()
Dlibxt_string.man3 \fB\-\-algo\fP {\fBbm\fP|\fBkmp\fP}
/external/iptables/include/linux/netfilter/
Dxt_string.h17 char algo[XT_STRING_MAX_ALGO_NAME_SIZE]; member
/external/mdnsresponder/mDNSCore/
DDNSDigest.c1441 domainname * algo; in DNSDigest_VerifyMessage() local
1447 algo = (domainname*) ptr; in DNSDigest_VerifyMessage()
1449 if (!SameDomainName(algo, &HMAC_MD5_AlgName)) in DNSDigest_VerifyMessage()
1451 LogMsg("ERROR: DNSDigest_VerifyMessage - TSIG algorithm not supported: %##s", algo->c); in DNSDigest_VerifyMessage()
1458 ptr += DomainNameLength(algo); in DNSDigest_VerifyMessage()
1529 MD5_Update(&c, algo->c, DomainNameLength(algo)); in DNSDigest_VerifyMessage()
/external/libvpx/mkvparser/
Dmkvparser.hpp214 unsigned long long algo; member
223 unsigned long long algo; member
/external/kernel-headers/original/linux/
Di2c.h223 struct i2c_algorithm *algo;/* the algorithm to access the bus */ member
346 return adap->algo->functionality(adap); in i2c_get_functionality()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java277 private static final String algo = "testPublicKeyAlgorithm"; field in TestCertUtils.TestPublicKey
285 return algo; in getAlgorithm()
/external/ganymed-ssh2/examples/
DSwingShell.java379 final String algo = serverHostKeyAlgorithm; in verifyServerHostKey() local
393 message = "Do you want to accept the hostkey (type " + algo + ") from " + host + " ?\n"; in verifyServerHostKey()
/external/stlport/etc/
Dmsvcincl.dat1 algo.h
DChangeLog-5.1848 * test/unit/alg_test.cpp: New test for find_first_of algo.
1406 except that uninitialized algo are using
1426 New test for uninitialized_copy algo.
3033 * stlport/config/_auto_link.h: Change auto link algo when we detect
5172 * stlport/stl/_algobase.h, _algobase.c: Fix find algo overload for
5176 * test/unit/alg_test.cpp: Add a test case for the search_n algo.
5178 * stlport/stl/_algo.c: Integration of the search_n algo implementation
5312 * stlport/stl/_algobase.h: Add find algo overload for char* and const char*
5346 * stlport/stl/_algo.c: Fix of the search_n algo thanks Jim Xochellis report.
5408 * stlport/stl/_algobase.h: Improvment of the iter_swap algo to use the swap
[all …]
/external/iptables/tests/
Doptions-most.rules13 …e DEFAULT --rsource -m socket --transparent -m string --string "foobar" --algo kmp --from 1 --to 2…
40 -A INPUT -p tcp -m string --string "foobar" --algo kmp --from 1 --to 2 --icase
/external/openssl/crypto/engine/
DREADME94 reference) for any ENGINE that is registered to perform the algo/mode that the
/external/icu4c/samples/ufortune/resources/
Des.txt124 "Todo programa hace algo perfectamente bien, aunque no sea exactamente lo que nosotros queremos que…

12