AES-128 with Matyas-Meyer-Oseas and pre-initialized cipher contexts as a PRG.
More...
|
| | Aes128Mmo (cuda::std::span< EVP_CIPHER_CTX *, mul > ctxs) |
| | Constructor.
|
| |
|
cuda::std::array< int4, mul > | Gen (int4 seed) |
| |
|
| static cuda::std::array< EVP_CIPHER_CTX *, mul > | CreateCtxs (const unsigned char *keys[mul]) |
| | Create cipher contexts.
|
| |
|
static void | FreeCtxs (cuda::std::span< EVP_CIPHER_CTX *, mul > ctxs) |
| |
template<int mul>
class fss::prg::Aes128Mmo< mul >
AES-128 with Matyas-Meyer-Oseas and pre-initialized cipher contexts as a PRG.
Only for host side.
- Template Parameters
-
◆ Aes128Mmo()
Constructor.
- Parameters
-
| ctxs | Generated by CreateCtxs() and freed by FreeCtxs(). Read-only and can be shared by multiple instances. Users are responsible for managing their lifetime. |
◆ CreateCtxs()
template<int mul>
| static cuda::std::array< EVP_CIPHER_CTX *, mul > fss::prg::Aes128Mmo< mul >::CreateCtxs |
( |
const unsigned char * |
keys[mul] | ) |
|
|
inlinestatic |
Create cipher contexts.
- Parameters
-
| keys | mul 16B AES-128 keys. |
The documentation for this class was generated from the following file: