Lines Matching defs:in
5 * copyright notice and this permission notice appear in all copies.
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
23 #include <netinet/in.h>
216 static bool HexDecode(std::string *out, const std::string &in) {
217 if ((in.size() & 1) != 0) {
221 std::unique_ptr<uint8_t[]> buf(new uint8_t[in.size() / 2]);
222 for (size_t i = 0; i < in.size() / 2; i++) {
224 if (!FromHexDigit(&high, in[i*2]) ||
225 !FromHexDigit(&low, in[i*2+1])) {
231 out->assign(reinterpret_cast<const char *>(buf.get()), in.size() / 2);
235 static std::vector<std::string> SplitParts(const std::string &in,
240 for (size_t i = 0; i < in.size(); i++) {
241 if (in[i] == delim) {
242 ret.push_back(in.substr(start, i - start));
247 ret.push_back(in.substr(start, std::string::npos));
299 uint16_t signature_algorithm, const uint8_t *in, size_t in_len) {
361 if (!EVP_DigestSign(ctx.get(), nullptr, &len, in, in_len)) {
366 in, in_len)) {
371 // The signature will be released asynchronously in |AsyncPrivateKeyComplete|.
377 const uint8_t *in, size_t in_len) {
393 RSA_size(rsa), in, in_len, RSA_NO_PADDING)) {
399 // The decryption will be released asynchronously in |AsyncPrivateComplete|.
570 // Install the certificate in the early callback.
610 fprintf(stderr, "expected %u names in CertificateRequest but got %u\n",
619 fprintf(stderr, "names in CertificateRequest differ at index #%d\n",
697 fprintf(stderr, "OCSP response not available in verify callback\n");
740 const uint8_t* in, unsigned inlen, void* arg) {
752 const uint8_t* in, unsigned inlen, void* arg) {
767 OPENSSL_memcmp(config->expected_advertised_alpn.data(), in, inlen) !=
1051 // failures in the test runner.
1344 // WriteAll writes |in_len| bytes from |in| to |ssl|, resolving any asynchronous
1347 const uint8_t *in = reinterpret_cast<const uint8_t *>(in_);
1351 ret = SSL_write(ssl, in, in_len);
1353 in += ret;
1531 // Session tickets are sent post-handshake in TLS 1.3.
1698 // Treat write_settings as a path prefix for each connection in the run.
2010 // After reseting, the socket should report it is no longer in an early data
2055 // Reset the state to assert later that the callback isn't called in
2108 // This mode writes a number of different record sizes in an attempt to
2150 // Read only 512 bytes at a time in TLS to ensure records may be
2151 // returned in multiple reads.
2216 // Session tickets are sent post-handshake in TLS 1.3.
2254 // We initiate shutdown, so |SSL_shutdown| will return in two stages. First