Lines Matching defs:ctr
365 char ctr[MAX_DATA_LEN];
570 fail ("aes-ctr, gcry_cipher_open failed: %s\n", gpg_strerror (err));
577 fail ("aes-ctr, gcry_cipher_get_algo_keylen failed\n");
586 fail ("aes-ctr, gcry_cipher_setkey failed: %s\n",
596 fail ("aes-ctr, gcry_cipher_get_algo_blklen failed\n");
600 err = gcry_cipher_setctr (hde, tv[i].ctr, blklen);
602 err = gcry_cipher_setctr (hdd, tv[i].ctr, blklen);
605 fail ("aes-ctr, gcry_cipher_setctr failed: %s\n",
625 fail ("aes-ctr, gcry_cipher_encrypt (%d, %d) failed: %s\n",
634 fail ("aes-ctr, encrypt mismatch entry %d:%d\n", i, j);
642 fail ("aes-ctr, gcry_cipher_decrypt (%d, %d) failed: %s\n",
651 fail ("aes-ctr, decrypt mismatch entry %d:%d\n", i, j);
663 fail ("aes-ctr, encryption failed for valid input");
668 fail ("aes-ctr, too short output buffer returned wrong error: %s\n",
674 fail ("aes-ctr, 0 length output buffer returned wrong error: %s\n",
680 fail ("aes-ctr, correct length output buffer returned error: %s\n",
687 fail ("aes-ctr, decryption failed for valid input");
692 fail ("aes-ctr, too short output buffer returned wrong error: %s\n",
698 fail ("aes-ctr, 0 length output buffer returned wrong error: %s\n",
704 fail ("aes-ctr, correct length output buffer returned error: %s\n",