Research Article
Novel Framework for Secure Data Aggregation in Precision Agriculture with Extensive Energy Efficiency
Algorithm 2
Authenticating aggregation.
| | Input: n | | | Output: Authagg | | | Start | | (1) | For i = 1 : n | | (2) | λ:(η2 ← η1 × η1) | | (3) | select (a, b) ∈ Z, alloc αo, α2, α3 | | (4) | (βi, pri) = [γ1(ideni), a(pri)] | | (5) | gen st = (τ1i, τ2i, ideni, msg) | | (6) | For j = 1: n | | (7) | If λ(cond1) = λ(cond2) | | (8) | successful authentication | | (9) | End | | (10) | χ = f3(attr), τ1j = f4(χ, τ1j) | | (11) | If λ(cond3) = λ(cond4) | | (12) | Authagg ⟶ authenticated aggregation | | (13) | End | | (14) | End | | (15) | End | | | End |
|