Lines Matching defs:out
33 static unsigned char out[80];
35 static const unsigned char text[] = "Hello to all people out there";
66 IDEA_ecb_encrypt(in, out, &key);
67 if (!TEST_mem_eq(out, IDEA_BLOCK, c, sizeof(c)))
71 IDEA_ecb_encrypt(c, out, &dkey);
72 return TEST_mem_eq(out, IDEA_BLOCK, in, sizeof(in));
84 IDEA_cbc_encrypt(text, out, text_len, &key, iv, 1);
86 IDEA_cbc_encrypt(out, out, IDEA_BLOCK, &dkey, iv, 0);
87 IDEA_cbc_encrypt(&out[8], &out[8], text_len - 8, &dkey, iv, 0);
88 return TEST_mem_eq(text, text_len, out, text_len);