Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

v0.2.0

Choose a tag to compare

@PlexSheep PlexSheep released this 30 Nov 17:42
d319d15

0.2.0 (2024-11-29)

Features

  • bint: convert u256 to bytes (a270c86)
  • bint: create easy-bint crate (7a72202)
  • bint: more implementation for bint (xor, conversion, accessing parts) (c9f3210)
  • bint: more trait impls for u256 (bdc3716)
  • bint: reverse_bits for u256 + doc and debug improvements (c39483b)
  • bint: shift left and right by one (bbae096)
  • bint: swap parts and swap bytes for u256 (45c4303)
  • bint: u256 displays and order (b41454a)
  • bint: u256 with add and shl (86fad87)
  • cipher: build gcm datatypes and function definitions (b329608)
  • cipher: ghash (e7fbe19)
  • cipher: implement parts of gcm_encrypt (f70af0c)
  • cipher: make gcm encrypt and decrypt work (984effe)
  • cipher: make GcmEncrypt action work (18133f9)
  • cipher: PrimitiveAlgorithm enum (1af49e2)
  • common: run with timeout (8db1e80)
  • ffield: acccept gcm semantic polynomials (6ebce72)
  • ffield: general gfmul but with bugs (26345b1)
  • ffield: mul any polynom (dad38a1)
  • ffield: poly2block can do gcm sem now (eb33d5d)
  • oracle: guess the last 13 byte for the test (4e7a2f3)
  • oracle: make some requests that don't yet lead anywhere (a800db6)
  • oracle: verify candidate function (c9b73bf)
  • pad: pad structure (7a3cd0c)
  • padsim: add padding with pkcs7 in a new crate (4f4969b)
  • padsim: allow printing out an encrypted block (f400df6)
  • padsim: encrypt and decrypt with pkcs7 and xor (9410137)
  • padsim: make it an executable (2b1f0ed)
  • padsim: server maybe works (5db304e)
  • padsim: show example q and plaintext when no q was correct (cb615b5)

Bug Fixes

  • cipher: ghash calculated L badly (6a54805)
  • cipher: ghash didn't append the modified ciphertext to all (93156ef)
  • cipher: only do the verbose prints if verbose is actually set (0d118bf)
  • did not use run_challenges_mt when available (5b1d67f)
  • ffield: convert back to the requested semantic for gfmul (037e21e)
  • ffield: convert to the requested semantic, instead of just gcm (214cf58)
  • oracle: include 0xff case, which for somereason is the 256th byte (a5220e0)
  • oracle: make the padding oracle abuse work (47d6721)
  • oracle: verify function was bad (5606b86)
  • padsim: answers were given in wrong sorting (707b5ad)
  • padsim: clear answers after evaluation, remove bad assert (ef4f6f5)
  • padsim: remove unnecessary input length for --encrypt (2eaac05)
  • padsim: some logs were not prefixed correctly, print indexes of correct q's (2c68c00)
  • padsim: test for lib used wrong signatures (72e24ec)