Lines Matching refs:cipher
143 printf("Testing cipher %s%s\n", EVP_CIPHER_name(c),
377 static int test_cipher(const char *cipher, const unsigned char *key, int kn,
386 c = EVP_get_cipherbyname(cipher);
491 * It'll prevent ENGINEs being ENGINE_init()ialised for cipher/digest use
500 char *cipher;
512 cipher = sstrsep(&p, ":");
547 (cipher, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an,
549 && !test_digest(cipher, plaintext, pn, ciphertext, cn)) {
551 if (strstr(cipher, "AES") == cipher) {
552 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
557 if (strstr(cipher, "DES") == cipher) {
558 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
563 if (strstr(cipher, "RC4") == cipher) {
564 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
569 if (strstr(cipher, "CAMELLIA") == cipher) {
570 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
575 if (strstr(cipher, "SEED") == cipher) {
576 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
580 fprintf(stderr, "Can't find %s\n", cipher);