Home
last modified time | relevance | path

Searched refs:scalar_add (Results 1 – 8 of 8) sorted by relevance

/external/cronet/third_party/boringssl/src/crypto/curve25519/
Dspake25519.c339 static void scalar_add(scalar *dest, const scalar *src) { in scalar_add() function
401 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
407 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
413 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/
Dspake25519.c349 static void scalar_add(scalar *dest, const scalar *src) { in scalar_add() function
416 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
422 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
428 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
/external/boringssl/src/crypto/curve25519/
Dspake25519.c339 static void scalar_add(scalar *dest, const scalar *src) { in scalar_add() function
401 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
407 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
413 scalar_add(&password_scalar, &tmp); in SPAKE2_generate_msg()
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/utils/
Dtf_to_xla_attribute_utils.cc53 auto scalar_add = [&](Value lhs, Value rhs) { in GetSamePaddingValues() local
71 Value effective_filter_size_op = scalar_add( in GetSamePaddingValues()
76 scalar_add(input_size, scalar_sub(stride_value, one)), stride_value); in GetSamePaddingValues()
81 scalar_add(effective_filter_size_op, in GetSamePaddingValues()
/external/cronet/third_party/boringssl/src/crypto/kyber/
Dkyber.c210 static void scalar_add(scalar *lhs, const scalar *rhs) { in scalar_add() function
244 scalar_add(&lhs->v[i], &rhs->v[i]); in vector_add()
254 scalar_add(&out->v[i], &product); in matrix_mult()
266 scalar_add(&out->v[i], &product); in matrix_mult_transpose()
277 scalar_add(out, &product); in scalar_inner_product()
663 scalar_add(&v, &scalar_error); in encrypt_cpa()
667 scalar_add(&v, &expanded_message); in encrypt_cpa()
/external/boringssl/src/crypto/kyber/
Dkyber.c210 static void scalar_add(scalar *lhs, const scalar *rhs) { in scalar_add() function
244 scalar_add(&lhs->v[i], &rhs->v[i]); in vector_add()
254 scalar_add(&out->v[i], &product); in matrix_mult()
266 scalar_add(&out->v[i], &product); in matrix_mult_transpose()
277 scalar_add(out, &product); in scalar_inner_product()
670 scalar_add(&v, &scalar_error); in encrypt_cpa()
674 scalar_add(&v, &expanded_message); in encrypt_cpa()
/external/rust/crates/minimal-lexical/src/
Dbigint.rs409 pub fn scalar_add(x: Limb, y: Limb) -> (Limb, bool) { in scalar_add() function
434 let result = scalar_add(x[index], carry); in small_add_from()
491 let result = scalar_add(*xi, yi); in large_add_from()
495 let result = scalar_add(*xi, 1); in large_add_from()
/external/rust/crates/minimal-lexical/tests/
Dvec_tests.rs132 assert_eq!(bigint::scalar_add(5, 5), (10, false)); in scalar_add_test()
133 assert_eq!(bigint::scalar_add(LIMB_MAX, 1), (0, true)); in scalar_add_test()