Home | History | Annotate | Download | only in test

Lines Matching defs:KEY

24 static const unsigned char KEY[] = {
38 static int do_bio_cipher(const EVP_CIPHER* cipher, const unsigned char* key,
54 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT)))
63 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) {
90 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) {
111 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, DECRYPT)))
126 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, DECRYPT))) {
153 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, DECRYPT))) {
178 return do_bio_cipher(cipher, KEY, NULL);
180 return do_bio_cipher(cipher, KEY, IV);