Lines Matching refs:data_ptr

29     pub fn data_ptr(&self) -> *const u32 {  in data_ptr()  method
66 self.data_ptr(), in convert_to_octet_string()
83 match unsafe { raw::TEE_BigIntConvertToS32(&mut short_val as _, self.data_ptr()) } { in convert_to_s32()
93 unsafe { raw::TEE_BigIntCmp(self.data_ptr(), target.data_ptr()) } in compare_big_int()
97 unsafe { raw::TEE_BigIntCmpS32(self.data_ptr(), target) } in compare_s32()
103 unsafe { raw::TEE_BigIntShiftRight(self.0.as_mut_ptr(), op.data_ptr(), bits) }; in shift_right()
107 unsafe { raw::TEE_BigIntGetBit(self.data_ptr(), bit_index) } in get_bit()
111 unsafe { raw::TEE_BigIntGetBitCount(self.data_ptr()) } in get_bit_count()
117 unsafe { raw::TEE_BigIntAdd(res.0.as_mut_ptr(), op1.data_ptr(), op2.data_ptr()) }; in add()
124 unsafe { raw::TEE_BigIntSub(res.0.as_mut_ptr(), op1.data_ptr(), op2.data_ptr()) }; in sub()
130 unsafe { raw::TEE_BigIntNeg(res.0.as_mut_ptr(), op.data_ptr()) }; in neg()
137 unsafe { raw::TEE_BigIntMul(res.0.as_mut_ptr(), op1.data_ptr(), op2.data_ptr()) }; in multiply()
143 unsafe { raw::TEE_BigIntSquare(res.0.as_mut_ptr(), op.data_ptr()) }; in square()
161 op1.data_ptr(), in divide()
162 op2.data_ptr(), in divide()
170 unsafe { raw::TEE_BigIntMod(res.0.as_mut_ptr(), op.data_ptr(), n.data_ptr()) }; in module()
179 op1.data_ptr(), in add_mod()
180 op2.data_ptr(), in add_mod()
181 n.data_ptr(), in add_mod()
192 op1.data_ptr(), in sub_mod()
193 op2.data_ptr(), in sub_mod()
194 n.data_ptr(), in sub_mod()
205 op1.data_ptr(), in mul_mod()
206 op2.data_ptr(), in mul_mod()
207 n.data_ptr(), in mul_mod()
215 unsafe { raw::TEE_BigIntSquareMod(res.0.as_mut_ptr(), op.data_ptr(), n.data_ptr()) }; in square_mod()
221 unsafe { raw::TEE_BigIntInvMod(res.0.as_mut_ptr(), op.data_ptr(), n.data_ptr()) }; in inv_mod()
226 unsafe { raw::TEE_BigIntRelativePrime(op1.data_ptr(), op2.data_ptr()) } in relative_prime()
234 unsafe { raw::TEE_BigIntIsProbablePrime(self.data_ptr(), confidence_level) } in is_probable_prime()
246 src.data_ptr(), in convert_from_big_int_fmm()
247 n.data_ptr(), in convert_from_big_int_fmm()
248 context.data_ptr(), in convert_from_big_int_fmm()
263 pub fn data_ptr(&self) -> *const u32 { in data_ptr() method
276 raw::TEE_BigIntInitFMMContext(tmp_vec.as_mut_ptr(), size as u32, modulus.data_ptr()) in new()
285 pub fn data_ptr(&self) -> *const u32 { in data_ptr() method
305 src.data_ptr(), in convert_from_big_int()
306 n.data_ptr(), in convert_from_big_int()
307 context.data_ptr(), in convert_from_big_int()
323 op1.data_ptr(), in compute_fmm()
324 op2.data_ptr(), in compute_fmm()
325 n.data_ptr(), in compute_fmm()
326 context.data_ptr(), in compute_fmm()