Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 34) sorted by relevance

12

/optee_os-3.20.0/scripts/
A Dtee_bin_parser.py25 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 Dsign_encrypt.py487 .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 Dupdate_changelog.py48 "{}".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 Dts_bin_to_c.py147 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 Dgen_ld_sects.py12 print("Usage: {0} <section reg exp match> [<skip section>...]".format(
60 print('\t*({0})'.format(sect_name))
A Dgen_stmm_hex.py42 outf.write('0x{:02x},'.format(bytes[i]))
52 '{:d};\n'.format(uncompressed_size))
A Dcheckpatch_inc.sh34 (git format-patch $1^..$1 --stdout | sed -n '/^diff --git/q;p'; \
35 git format-patch $1^..$1 --stdout -- $_CP_EXCL . | \
A Dget_maintainer.py118 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 Dgen_ldelf_hex.py68 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 Dmem_usage.py42 def printf(format, *args): argument
43 sys.stdout.write(format % args)
A Dsymbolize.py148 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 Dpem_to_pub_c.py59 f.write("0x" + '{0:02x}'.format(x) + ",")
A Dsign_helper_kms.py95 format: serialization.PrivateFormat,
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dplatform.c101 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 Ddebug.c80 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 Decp.c875 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 Dplatform.h171 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 Ddebug.h96 #if __has_attribute(format)
102 __attribute__((format(printf, string_index, first_to_check)))
170 const char *format, ... ) MBEDTLS_PRINTF_ATTRIBUTE(5, 6);
A Decp.h767 int format, size_t *olen,
842 int format, size_t *olen,
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/
A Dinfo.c18 #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 Dcaam_desc_defines.h317 #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 Dcaam_desc_helper.h467 #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 Dcaam_rsa.c110 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 Dcompile.mk33 -Wmissing-declarations -Wmissing-format-attribute \
38 -Wno-missing-field-initializers -Wno-format-zero-length \
/optee_os-3.20.0/core/arch/arm/dts/
A Dstm32mp15xx-dhcom-pdk2.dtsi238 format = "i2s";
256 format = "i2s";

Completed in 47 milliseconds

12