samkim-crypto

Results 31 issues of samkim-crypto

#### Problem The problem is shared with https://github.com/solana-labs/solana/pull/34747. #### Summary of Changes Restrict the bit-length in a 256-bit range proof to 128. This is a follow-up to https://github.com/solana-labs/solana/pull/34747. Since this...

#### Problem The curve25519 syscalls have an operation called the multiscalar multiplication (MSM), which computes the inner product of a vector scalar and curve points. The larger the vectors are,...

v1.17

#### Problem Due to the differences in the way `value_of` and `is_present` functions behave in clap-v2 and clap-v3, the `try_` versions of different key parsers were added in https://github.com/solana-labs/solana/pull/33184. However,...

#### Problem In clap-v3, the `Arg::validator` is deprecated and replaced with `Arg::value_parser`. The idea is that when we validate an argument input, we generally parse the input, so dividing validation...

#### Problem #### Summary of Changes Fixes #

work in progress

### Description This feature gate enables syscalls that programs can use to compute on Curve25519 elliptic curve points. ### Feature ID 7rcw5UtqgDTBBv2EcynNfYckgdAaH1MAsCjKgXMkN7Ri ### Activation Method Single Core Contributor ### Minimum...

feature-gate

#### Problem #### Summary of Changes Fixes #

work in progress

### SIMD N/A ### Description Restrict curve25519 multiscalar multiplication vector lengths (https://github.com/solana-labs/solana/pull/34763) ### Feature ID eca6zf6JJRjQsYYPkBHF3N32MTzur4n2WL4QiiacPCL ### Activation Method Single Core Contributor ### Deployment Considerations Fixes a security issue with...

feature-gate

#### Problem In optimized release builds, overflow checks are disabled by default, which can lead to suppressed overflows and unexpected application behavior. #### Summary of Changes Add overflow checks on...

v1.17

#### Problem Solana clap-v3-utils still uses deprecated functions from clap-v2. #### Summary of Changes - Replaced a number of deprecated functions like `possible_values`, `value_of`, and `multiple_occurrences` with the updated functions...