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
45 // num_calls is the number of function calls done in the time period.
47 // us is the number of microseconds that elapsed in the time period.
51 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls,
57 printf("Did %u %s operations in %uus (%.1f ops/sec): %.1f MB/s\n",
169 static uint8_t *align(uint8_t *in, unsigned alignment) {
171 (reinterpret_cast<uintptr_t>(in) + alignment) &
193 uint8_t *const in = align(in_storage.get(), kAlignment);
194 memset(in, 0, chunk_len);
207 if (!TimeFunction(&results, [chunk_len, overhead_len, nonce_len, ad_len, in,
213 nonce_len, in, chunk_len, ad.get(), ad_len);
442 uint8_t out[32], in[32];
443 memset(in, 0, sizeof(in));
444 X25519_public_from_private(out, in);
525 // via the AEAD interface. In order for that to work, they have some TLS
526 // knowledge in them and construct a couple of the AD bytes internally.