Module extension

Source
Expand description

Fast OT extension using optimized [IKNP03] (semi-honest) or [KOS15] (malicious) protocol.

The protocols are optimized for the availability of aes and avx2 target features for the semi-honest protocol and additionally pclmulqdq for the malicious protocol.

§Batching

The protocols automatically compute the OTs in batches to increase throughput. The DEFAULT_OT_BATCH_SIZE has been chosen to maximise throughput in very low latency settings for large numbers of OTs. The batch size can changed using the corresponding methods on the sender and receiver (e.g. OtExtensionSender::with_batch_size).

Structs§

OtExtensionReceiver
OT extension receiver generic over its Security level.
OtExtensionSender
OT extension sender generic over its Security level.

Enums§

Error
Error type returned by the OT extension protocols.

Constants§

BASE_OT_COUNT
DEFAULT_OT_BATCH_SIZE

Type Aliases§

MaliciousOtExtensionReceiver
Malicious OT extension receiver alias.
MaliciousOtExtensionSender
Malicious OT extension sender alias.
SemiHonestOtExtensionReceiver
SemiHonest OT extension receiver alias.
SemiHonestOtExtensionSender
SemiHonest OT extension sender alias.