|
myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
|
AES-128 with Matyas-Meyer-Oseas and pre-initialized cipher contexts as a PRG. More...
Public Member Functions | |
| Aes128Mmo (cuda::std::span< EVP_CIPHER_CTX *, mul > ctxs) | |
| Constructor. | |
Static Public Member Functions | |
| static cuda::std::array< EVP_CIPHER_CTX *, mul > | CreateCtxs (const unsigned char *keys[mul]) |
| Create cipher contexts. | |
AES-128 with Matyas-Meyer-Oseas and pre-initialized cipher contexts as a PRG.
Only for host side.
| mul | See Prgable mul. |
|
inline |
Constructor.
| ctxs | Generated by CreateCtxs() and freed by FreeCtxs(). Read-only and can be shared by multiple instances. Users are responsible for managing their lifetime. |
|
inlinestatic |
Create cipher contexts.
| keys | mul 16B AES-128 keys. |