Lines Matching refs:in
79 Span<const uint8_t> in) { in crypto_md32_update() argument
81 if (in.empty()) { in crypto_md32_update()
85 uint32_t l = ctx->Nl + ((static_cast<uint32_t>(in.size())) << 3); in crypto_md32_update()
90 ctx->Nh += static_cast<uint32_t>(in.size() >> 29); in crypto_md32_update()
95 if (in.size() >= Traits::kBlockSize || in crypto_md32_update()
96 in.size() + n >= Traits::kBlockSize) { in crypto_md32_update()
97 OPENSSL_memcpy(ctx->data + n, in.data(), Traits::kBlockSize - n); in crypto_md32_update()
99 in = in.subspan(Traits::kBlockSize - n); in crypto_md32_update()
104 OPENSSL_memcpy(ctx->data + n, in.data(), in.size()); in crypto_md32_update()
105 ctx->num += static_cast<unsigned>(in.size()); in crypto_md32_update()
110 n = in.size() / Traits::kBlockSize; in crypto_md32_update()
112 Traits::HashBlocks(ctx->h, in.data(), n); in crypto_md32_update()
113 in = in.subspan(n * Traits::kBlockSize); in crypto_md32_update()
116 if (!in.empty()) { in crypto_md32_update()
117 ctx->num = static_cast<unsigned>(in.size()); in crypto_md32_update()
118 OPENSSL_memcpy(ctx->data, in.data(), in.size()); in crypto_md32_update()