Lines Matching refs:cipher
146 printf("Testing cipher %s%s\n",EVP_CIPHER_name(c),
244 static int test_cipher(const char *cipher,const unsigned char *key,int kn,
252 c=EVP_get_cipherbyname(cipher);
359 * It'll prevent ENGINEs being ENGINE_init()ialised for cipher/digest use if
368 char *cipher;
378 cipher=sstrsep(&p,":");
396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec)
397 && !test_digest(cipher,plaintext,pn,ciphertext,cn))
400 if (strstr(cipher, "AES") == cipher)
402 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
407 if (strstr(cipher, "DES") == cipher)
409 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
414 if (strstr(cipher, "RC4") == cipher)
416 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
421 if (strstr(cipher, "CAMELLIA") == cipher)
423 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
428 if (strstr(cipher, "SEED") == cipher)
430 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
434 fprintf(stderr,"Can't find %s\n",cipher);