public KeyConfirmationFactory(IKeyConfirmationMacDataCreator macDataCreator) { _macDataCreator = macDataCreator; _cmacFactory = new CmacFactory(new BlockCipherEngineFactory(), new ModeBlockCipherFactory()); _hmacFactory = new HmacFactory(new NativeShaFactory()); _kmacFactory = new KmacFactory(new CSHAKEWrapper()); }
public KeyConfirmationHmac( IKeyConfirmationMacDataCreator macDataCreator, IKeyConfirmationParameters keyConfirmationParameters, IHmac iHmac) : base(macDataCreator, keyConfirmationParameters) { _iHmac = iHmac; _keyConfirmationParameters = keyConfirmationParameters; }
public KeyConfirmationKmac( IKeyConfirmationMacDataCreator macDataCreator, IKeyConfirmationParameters keyConfirmationParameters, IKmacFactory kmacFactory, int capacity) : base(macDataCreator, keyConfirmationParameters) { _kmacFactory = kmacFactory; _capacity = capacity; }
public KeyConfirmationAesCcm( IKeyConfirmationMacDataCreator macDataCreator, IKeyConfirmationParameters keyConfirmationParameters, IAeadModeBlockCipher ccm ) : base(macDataCreator, keyConfirmationParameters) { _ccm = ccm; _keyConfirmationParameters = keyConfirmationParameters; }
public FakeKeyConfirmationMacDataCreator(IKeyConfirmationMacDataCreator keyConfirmationMacDataCreator) { _keyConfirmationMacDataCreator = keyConfirmationMacDataCreator; }
protected KeyConfirmationBase(IKeyConfirmationMacDataCreator macDataCreator, IKeyConfirmationParameters keyConfirmationParameters) { _macDataCreator = macDataCreator; _keyConfirmationParameters = keyConfirmationParameters; }
public FakeKeyConfirmationBase(IKeyConfirmationMacDataCreator macDataCreator, IKeyConfirmationParameters keyConfirmationParameters) : base(macDataCreator, keyConfirmationParameters) { }