/openbsd-current/regress/usr.bin/ssh/ |
H A D | keyscan.sh | 7 if [ -z "$algs" ]; then 8 algs="$i" 10 algs="$algs,$i" 13 echo "HostKeyAlgorithms $algs" >> $OBJ/sshd_config
|
H A D | dropbear-ciphers.sh | 11 algs=`$SSH -Q key-sig | tr '\n' ,` 13 PubkeyAcceptedAlgorithms $algs 14 HostkeyAlgorithms $algs
|
H A D | knownhosts-command.sh | 42 algs=$keytype 44 test "x$keytype" = "xssh-rsa" && algs=ssh-rsa,rsa-sha2-256,rsa-sha2-512 53 ${SSH} -F $OBJ/ssh_proxy -oHostKeyAlgorithms=$algs x true ||
|
/openbsd-current/sys/arch/arm64/arm64/ |
H A D | cryptox.c | 102 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 108 bzero(algs, sizeof(algs)); 111 algs[CRYPTO_AES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 114 algs[CRYPTO_MD5_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 115 algs[CRYPTO_SHA1_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 116 algs[CRYPTO_RIPEMD160_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 117 algs[CRYPTO_SHA2_256_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 118 algs[CRYPTO_SHA2_384_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 119 algs[CRYPTO_SHA2_512_HMA [all...] |
/openbsd-current/sys/crypto/ |
H A D | cryptosoft.c | 1142 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 1151 bzero(algs, sizeof(algs)); 1153 algs[CRYPTO_3DES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 1154 algs[CRYPTO_BLF_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 1155 algs[CRYPTO_CAST_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 1156 algs[CRYPTO_MD5_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 1157 algs[CRYPTO_SHA1_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 1158 algs[CRYPTO_RIPEMD160_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 1159 algs[CRYPTO_AES_CB [all...] |
/openbsd-current/sys/arch/amd64/amd64/ |
H A D | aesni.c | 127 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 133 bzero(algs, sizeof(algs)); 136 algs[CRYPTO_AES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 137 algs[CRYPTO_AES_CTR] = CRYPTO_ALG_FLAG_SUPPORTED; 138 algs[CRYPTO_AES_GCM_16] = CRYPTO_ALG_FLAG_SUPPORTED; 139 algs[CRYPTO_AES_XTS] = CRYPTO_ALG_FLAG_SUPPORTED; 142 algs[CRYPTO_AES_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 143 algs[CRYPTO_AES_128_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 144 algs[CRYPTO_AES_192_GMA [all...] |
H A D | via.c | 84 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 90 bzero(algs, sizeof(algs)); 91 algs[CRYPTO_AES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 92 algs[CRYPTO_MD5_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 93 algs[CRYPTO_SHA1_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 94 algs[CRYPTO_RIPEMD160_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 95 algs[CRYPTO_SHA2_256_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 96 algs[CRYPTO_SHA2_384_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 97 algs[CRYPTO_SHA2_512_HMA [all...] |
/openbsd-current/sys/arch/i386/i386/ |
H A D | via.c | 85 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 91 bzero(algs, sizeof(algs)); 92 algs[CRYPTO_AES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 93 algs[CRYPTO_MD5_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 94 algs[CRYPTO_SHA1_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 95 algs[CRYPTO_RIPEMD160_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 96 algs[CRYPTO_SHA2_256_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 97 algs[CRYPTO_SHA2_384_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 98 algs[CRYPTO_SHA2_512_HMA [all...] |
/openbsd-current/sys/arch/octeon/dev/ |
H A D | octcrypto.c | 238 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 256 memset(algs, 0, sizeof(algs)); 258 algs[CRYPTO_AES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 259 algs[CRYPTO_AES_CTR] = CRYPTO_ALG_FLAG_SUPPORTED; 260 algs[CRYPTO_AES_GCM_16] = CRYPTO_ALG_FLAG_SUPPORTED; 262 algs[CRYPTO_AES_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 263 algs[CRYPTO_AES_128_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 264 algs[CRYPTO_AES_192_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 265 algs[CRYPTO_AES_256_GMA [all...] |
/openbsd-current/sys/arch/i386/pci/ |
H A D | glxsb.c | 325 int algs[CRYPTO_ALGORITHM_MAX + 1]; local 331 bzero(algs, sizeof(algs)); 332 algs[CRYPTO_AES_CBC] = CRYPTO_ALG_FLAG_SUPPORTED; 333 algs[CRYPTO_MD5_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 334 algs[CRYPTO_SHA1_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 335 algs[CRYPTO_RIPEMD160_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 336 algs[CRYPTO_SHA2_256_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 337 algs[CRYPTO_SHA2_384_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED; 338 algs[CRYPTO_SHA2_512_HMA [all...] |
/openbsd-current/lib/libcrypto/cms/ |
H A D | cms_sd.c | 995 CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs) argument 1000 smderlen = i2d_X509_ALGORS(algs, &smder); 1019 STACK_OF(X509_ALGOR) *algs; 1025 if ((algs = *out_algs) == NULL) 1026 algs = sk_X509_ALGOR_new_null(); 1027 if (algs == NULL) 1044 if (sk_X509_ALGOR_push(algs, alg) <= 0) 1048 *out_algs = algs; 1049 algs = NULL; 1054 if (algs ! [all...] |
H A D | cms.h | 280 int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs); 281 int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs, int algnid,
|
/openbsd-current/usr.bin/ssh/ |
H A D | kex-names.c | 175 /* returns non-zero if proposal contains any algorithm from algs */ 177 kex_has_any_alg(const char *proposal, const char *algs) argument 181 if ((cp = match_list(proposal, algs, NULL)) == NULL)
|
H A D | kex.c | 258 char *alg, *oalgs, *algs, *sigalgs; local 270 oalgs = algs = xstrdup(allowed_algs); 273 for ((alg = strsep(&algs, ",")); alg != NULL && *alg != '\0'; 274 (alg = strsep(&algs, ","))) { 300 (r = sshbuf_put_cstring(m, "server-sig-algs")) != 0 || 378 (r = sshpkt_put_cstring(ssh, "server-sig-algs")) != 0 || 428 if (strcmp(name, "server-sig-algs") == 0) {
|
H A D | sshconnect2.c | 104 first_alg(const char *algs) argument 108 ret = xstrdup(algs); 1144 * Call with ssh==NULL to ignore server-sig-algs extension list and
|