Logo
Explore Help
Sign In
absolutebi/serai
1
0
Fork 0
You've already forked serai
mirror of https://github.com/serai-dex/serai.git synced 2025-12-09 04:39:24 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
f029471f9fd27a4ed83a0f5632af6681cef00883
serai/crypto/tables/Cargo.toml

17 lines
380 B
TOML
Raw Normal View History

Initial work on a tables lib Incomplete lib intended to offer tables for all cryptographic libraries expecting them. Right now, it creates the tables at runtime. While that would still offer improvements, ideally large tables are built at compile time and simply entered into memory at runtime. My best idea for that was a linked list in the binary itself, where this app (at first call), reads a table stored to a section of data, then grabs the next reference to one and continues reading. The main issue with this idea, besides not yet researching how to encode data into the binary, was the fact the same table would be saved to disk multiple times under this simplistic model. An O(n) iteration when writing to the bin could potentially solve that. Related https://github.com/serai-dex/serai/issues/41.
2022-07-16 16:25:55 -04:00
[package]
name = "tables"
version = "0.1.0"
description = "Efficient multiplication tables for ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
keywords = ["ff", "group"]
edition = "2021"
[dependencies]
ff = "0.12"
group = "0.12"
[dev-dependencies]
k256 = { version = "0.11", features = ["bits"] }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 40ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API