Table of Contents

Class FfcDomain

Namespace
Kdf108
Assembly
Kdf108.dll

Validated finite-field domain parameters: a named safe-prime group or FIPS 186-type parameters.

public sealed class FfcDomain
Inheritance
FfcDomain
Inherited Members

Properties

Assurance

How validity was established for FIPS 186-type parameters.

public FfcDomainAssurance? Assurance { get; }

Property Value

FfcDomainAssurance

Group

The named group, or null for FIPS 186-type parameters.

public FfcSafePrimeGroup? Group { get; }

Property Value

FfcSafePrimeGroup?

ModulusBits

The bit length of p, which is also the bit length of Z.

public int ModulusBits { get; }

Property Value

int

Methods

ImportFips186(ReadOnlySpan<byte>, ReadOnlySpan<byte>, ReadOnlySpan<byte>, FfcDomainAssurance)

Imports and validates FIPS 186-type parameters from the FB (2048/224) or FC (2048/256) size set.

public static FfcDomain ImportFips186(ReadOnlySpan<byte> p, ReadOnlySpan<byte> q, ReadOnlySpan<byte> g, FfcDomainAssurance assurance)

Parameters

p ReadOnlySpan<byte>
q ReadOnlySpan<byte>
g ReadOnlySpan<byte>
assurance FfcDomainAssurance

Returns

FfcDomain

Named(FfcSafePrimeGroup)

A named safe-prime group (q = (p - 1) / 2).

public static FfcDomain Named(FfcSafePrimeGroup group)

Parameters

group FfcSafePrimeGroup

Returns

FfcDomain