#[repr(C)]pub struct Ed25519VerifyInternalArgs {Show 14 fields
pub public_key_ptr: u64,
pub public_key_size: u32,
pub public_key_capacity: u32,
pub signature_ptr: u64,
pub signature_size: u32,
pub signature_capacity: u32,
pub message_ptr: u64,
pub message_size: u32,
pub message_capacity: u32,
pub result_ptr: u64,
pub public_key: Ed25519PublicKey,
pub signature: Ed25519Signature,
pub message: [u8; 32],
pub result: Bool,
}Expand description
Helper data structure for Benchmarks::ed25519_verify() method
Fields§
§public_key_ptr: u64§public_key_size: u32§public_key_capacity: u32§signature_ptr: u64§signature_size: u32§signature_capacity: u32§message_ptr: u64§message_size: u32§message_capacity: u32§result_ptr: u64§public_key: Ed25519PublicKey§signature: Ed25519Signature§message: [u8; 32]§result: BoolImplementations§
Source§impl Ed25519VerifyInternalArgs
impl Ed25519VerifyInternalArgs
Sourcepub fn new(
internal_args_addr: u64,
public_key: Ed25519PublicKey,
signature: Ed25519Signature,
message: [u8; 32],
) -> Self
pub fn new( internal_args_addr: u64, public_key: Ed25519PublicKey, signature: Ed25519Signature, message: [u8; 32], ) -> Self
Create a new instance
Trait Implementations§
Source§impl Clone for Ed25519VerifyInternalArgs
impl Clone for Ed25519VerifyInternalArgs
Source§fn clone(&self) -> Ed25519VerifyInternalArgs
fn clone(&self) -> Ed25519VerifyInternalArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ed25519VerifyInternalArgs
impl Debug for Ed25519VerifyInternalArgs
impl Copy for Ed25519VerifyInternalArgs
Auto Trait Implementations§
impl Freeze for Ed25519VerifyInternalArgs
impl RefUnwindSafe for Ed25519VerifyInternalArgs
impl Send for Ed25519VerifyInternalArgs
impl Sync for Ed25519VerifyInternalArgs
impl Unpin for Ed25519VerifyInternalArgs
impl UnwindSafe for Ed25519VerifyInternalArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more