8000 implementation of from_be_bytes in math_integers is missing · Issue #362 · hacspec/hacspec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
implementation of from_be_bytes in math_integers is missing #362
Open
@Gyuude

Description

@Gyuude

Most if the functions to create abstract integers from bytes are implemented but all use the from_be_bytes function which isn't implemented in the library

impl UnsignedSecretInteger for $name {
#[cfg_attr(feature = "use_attributes", in_hacspec)]
fn to_le_bytes(self) -> Seq<U8> {
unimplemented!();
}
#[cfg_attr(feature = "use_attributes", in_hacspec)]
fn to_be_bytes(self) -> Seq<U8> {
unimplemented!();
}
#[cfg_attr(feature = "use_attributes", in_hacspec)]
fn from_le_bytes(x: &Seq<U8>) -> Self {
unimplemented!();
}
#[cfg_attr(feature = "use_attributes", in_hacspec)]
fn from_be_bytes(x: &Seq<U8>) -> Self {
unimplemented!();
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0