Skip to content

Commit

Permalink
Fix license identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
myl7 committed Jun 27, 2024
1 parent 728f9e0 commit 7097fb7
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion benches/dcf_eval.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dcf_eval_batch.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dcf_full_eval.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dcf_gen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dpf_eval.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dpf_eval_batch.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dpf_full_eval.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/dpf_gen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use rand::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion src/dcf/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! See [`Dcf`]
Expand Down
2 changes: 1 addition & 1 deletion src/dcf/prg.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! [`super::Prg`] integrated impl and [`crate::PrgBytes`] impl
Expand Down
2 changes: 1 addition & 1 deletion src/dpf/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! See [`Dpf`]
Expand Down
2 changes: 1 addition & 1 deletion src/dpf/prg.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! [`super::Prg`] integrated impl and [`crate::PrgBytes`] impl
Expand Down
2 changes: 1 addition & 1 deletion src/group/byte.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! Group of bytes
//!
Expand Down
2 changes: 1 addition & 1 deletion src/group/int.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! Group of an integer which defines addition as integer (wrapping) addition
//!
Expand Down
2 changes: 1 addition & 1 deletion src/group/int_prime.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! Group of an integer which is a `$p$`-group.
//! `MOD` as the `$p$` is a prime number as the cardinality of the group.
Expand Down
2 changes: 1 addition & 1 deletion src/group/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! See [`Group`]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

//! Many variable names together with the LaTeX math expressions in the doc comment are from the paper _Function Secret Sharing for Mixed-Mode and Fixed-Point Secure Computation_
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) myl7
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 Yulong Ming (myl7)

use std::simd::{u8x16, u8x32, u8x64};

Expand Down

0 comments on commit 7097fb7

Please sign in to comment.