Home
last modified time | relevance | path

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

123

/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[]);
/external/chromium_org/net/data/ssl/scripts/
Dgenerate-weak-test-chains.sh74 algo=$(echo "$key_type" | sed -E 's/.+-//')
76 if [ ecdsa = $algo ]
81 try openssl $(generate_key_command $algo) \
88 algo=$(echo "$key_type" | sed -E 's/.+-//')
90 if [ ecdsa = $algo ]
97 try openssl $(generate_key_command $algo) \
106 algo=$(echo "$key_type" | sed -E 's/.+-//')
108 CA_COMMON_NAME="$key_size $algo Test intermediate CA" \
112 ALGO=$algo \
143 algo=$(echo "$key_type" | sed -E 's/.+-//')
[all …]
Dca.cnf16 algo = $ENV::ALGO
18 type = $key_size-$algo-$cert_type
Daia-test.cnf12 algo = sha1
Dpolicy.cnf11 algo = sha1
/external/iproute2/ip/
Dipxfrm.c515 static void __xfrm_algo_print(struct xfrm_algo *algo, int type, int len, in __xfrm_algo_print() argument
526 if (len < sizeof(*algo)) { in __xfrm_algo_print()
530 len -= sizeof(*algo); in __xfrm_algo_print()
532 fprintf(fp, "%s ", algo->alg_name); in __xfrm_algo_print()
534 keylen = algo->alg_key_len / 8; in __xfrm_algo_print()
542 fprintf(fp, "%.2x", (unsigned char)algo->alg_key[i]); in __xfrm_algo_print()
545 fprintf(fp, " (%d bits)", algo->alg_key_len); in __xfrm_algo_print()
552 static inline void xfrm_algo_print(struct xfrm_algo *algo, int type, int len, in xfrm_algo_print() argument
555 return __xfrm_algo_print(algo, type, len, fp, prefix, 1); in xfrm_algo_print()
558 static void xfrm_aead_print(struct xfrm_algo_aead *algo, int len, in xfrm_aead_print() argument
[all …]
/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/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/chromium_org/remoting/codec/
Dvideo_encoder_vpx.cc37 const vpx_codec_iface_t* algo = vpx_codec_vp8_cx(); in CreateVP8Codec() local
38 CHECK(algo); in CreateVP8Codec()
39 vpx_codec_err_t ret = vpx_codec_enc_config_default(algo, &config, 0); in CreateVP8Codec()
64 if (vpx_codec_enc_init(codec.get(), algo, &config, 0)) in CreateVP8Codec()
/external/iproute2/include/linux/tc_ematch/
Dtc_em_text.h10 char algo[TC_EM_TEXT_ALGOSIZ]; member
/external/kernel-headers/original/linux/netfilter/
Dxt_string.h11 char algo[XT_STRING_MAX_ALGO_NAME_SIZE]; member
/external/iptables/include/linux/netfilter/
Dxt_string.h17 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/lzma/
DMethods.txt121 F0 - Misc Ciphers (Real Ciphers without hashing algo)
125 01 - Main Zip crypto algo
/external/lzma/CPP/7zip/Archive/Common/
DHandlerOut.cpp211 UInt32 algo = in SetCompressionMethod2() local
224 SetMethodProp(oneMethodInfo, NCoderPropID::kAlgorithm, algo); in SetCompressionMethod2()
243 UInt32 algo = in SetCompressionMethod2() local
247 SetMethodProp(oneMethodInfo, NCoderPropID::kAlgorithm, algo); in SetCompressionMethod2()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp383 UInt32 algo = 1; in main2() local
390 ParseUInt32(parser, NKey::kAlgo, algo); in main2()
424 props[4].ulVal = (UInt32)algo; in main2()
/external/lzma/C/
DLzmaEnc.h24 int algo; /* 0 - fast, 1 - normal, default = 1 */ member
/external/chromium_org/third_party/lzma_sdk/
DLzmaEnc.h24 int algo; /* 0 - fast, 1 - normal, default = 1 */ member
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzmaEnc.h25 int algo; /* 0 - fast, 1 - normal, default = 1 */ member

123