public KeyConfirmationFactory(IKeyConfirmationMacDataCreator macDataCreator) { _macDataCreator = macDataCreator; _cmacFactory = new CmacFactory(new BlockCipherEngineFactory(), new ModeBlockCipherFactory()); _hmacFactory = new HmacFactory(new NativeShaFactory()); _kmacFactory = new KmacFactory(new CSHAKEWrapper()); }
public KeyConfirmationKmac( IKeyConfirmationMacDataCreator macDataCreator, IKeyConfirmationParameters keyConfirmationParameters, IKmacFactory kmacFactory, int capacity) : base(macDataCreator, keyConfirmationParameters) { _kmacFactory = kmacFactory; _capacity = capacity; }
public KdfOneStepFactory(IShaFactory shaFactory, IHmacFactory hmacFactory, IKmacFactory kmacFactory) { _shaFactory = shaFactory; _hmacFactory = hmacFactory; _kmacFactory = kmacFactory; }
public KdfKmac(IKmacFactory kmacFactory, int capacity, bool useCounter) { _kmacFactory = kmacFactory; _capacity = capacity; UseCounter = useCounter; }