chromium/third_party/distributed_point_functions/code/dpf/aes_128_fixed_key_hash.cc

/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "dpf/aes_128_fixed_key_hash.h"

#include <stdint.h>

#include <algorithm>
#include <array>
#include <string>
#include <utility>

#include "absl/numeric/int128.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/types/span.h"
#include "openssl/err.h"

namespace distributed_point_functions {

Aes128FixedKeyHash::Aes128FixedKeyHash(
    bssl::UniquePtr<EVP_CIPHER_CTX> cipher_ctx, absl::uint128 key)
    :{}

absl::StatusOr<Aes128FixedKeyHash> Aes128FixedKeyHash::Create(
    absl::uint128 key) {}

absl::Status Aes128FixedKeyHash::Evaluate(absl::Span<const absl::uint128> in,
                                          absl::Span<absl::uint128> out) const {}

}  // namespace distributed_point_functions