Searched refs:scalar (Results 1 - 21 of 21) sorted by relevance

/linux-master/include/crypto/
H A Dcurve25519.h21 const u8 scalar[CURVE25519_KEY_SIZE],
25 const u8 scalar[CURVE25519_KEY_SIZE],
/linux-master/arch/arm/crypto/
H A Dcurve25519-glue.c29 const u8 scalar[CURVE25519_KEY_SIZE],
34 curve25519_neon(out, scalar, point);
37 curve25519_generic(out, scalar, point);
28 curve25519_arch(u8 out[CURVE25519_KEY_SIZE], const u8 scalar[CURVE25519_KEY_SIZE], const u8 point[CURVE25519_KEY_SIZE]) argument
H A DMakefile42 chacha-neon-y := chacha-scalar-core.o chacha-glue.o
/linux-master/lib/crypto/
H A Dcurve25519-hacl64.c529 u64 scalar; local
535 scalar = 121665;
536 fscalar(zzz, zz, scalar);
745 static __always_inline void format_scalar_of_point(u8 *scalar, u64 *point) argument
754 format_fcontract(scalar, sc);
770 u8 *scalar; local
773 scalar = e;
779 ladder_cmult(nq, scalar, q);
H A Dcurve25519-fiat32.c757 const u8 scalar[CURVE25519_KEY_SIZE],
766 memcpy(e, scalar, 32);
770 * correspond to unary scalar multiplication in affine coordinates given
756 curve25519_generic(u8 out[CURVE25519_KEY_SIZE], const u8 scalar[CURVE25519_KEY_SIZE], const u8 point[CURVE25519_KEY_SIZE]) argument
/linux-master/arch/powerpc/kvm/
H A Dbook3s_paired_singles.c492 int reg_in3, int scalar,
510 if (scalar & SCALAR_LOW)
518 if (!(scalar & SCALAR_NO_PS0))
526 if (scalar & SCALAR_HIGH)
529 if (!(scalar & SCALAR_NO_PS1))
540 int scalar,
557 if (scalar & SCALAR_LOW)
564 if (!(scalar & SCALAR_NO_PS0)) {
575 if (scalar & SCALAR_HIGH)
580 if (!(scalar
490 kvmppc_ps_three_in(struct kvm_vcpu *vcpu, bool rc, int reg_out, int reg_in1, int reg_in2, int reg_in3, int scalar, void (*func)(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, u32 *src3)) argument
538 kvmppc_ps_two_in(struct kvm_vcpu *vcpu, bool rc, int reg_out, int reg_in1, int reg_in2, int scalar, void (*func)(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2)) argument
[all...]
/linux-master/scripts/
H A Dcleanpatch200 for ($i = scalar(@hunk_lines)-1; $i > 0; $i--) {
H A Dget_dvb_firmware22 syntax() if (scalar(@ARGV) != 1);
26 for ($i=0; $i < scalar(@components); $i++) {
925 for($i=0; $i < scalar(@components); $i++) {
/linux-master/tools/net/ynl/lib/
H A Dynl.py127 raise Exception(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}")
478 scalar = 0
482 scalar += enum.entries[single_value].user_value(as_flags = True)
483 return scalar
532 scalar = self._get_scalar(attr, value)
534 attr_type = attr["type"][0] + ('32' if scalar.bit_length() <= 32 else '64')
538 attr_payload = format.pack(scalar)
/linux-master/arch/sparc/include/asm/
H A Dleon_amba.h54 /* 0 = hold scalar and counter */
132 u32 scalar; member in struct:leon3_gptimer_regs_map
/linux-master/include/linux/
H A Dccp.h543 * @scalar: the scalar parameter for the point match operation
545 * @scalar_len: the length of the scalar parameter
556 struct scatterlist *scalar; member in struct:ccp_ecc_point_math
H A Dmpi.h261 MPI scalar, MPI_POINT point,
/linux-master/lib/crypto/mpi/
H A Dec.c1214 MPI scalar, MPI_POINT point,
1232 if (mpi_cmp(scalar, ctx->p) >= 0)
1233 nbits = mpi_get_nbits(scalar);
1247 if (mpi_test_bit(scalar, j))
1259 /* Compute scalar point multiplication with Montgomery Ladder.
1264 nbits = mpi_get_nbits(scalar);
1290 sw = mpi_test_bit(scalar, j);
1325 k = mpi_copy(scalar);
1213 mpi_ec_mul_point(MPI_POINT result, MPI scalar, MPI_POINT point, struct mpi_ec_ctx *ctx) argument
/linux-master/arch/x86/crypto/
H A Dsha1_ssse3_asm.S372 # blended scheduling of vector and scalar instruction streams, one 4-wide
373 # vector iteration / 4 scalar rounds
/linux-master/crypto/
H A Decc.c1281 const struct ecc_point *point, const u64 *scalar,
1295 carry = vli_add(sk[0], scalar, curve->n, ndigits);
1297 scalar = sk[!carry];
1306 nb = !vli_test_bit(scalar, i);
1311 nb = !vli_test_bit(scalar, 0);
1280 ecc_point_mult(struct ecc_point *result, const struct ecc_point *point, const u64 *scalar, u64 *initial_z, const struct ecc_curve *curve, unsigned int ndigits) argument
/linux-master/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c223 u64 *scalar,
266 scalar, nbytes);
296 * @scalar_out: Where to store the output scalar.
297 * @scalar_a: Input scalar operand 'a'.
298 * @scalar_b: Input scalar operand 'b'
220 kmb_ecc_point_mult(struct ocs_ecc_dev *ecc_dev, struct ecc_point *result, const struct ecc_point *point, u64 *scalar, const struct ecc_curve *curve) argument
/linux-master/scripts/dtc/
H A Ddt_to_config1184 $driver_count{$compat} = scalar @{ $compat_driver{$compat} };
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx9.asm276 // Preserve and clear scalar XNACK state before issuing scalar reads.
H A Dcwsr_trap_handler_gfx10.asm1384 // Preserve and clear scalar XNACK state before issuing scalar loads.
/linux-master/drivers/crypto/ccp/
H A Dccp-ops.c2296 if (!ecc->u.pm.scalar ||
2373 /* Copy the scalar value */
2375 ecc->u.pm.scalar, 0,
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.c76 } scalar; member in union:host

Completed in 241 milliseconds