Lines Matching refs:outlen
60 int outlen, tmplen;
85 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt)))
89 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen))
91 outlen += tmplen;
94 printf("Ciphertext (outlen:%d):\n", outlen);
95 BIO_dump_fp(stdout, outbuf, outlen);
97 if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen))
118 int outlen, tmplen, rv;
141 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, cbc_ct, sizeof(cbc_ct)))
145 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen))
147 outlen += tmplen;
150 printf("Plaintext (outlen:%d):\n", outlen);
151 BIO_dump_fp(stdout, outbuf, outlen);
153 if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_pt, outlen))