Lines Matching refs:TEE_BigInt

515 void TEE_BigIntInit(TEE_BigInt *bigInt, size_t len);
516 void __GP11_TEE_BigIntInit(TEE_BigInt *bigInt, uint32_t len);
519 const TEE_BigInt *modulus);
521 uint32_t len, const TEE_BigInt *modulus);
524 size_t len, const TEE_BigInt *modulus);
531 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest,
535 TEE_Result __GP11_TEE_BigIntConvertFromOctetString(TEE_BigInt *dest,
541 const TEE_BigInt *bigInt);
544 const TEE_BigInt *bigInt);
546 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal);
548 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src);
552 int32_t TEE_BigIntCmp(const TEE_BigInt *op1, const TEE_BigInt *op2);
554 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal);
556 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
558 void __GP11_TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
561 bool TEE_BigIntGetBit(const TEE_BigInt *src, uint32_t bitIndex);
563 uint32_t TEE_BigIntGetBitCount(const TEE_BigInt *src);
565 TEE_Result TEE_BigIntSetBit(TEE_BigInt *op, uint32_t bitIndex, bool value);
567 TEE_Result TEE_BigIntAssign(TEE_BigInt *dest, const TEE_BigInt *src);
569 TEE_Result TEE_BigIntAbs(TEE_BigInt *dest, const TEE_BigInt *src);
571 void TEE_BigIntAdd(TEE_BigInt *dest, const TEE_BigInt *op1,
572 const TEE_BigInt *op2);
574 void TEE_BigIntSub(TEE_BigInt *dest, const TEE_BigInt *op1,
575 const TEE_BigInt *op2);
577 void TEE_BigIntNeg(TEE_BigInt *dest, const TEE_BigInt *op);
579 void TEE_BigIntMul(TEE_BigInt *dest, const TEE_BigInt *op1,
580 const TEE_BigInt *op2);
582 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op);
584 void TEE_BigIntDiv(TEE_BigInt *dest_q, TEE_BigInt *dest_r,
585 const TEE_BigInt *op1, const TEE_BigInt *op2);
589 void TEE_BigIntMod(TEE_BigInt *dest, const TEE_BigInt *op,
590 const TEE_BigInt *n);
592 void TEE_BigIntAddMod(TEE_BigInt *dest, const TEE_BigInt *op1,
593 const TEE_BigInt *op2, const TEE_BigInt *n);
595 void TEE_BigIntSubMod(TEE_BigInt *dest, const TEE_BigInt *op1,
596 const TEE_BigInt *op2, const TEE_BigInt *n);
598 void TEE_BigIntMulMod(TEE_BigInt *dest, const TEE_BigInt *op1,
599 const TEE_BigInt *op2, const TEE_BigInt *n);
601 void TEE_BigIntSquareMod(TEE_BigInt *dest, const TEE_BigInt *op,
602 const TEE_BigInt *n);
604 void TEE_BigIntInvMod(TEE_BigInt *dest, const TEE_BigInt *op,
605 const TEE_BigInt *n);
607 TEE_Result TEE_BigIntExpMod(TEE_BigInt *dest, const TEE_BigInt *op1,
608 const TEE_BigInt *op2, const TEE_BigInt *n,
613 bool TEE_BigIntRelativePrime(const TEE_BigInt *op1, const TEE_BigInt *op2);
615 void TEE_BigIntComputeExtendedGcd(TEE_BigInt *gcd, TEE_BigInt *u,
616 TEE_BigInt *v, const TEE_BigInt *op1,
617 const TEE_BigInt *op2);
619 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op,
624 void TEE_BigIntConvertToFMM(TEE_BigIntFMM *dest, const TEE_BigInt *src,
625 const TEE_BigInt *n,
628 void TEE_BigIntConvertFromFMM(TEE_BigInt *dest, const TEE_BigIntFMM *src,
629 const TEE_BigInt *n,
632 void TEE_BigIntFMMConvertToBigInt(TEE_BigInt *dest, const TEE_BigIntFMM *src,
633 const TEE_BigInt *n,
637 const TEE_BigIntFMM *op2, const TEE_BigInt *n,