public KeyConfirmationFactory(IKeyConfirmationMacDataCreator macDataCreator) { _macDataCreator = macDataCreator; _cmacFactory = new CmacFactory(new BlockCipherEngineFactory(), new ModeBlockCipherFactory()); _hmacFactory = new HmacFactory(new NativeShaFactory()); _kmacFactory = new KmacFactory(new CSHAKEWrapper()); }
public KdfMultiExpansionVisitor( IKdfFactory kdfTwoStepFactory, IHkdfFactory hkdfFactory, ICmacFactory cmacFactory, IHmacFactory hmacFactory ) { _kdfTwoStepFactory = kdfTwoStepFactory; _hkdfFactory = hkdfFactory; _cmacFactory = cmacFactory; _hmacFactory = hmacFactory; }
public KdfVisitor(IKdfOneStepFactory kdfOneStepFactory, IKdfFactory kdfTwoStepFactory, IHmacFactory hmacFactory, ICmacFactory cmacFactory, IIkeV1Factory ikeV1Factory, IIkeV2Factory ikeV2Factory, ITlsKdfFactory tlsFactory, IHkdfFactory hkdfFactory) { _kdfOneStepFactory = kdfOneStepFactory; _kdfTwoStepFactory = kdfTwoStepFactory; _hmacFactory = hmacFactory; _cmacFactory = cmacFactory; _ikeV1Factory = ikeV1Factory; _ikeV2Factory = ikeV2Factory; _tlsFactory = tlsFactory; _hkdfFactory = hkdfFactory; }
public NoKeyConfirmationFactory(INoKeyConfirmationMacDataCreator macDataCreator) { _macDataCreator = macDataCreator; _cmacFactory = new CmacFactory(new BlockCipherEngineFactory(), new ModeBlockCipherFactory()); _hmacFactory = new HmacFactory(new NativeShaFactory()); }
public KdfFactory(ICmacFactory cmacFactory, IHmacFactory hmacFactory) { _cmacFactory = cmacFactory; _hmacFactory = hmacFactory; }