summary refs log tree commit diff
path: root/crypto/src/crypto/IRawAgreement.cs
blob: 63e6648880fd963a8edc7544288dc051082dd973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;

namespace Org.BouncyCastle.Crypto
{
    public interface IRawAgreement
    {
        void Init(ICipherParameters parameters);

        int AgreementSize { get; }

        void CalculateAgreement(ICipherParameters publicKey, byte[] buf, int off);
    }
}