Lines Matching refs:cipher
145 printf("Testing cipher %s%s\n", EVP_CIPHER_name(c),
379 static int test_cipher(const char *cipher, const unsigned char *key, int kn,
388 c = EVP_get_cipherbyname(cipher);
493 * It'll prevent ENGINEs being ENGINE_init()ialised for cipher/digest use
502 char *cipher;
514 cipher = sstrsep(&p, ":");
549 (cipher, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an,
551 && !test_digest(cipher, plaintext, pn, ciphertext, cn)) {
553 if (strstr(cipher, "AES") == cipher) {
554 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
559 if (strstr(cipher, "DES") == cipher) {
560 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
565 if (strstr(cipher, "RC4") == cipher) {
566 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
571 if (strstr(cipher, "CAMELLIA") == cipher) {
572 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
577 if (strstr(cipher, "SEED") == cipher) {
578 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
582 fprintf(stderr, "Can't find %s\n", cipher);