|
myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
|
Software AES-128 with Matyas-Meyer-Oseas as a PRG. More...
Public Member Functions | |
| Aes128Soft (const uint8_t keys[][16], const uint32_t *te0, const uint8_t *sbox) | |
| Constructor. | |
| cuda::std::array< int4, mul > | Gen (int4 seed) |
Software AES-128 with Matyas-Meyer-Oseas as a PRG.
Works on both host and device side.
| mul | See Prgable mul. |
|
inline |
Constructor.
| keys | mul 16-byte AES-128 keys. |
| te0 | Pointer to the 256-entry AES T-table (uint32_t[256]). |
| sbox | Pointer to the AES S-box (uint8_t[256]). |
On device, both should point to shared memory initialized via InitTe0() and InitSbox(). On host, call InitTe0()/InitSbox() on stack arrays and pass them.