/optee_os-3.20.0/scripts/ |
A D | tee_bin_parser.py | 25 print("Magic: \t\t0x{:08x}".format(magic)) 29 print("Version: \t0x{:02x}".format(version)) 33 print("ArchID: \t0x{:02x}".format(arch_id)) 37 print("Arch Flags: \t0x{:04x}".format(arch_id)) 41 print("Init size: \t0x{:04x}".format(init_size)) 45 print("Load addr high:\t0x{:04x}".format(laddr_h)) 49 print("Load addr low: \t0x{:04x}".format(laddr_l)) 53 print("Mem usage: \t0x{:04x}".format(mem_usage)) 57 print("Pages size: \t0x{:04x}".format(pgd_size))
|
A D | sign_encrypt.py | 487 .format(algo_value)) 510 .format(enc_value)) 513 .format(nonce_len)) 597 .format(enc_algo, enc_algo_name)) 601 .format(enc_value)) 636 .format(len(img), len(img))) 650 .format(offs, offs)) 685 .format(algo_value)) 707 .format(algo)) 946 .format(sk_image.name_size)) [all …]
|
A D | update_changelog.py | 48 "{}".format(tag) 72 text = "# OP-TEE - version {} ({})\n".format(rv, rd) 82 "[{}_pr_{}]\n".format(g, gu, rvu, gu, rvu, gu, rvu) 90 "{}\n".format(gu, rvu, g, rv) 92 "{}...{}\n".format(gu, rvu, g, prv, rv) 94 "merged+base%3Amaster+merged%3A{}..{}\n".format(
|
A D | ts_bin_to_c.py | 147 f.write('\t.flags = 0x{:04x},\n'.format(sp_get_flags(ts))) 151 f.write('\t.flags = 0x{:04x},\n'.format(ta_get_flags(ts))) 153 f.write('\t\t.timeLow = 0x{:08x},\n'.format(ts_uuid.time_low)) 154 f.write('\t\t.timeMid = 0x{:04x},\n'.format(ts_uuid.time_mid)) 156 '0x{:04x},\n'.format(ts_uuid.time_hi_version)) 158 csn = '{0:02x}{1:02x}{2:012x}'.format(ts_uuid.clock_seq_hi_variant, 164 '), /* {:d} */\n'.format(ts_size)) 168 '{:d},\n'.format(ts_uncompressed_size))
|
A D | gen_ld_sects.py | 12 print("Usage: {0} <section reg exp match> [<skip section>...]".format( 60 print('\t*({0})'.format(sect_name))
|
A D | gen_stmm_hex.py | 42 outf.write('0x{:02x},'.format(bytes[i])) 52 '{:d};\n'.format(uncompressed_size))
|
A D | checkpatch_inc.sh | 34 (git format-patch $1^..$1 --stdout | sed -n '/^diff --git/q;p'; \ 35 git format-patch $1^..$1 --stdout -- $_CP_EXCL . | \
|
A D | get_maintainer.py | 118 prefix = "{}_{}_".format(patchnum, psname) 230 url = "https://github.com/OP-TEE/optee_os/pull/{}.patch".format(pr) 231 f = tempfile.NamedTemporaryFile(mode="wb", prefix="pr{}_".format(pr), 233 print("Downloading {}...".format(url), end='', flush=True) 313 print("{} (maintainer:{})".format(name, ss_name)) 315 print("{} (reviewer:{})".format(name, ss_name))
|
A D | gen_ldelf_hex.py | 68 print('RO load segment found after RW one(s) (m={})'.format(n)) 77 'segment {}, please check'.format(pad, n-1)) 105 outf.write(b'0x' + '{:02x}'.format(data[j]).encode('utf-8')
|
A D | mem_usage.py | 42 def printf(format, *args): argument 43 sys.stdout.write(format % args)
|
A D | symbolize.py | 148 print("*** Error:{}: command not found".format(cmd[0]), 235 return '0x{:x}'.format(int(addr, 16) - int(l_addr, 16)) 243 reladdr = '0x{:x}'.format(int(reladdr, 16) + 256 return '0x{:x}'.format(i_addr) 372 return '0x{:x}'.format(self._sections[elf_name][0][1]) 437 res = self.resolve('0x{:x}'.format(pc))
|
A D | pem_to_pub_c.py | 59 f.write("0x" + '{0:02x}'.format(x) + ",")
|
A D | sign_helper_kms.py | 95 format: serialization.PrivateFormat,
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | platform.c | 101 const char * format, ... ) in platform_snprintf_uninit() argument 105 ((void) format); in platform_snprintf_uninit() 113 const char * format, 117 const char * format, in mbedtls_platform_set_snprintf() argument 156 const char * format, va_list arg ) in platform_vsnprintf_uninit() argument 160 ((void) format); in platform_vsnprintf_uninit() 169 const char * format, 173 const char * format, in mbedtls_platform_set_vsnprintf() argument 186 static int platform_printf_uninit( const char *format, ... ) in platform_printf_uninit() argument 188 ((void) format); in platform_printf_uninit() [all …]
|
A D | debug.c | 80 const char *format, ... ) in mbedtls_debug_print_msg() argument 94 va_start( argp, format ); in mbedtls_debug_print_msg() 95 ret = mbedtls_vsnprintf( str, DEBUG_BUF_SIZE, format, argp ); in mbedtls_debug_print_msg()
|
A D | ecp.c | 875 int format, size_t *olen, in mbedtls_ecp_point_write_binary() argument 884 ECP_VALIDATE_RET( format == MBEDTLS_ECP_PF_UNCOMPRESSED || in mbedtls_ecp_point_write_binary() 885 format == MBEDTLS_ECP_PF_COMPRESSED ); in mbedtls_ecp_point_write_binary() 890 (void) format; /* Montgomery curves always use the same point format */ in mbedtls_ecp_point_write_binary() 917 if( format == MBEDTLS_ECP_PF_UNCOMPRESSED ) in mbedtls_ecp_point_write_binary() 928 else if( format == MBEDTLS_ECP_PF_COMPRESSED ) in mbedtls_ecp_point_write_binary() 1050 int format, size_t *olen, in mbedtls_ecp_tls_write_point() argument 1058 ECP_VALIDATE_RET( format == MBEDTLS_ECP_PF_UNCOMPRESSED || in mbedtls_ecp_tls_write_point() 1059 format == MBEDTLS_ECP_PF_COMPRESSED ); in mbedtls_ecp_tls_write_point() 1067 if( ( ret = mbedtls_ecp_point_write_binary( grp, pt, format, in mbedtls_ecp_tls_write_point()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | platform.h | 171 extern int (*mbedtls_fprintf)( FILE *stream, const char *format, ... ); 196 extern int (*mbedtls_printf)( const char *format, ... ); 231 extern int (*mbedtls_snprintf)( char * s, size_t n, const char * format, ... ); 242 const char * format, ... ) ); 268 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg ); 278 const char * format, va_list arg ) );
|
A D | debug.h | 96 #if __has_attribute(format) 102 __attribute__((format(printf, string_index, first_to_check))) 170 const char *format, ... ) MBEDTLS_PRINTF_ATTRIBUTE(5, 6);
|
A D | ecp.h | 767 int format, size_t *olen, 842 int format, size_t *olen,
|
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/ |
A D | info.c | 18 #define LOG_I(format, ...) nLog("Info", 0xff, format, ##__VA_ARGS__) argument 19 #define LOG_E(format, ...) nLog("Info", NX_LEVEL_ERROR, format, ##__VA_ARGS__) argument
|
/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_desc_defines.h | 317 #define PROT_RSA_FMT(format) SHIFT_U32((PROT_RSA_FMT_##format) & 0x1, 12) argument 321 #define PROT_RSA_DEC_KEYFORM(format) SHIFT_U32(((format) - 1) & 0x3, 0) argument 324 #define PROT_RSA_KEY(format) SHIFT_U32((PROT_RSA_KEY_##format) & 0x3, 0) argument 348 #define PROT_BLOB_FORMAT(format) SHIFT_U32(0, PROT_BLOB_FORMAT_##format) argument
|
A D | caam_desc_helper.h | 467 #define RSA_ENCRYPT(format) \ argument 468 (CMD_OP_TYPE | PROTID(RSA_ENC) | PROT_RSA_FMT(format)) 473 #define RSA_DECRYPT(format) \ argument 474 (CMD_OP_TYPE | PROTID(RSA_DEC) | PROT_RSA_FMT(format)) 479 #define RSA_FINAL_KEY(format) \ argument 480 (CMD_OP_TYPE | PROTID(RSA_FINISH_KEY) | PROT_RSA_KEY(format))
|
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_rsa.c | 110 if (key->format > RSA_PRIVATE_KEY_FORMAT_1 && key->p.data) { in do_keypair_free() 245 outkey->format = RSA_PRIVATE_KEY_FORMAT_3; in do_keypair_conv_f3() 293 outkey->format = RSA_PRIVATE_KEY_FORMAT_2; in do_keypair_conv_f2() 336 outkey->format = RSA_PRIVATE_KEY_FORMAT_1; in do_keypair_conv() 533 genkey.format = CFG_NXP_CAAM_RSA_KEY_FORMAT; in do_gen_keypair() 581 if (genkey.format > RSA_PRIVATE_KEY_FORMAT_2) { in do_gen_keypair() 632 if (genkey.format > RSA_PRIVATE_KEY_FORMAT_2) { in do_gen_keypair() 679 if (genkey.format > RSA_PRIVATE_KEY_FORMAT_1) in do_gen_keypair() 1323 switch (key.format) { in do_caam_decrypt() 1334 if (key.format == RSA_PRIVATE_KEY_FORMAT_2) in do_caam_decrypt() [all …]
|
/optee_os-3.20.0/mk/ |
A D | compile.mk | 33 -Wmissing-declarations -Wmissing-format-attribute \ 38 -Wno-missing-field-initializers -Wno-format-zero-length \
|
/optee_os-3.20.0/core/arch/arm/dts/ |
A D | stm32mp15xx-dhcom-pdk2.dtsi | 238 format = "i2s"; 256 format = "i2s";
|