ext_mul_base
stdlib/ext/ext_mul_base.nbv
ext_mul_base(a, s)
Product of an element of the extension by a base field scalar s (dags Ext::mul_base): D base products
- Calls
dilithium/ext/ext_degree,valloc- Precompiles
assert_eq!,len!- Used by
ext/ext_eq_eval,slip/slip_r1cs_arg_verify
Source
# Product of an element of the extension by a base field scalar `s` (dags Ext::mul_base): D
# base products
(a, s)
static d = ext_degree()
assert_eq! d, len! a
assert_eq! 1, len! s
a * valloc(d, s)