Home
last modified time | relevance | path

Searched refs:inf (Results 1 – 12 of 12) sorted by relevance

/optee_os-3.20.0/scripts/
A Dsign_encrypt.py348 self.inf = f.read()
350 self.inf = arg_inf
394 self.img = self.inf
416 self.img = self.inf
527 self.img = self.inf[offs:]
620 tag = self.inf[-tag_len:]
633 img = self.inf[offs:]
643 while offs < len(self.inf):
792 self.subkey_img = sk_image.inf
925 ta_image = BinaryImage(args.inf, None)
[all …]
A Dgen_stmm_hex.py28 inf = args.input
31 bytes = inf.read()
54 inf.close()
A Dgen_ldelf_hex.py135 inf = args.input
138 elffile = ELFFile(inf)
147 inf.close()
A Dtee_bin_parser.py22 with open(args.inf, "rb") as f:
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_verify_key.c18 int err, inf; in ltc_ecc_verify_key() local
45 err = ltc_ecc_is_point_at_infinity(point, prime, &inf); in ltc_ecc_verify_key()
46 if (err != CRYPT_OK || inf) { in ltc_ecc_verify_key()
A Dltc_ecc_mulmod_timing.c28 int i, j, err, inf; in ltc_ecc_mulmod() local
38 if ((err = ltc_ecc_is_point_at_infinity(G, modulus, &inf)) != CRYPT_OK) return err; in ltc_ecc_mulmod()
39 if (inf) { in ltc_ecc_mulmod()
A Dltc_ecc_projective_add_point.c26 int err, inf; in ltc_ecc_projective_add_point() local
38 if ((err = ltc_ecc_is_point_at_infinity(P, modulus, &inf)) != CRYPT_OK) return err; in ltc_ecc_projective_add_point()
39 if (inf) { in ltc_ecc_projective_add_point()
45 if ((err = ltc_ecc_is_point_at_infinity(Q, modulus, &inf)) != CRYPT_OK) return err; in ltc_ecc_projective_add_point()
46 if (inf) { in ltc_ecc_projective_add_point()
A Dltc_ecc_mulmod.c29 int i, j, err, inf; in ltc_ecc_mulmod() local
39 if ((err = ltc_ecc_is_point_at_infinity(G, modulus, &inf)) != CRYPT_OK) return err; in ltc_ecc_mulmod()
40 if (inf) { in ltc_ecc_mulmod()
A Dltc_ecc_projective_dbl_point.c43 int err, inf; in ltc_ecc_projective_dbl_point() local
58 if ((err = ltc_ecc_is_point_at_infinity(P, modulus, &inf)) != CRYPT_OK) return err; in ltc_ecc_projective_dbl_point()
59 if (inf) { in ltc_ecc_projective_dbl_point()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dsm2-pke.c122 int inf = 0; in sm2_ltc_pke_decrypt() local
183 &inf); in sm2_ltc_pke_decrypt()
186 &inf); in sm2_ltc_pke_decrypt()
188 if (ltc_res != CRYPT_OK || inf) { in sm2_ltc_pke_decrypt()
345 int inf = 0; in sm2_ltc_pke_encrypt() local
405 &inf); in sm2_ltc_pke_encrypt()
408 ltc_key.dp.prime, &inf); in sm2_ltc_pke_encrypt()
414 if (inf) { in sm2_ltc_pke_encrypt()
A Dsm2-kep.c233 int inf = 0; in sm2_kep_derive() local
320 ltc_res = ltc_ecc_is_point_at_infinity(U, peer_key->dp.prime, &inf); in sm2_kep_derive()
324 if (inf) in sm2_kep_derive()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dtfm_desc.c427 int err, inf; in tfm_ecc_projective_dbl_point() local
445 if ((err = ltc_ecc_is_point_at_infinity(P, modulus, &inf)) != CRYPT_OK) return err; in tfm_ecc_projective_dbl_point()
446 if (inf) { in tfm_ecc_projective_dbl_point()
582 int err, inf; in tfm_ecc_projective_add_point() local
598 if ((err = ltc_ecc_is_point_at_infinity(P, modulus, &inf)) != CRYPT_OK) return err; in tfm_ecc_projective_add_point()
599 if (inf) { in tfm_ecc_projective_add_point()
607 if ((err = ltc_ecc_is_point_at_infinity(Q, modulus, &inf)) != CRYPT_OK) return err; in tfm_ecc_projective_add_point()
608 if (inf) { in tfm_ecc_projective_add_point()

Completed in 12 milliseconds