Lines Matching defs:obuf
63 uint8_t obuf[CRYPTO_BUFFER_SIZE];
96 if (!EVP_EncryptUpdate(ctx, obuf, &len, ibuf, r))
98 if (len && fwrite(obuf, len, 1, out) != 1)
105 if (!EVP_EncryptFinal_ex(ctx, obuf, &len))
107 if (len && fwrite(obuf, len, 1, out) != 1)
128 uint8_t obuf[CRYPTO_BUFFER_SIZE];
187 if (!EVP_DecryptUpdate(ctx, obuf, &len, ibuf, r))
189 if (len && fwrite(obuf, len, 1, out) != 1)
197 if (!EVP_DecryptFinal_ex(ctx, obuf, &len))
199 if (len && fwrite(obuf, len, 1, out) != 1)