|
Botan
1.11.15
|
Classes | |
| class | Gf2m_Field |
Typedefs | |
| typedef u16bit | gf2m |
Functions | |
| gf2m | decode_gf2m (const byte *mem) |
| u32bit | encode_gf2m (gf2m to_enc, byte *mem) |
| typedef u16bit Botan::gf2m_small_m::gf2m |
Definition at line 22 of file gf2m_small_m.h.
| gf2m Botan::gf2m_small_m::decode_gf2m | ( | const byte * | mem | ) |
Definition at line 52 of file gf2m_small_m.cpp.
Referenced by Botan::polyn_gf2m::polyn_gf2m().
{
gf2m result;
result = mem[0] << 8;
result |= mem[1];
return result;
}
| u32bit Botan::gf2m_small_m::encode_gf2m | ( | gf2m | to_enc, |
| byte * | mem | ||
| ) |
Definition at line 45 of file gf2m_small_m.cpp.
{
mem[0] = to_enc >> 8;
mem[1] = to_enc & 0xFF;
return sizeof(to_enc);
}
1.7.6.1