Struct tomcrypt_sys::dsa_key
[−]
[src]
#[repr(C)]pub struct dsa_key { pub type_: c_int, pub qord: c_int, pub g: *mut c_void, pub q: *mut c_void, pub p: *mut c_void, pub x: *mut c_void, pub y: *mut c_void, }
DSA key structure
Fields
type_: c_int
The key type, PK_PRIVATE or PK_PUBLIC
qord: c_int
The order of the sub-group used in octets
g: *mut c_void
The generator
q: *mut c_void
The prime used to generate the sub-group
p: *mut c_void
The large prime that generats the field the contains the sub-group
x: *mut c_void
The private key
y: *mut c_void
The public key