/** * kMOSAIC Parameter Sets * * Security Analysis: * - SLSS: Based on LWE hardness with sparse secrets. Security ≈ n * log2(q) / (2 * sigma²) * - TDD: Tensor rank decomposition is NP-hard. Security ≈ n² * log2(r) bits * - EGRW: SL(2,Z_p) Cayley graph with 4 generators. Security = k * log2(4) = 2k bits * (k=128 gives 256 bits, k=256 gives 512 bits) * * Performance Considerations: * - SLSS: O(m*n) for encryption, O(n) for decryption * - TDD: O(n³) for tensor operations - MOST EXPENSIVE * - EGRW: O(k) for path computation - FASTEST */ import { type MOSAICParams, SecurityLevel } from '../types.js'; /** * MOS-128: 128-bit post-quantum security * * Target: Heterogeneous hardness with defense-in-depth * Combined security: Breaking all 3 required for compromise * * Optimizations vs original: * - TDD n reduced: 32→24 (saves 57.8% tensor operations) * - SLSS m increased: 256→384 (better LWE security margin) * - EGRW k=128 (provides 256 bits from 2k entropy) */ export declare const MOS_128: MOSAICParams; /** * MOS-256: 256-bit post-quantum security * * Target: Heterogeneous hardness with defense-in-depth * Combined security: Breaking all 3 required for compromise * * Optimizations: * - TDD n reduced: 48→36 (saves 57.8% tensor operations) * - Maintains high security margin across all problems */ export declare const MOS_256: MOSAICParams; /** * Get parameters for a security level * * @param level - The desired security level (MOS_128 or MOS_256) * @returns The corresponding parameter set * @throws Error if the security level is unknown */ export declare function getParams(level: SecurityLevel): MOSAICParams; /** * Validate parameters with security checks * * Ensures that the parameters meet minimum security requirements and * are consistent with the algorithm's constraints. * * @param params - The parameter set to validate * @throws Error if any parameter is invalid or insecure */ export declare function validateParams(params: MOSAICParams): void; //# sourceMappingURL=params.d.ts.map