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§
- OtExtension
Receiver - OT extension receiver generic over its
Security
level. - OtExtension
Sender - OT extension sender generic over its
Security
level.
Enums§
- Error
- Error type returned by the OT extension protocols.
Constants§
Type Aliases§
- Malicious
OtExtension Receiver - Malicious OT extension receiver alias.
- Malicious
OtExtension Sender - Malicious OT extension sender alias.
- Semi
Honest OtExtension Receiver - SemiHonest OT extension receiver alias.
- Semi
Honest OtExtension Sender - SemiHonest OT extension sender alias.