| /lib/efi_selftest/ |
| A D | efi_selftest_util.c | 18 {0, u"Null"}, 19 {8, u"BS"}, 20 {9, u"TAB"}, 21 {10, u"LF"}, 22 {13, u"CR"}, 30 {0x00, u"Null"}, 31 {0x01, u"Up"}, 32 {0x02, u"Down"}, 34 {0x04, u"Left"}, 35 {0x05, u"Home"}, [all …]
|
| A D | efi_selftest_textoutput.c | 37 u"U+00DF \u00DF - Latin small letter sharp s\n" in execute() 45 u"U+03BB \u03BB - Greek small letter lambda\n" in execute() 50 u"This should render as four boxes with text\n" in execute() 61 u"\u2500\u2500\u2500\u2500\u2518\n"; in execute() 64 u"Geometric shapes as described\n" in execute() 65 u"U+25B2 \u25B2 - Black up-pointing triangle\n" in execute() 90 u"Testing cursor column update\n"); in execute() 114 ret = con_out->output_string(con_out, u"123"); in execute() 123 ret = con_out->output_string(con_out, u"\b"); in execute() 132 ret = con_out->output_string(con_out, u"\b\b"); in execute() [all …]
|
| A D | efi_selftest_unicode_collation.c | 47 u16 c1[] = u"first"; in test_stri_coll() 48 u16 c2[] = u"FIRST"; in test_stri_coll() 49 u16 c3[] = u"second"; in test_stri_coll() 81 const u16 c[] = u"Das U-Boot"; in test_metai_match() 84 unicode_collation_protocol, c, u"*"); in test_metai_match() 112 unicode_collation_protocol, c, u"D*Bo*t"); in test_metai_match() 140 unicode_collation_protocol, c, u"D*Bo*tt"); in test_metai_match() 151 u16 c[] = u"U-Boot"; in test_str_lwr() 164 u16 c[] = u"U-Boot"; in test_str_upr() 209 u"U -Boo.t", 6, fat); in test_str_to_fat() [all …]
|
| A D | efi_selftest_variables.c | 63 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 72 ret = runtime->get_variable(u"efi_st_var0", &guid_vendor0, in execute() 87 ret = runtime->set_variable(u"efi_st_var1", &guid_vendor1, in execute() 95 ret = runtime->get_variable(u"efi_st_var1", &guid_vendor1, in execute() 133 ret = runtime->set_variable(u"efi_none", &guid_vendor1, in execute() 143 ret = runtime->get_variable(u"efi_none", &guid_vendor1, in execute() 150 ret = runtime->set_variable(u"efi_none", &guid_vendor1, in execute() 159 ret = runtime->get_variable(u"efi_none", &guid_vendor1, in execute() 171 ret = runtime->set_variable(u"efi_none", &guid_vendor1, in execute() 178 ret = runtime->get_variable(u"efi_none", &guid_vendor1, in execute() [all …]
|
| A D | efi_selftest_variables_runtime.c | 79 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 95 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 105 ret = runtime->get_variable(u"RTStorageVolatile", in execute() 121 ret = runtime->get_variable(u"VarToFile", &efi_rt_var_guid, in execute() 132 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 155 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 166 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 174 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 185 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() 196 ret = runtime->set_variable(u"efi_st_var0", &guid_vendor0, in execute() [all …]
|
| A D | efi_selftest_console.c | 89 *(*buf)++ = u'-'; in print_uuid() 145 u32 u; in int2dec() local 150 u = -value; in int2dec() 152 u = value; in int2dec() 154 uint2dec(u, prec, &pos); in int2dec() 172 u16 *u; in efi_st_printc() local 228 u = va_arg(args, u16*); in efi_st_printc() 234 con_out->output_string(con_out, u); in efi_st_printc()
|
| A D | efi_selftest_miniapp_exit.c | 42 u"Could not open loaded image protocol\n"); in check_loaded_image_protocol() 51 u"Incorrect image_base or image_size\n"); in check_loaded_image_protocol() 71 con_out->output_string(con_out, u"EFI application calling Exit\n"); in efi_main() 75 u"Loaded image protocol missing\n"); in efi_main()
|
| A D | efi_selftest_fdt.c | 209 str = get_property(u"compatible", NULL); in execute() 221 str = get_property(u"serial-number", NULL); in execute() 231 str = get_property(u"kaslr-seed", u"chosen"); in execute() 240 str = get_property(u"boot-hartid", u"chosen"); in execute()
|
| /lib/efi_loader/ |
| A D | dtbdump.c | 64 u16 out[2] = u"?"; in print_char() 67 print(u"\", \""); in print_char() 108 print(u"\r\n"); in cls() 578 print(u"\t"); in indent() 632 print(u"\""); in print_property() 635 print(u"\""); in print_property() 638 print(u"["); in print_property() 641 print(u" "); in print_property() 647 print(u"<"); in print_property() 656 print(u">"); in print_property() [all …]
|
| A D | dbginfodump.c | 75 u16 str[19] = u"0x"; in printu() 96 u16 str[19] = u"0x"; in printp() 146 print(u"\b \b"); in efi_input() 151 print(u"\r\n"); in efi_input() 234 print(u", "); in print_info() 236 print(u"]\r\n"); in print_info() 248 print(u"\r\n"); in print_info() 273 print(u"\r\n"); in do_dump() 291 print(u"\r\n"); in do_dump() 297 print(u"\r\n"); in do_dump() [all …]
|
| A D | initrddump.c | 79 print(u"\r\n"); in cls() 184 u16 outbuf[2] = u" "; in efi_input() 206 print(u"\b \b"); in efi_input() 211 print(u"\r\n"); in efi_input() 335 print(u"length: 0x"); in do_load() 337 print(u"\r\n"); in do_load() 344 print(u"crc32: 0x"); in do_load() 346 print(u"\r\n"); in do_load() 403 print(u"\r\n"); in do_save() 422 print(u" written\r\n"); in do_save() [all …]
|
| A D | smbiosdump.c | 59 print(u"\r\n"); in cls() 132 u16 outbuf[2] = u" "; in efi_input() 147 print(u"\r\nAborted\r\n"); in efi_input() 156 print(u"\b \b"); in efi_input() 161 print(u"\r\n"); in efi_input() 426 print(u"\r\n"); in save_file() 475 error(u"Out of memory\n"); in do_save() 503 error(u"Out of memory\n"); in do_save() 527 print(u" written\r\n"); in do_save() 569 print(u"=> "); in command_loop() [all …]
|
| A D | helloworld.c | 125 con_out->output_string(con_out, u"\r\n"); in print_uefi_revision() 129 con_out->output_string(con_out, u"\r\n"); in print_uefi_revision() 135 con_out->output_string(con_out, u"\r\n"); in print_uefi_revision() 150 (con_out, u"Have device tree\r\n"); in print_config_tables() 154 (con_out, u"Have ACPI 2.0 table\r\n"); in print_config_tables() 158 (con_out, u"Have SMBIOS table\r\n"); in print_config_tables() 176 con_out->output_string(con_out, u"<none>"); in print_load_options() 177 con_out->output_string(con_out, u"\r\n"); in print_load_options() 194 con_out->output_string(con_out, u"<none>\r\n"); in print_device_path() 205 con_out->output_string(con_out, u"\r\n"); in print_device_path() [all …]
|
| A D | boothart.c | 188 u"AllocatePool failed\r\n"); in get_property() 211 con_out, u"Invalid device tree token\r\n"); in get_property() 216 con_out, u"Missing FDT_END token\r\n"); in get_property() 256 u"/chosen/boot-hartid missing\r\n"); in fdt_get_hart() 281 con_out, u"RISC-V Boot Protocol not available\r\n"); in prot_get_hart() 289 u"Could not retrieve boot hart ID\r\n"); in prot_get_hart() 312 u"\r\nBoot hart ID\r\n------------\r\n\r\n"); in efi_main() 316 con_out->output_string(con_out, u"Device-tree: "); in efi_main() 319 con_out->output_string(con_out, u"\r\n"); in efi_main() 327 con_out->output_string(con_out, u"\r\n"); in efi_main() [all …]
|
| A D | efi_var_common.c | 32 {u"PK", &efi_global_variable_guid, EFI_AUTH_VAR_PK}, 33 {u"KEK", &efi_global_variable_guid, EFI_AUTH_VAR_KEK}, 34 {u"db", &efi_guid_image_security_database, EFI_AUTH_VAR_DB}, 35 {u"dbx", &efi_guid_image_security_database, EFI_AUTH_VAR_DBX}, 36 {u"dbt", &efi_guid_image_security_database, EFI_AUTH_VAR_DBT}, 37 {u"dbr", &efi_guid_image_security_database, EFI_AUTH_VAR_DBR}, 38 {u"AuditMode", &efi_global_variable_guid, EFI_AUTH_MODE}, 39 {u"DeployedMode", &efi_global_variable_guid, EFI_AUTH_MODE}, 241 ret = efi_set_variable_int(u"DeployedMode", in efi_set_secure_state() 273 ret = efi_set_variable_int(u"PK", &efi_global_variable_guid, in efi_transfer_secure_state() [all …]
|
| A D | efi_setup.c | 51 ret = efi_set_variable_int(u"PlatformLangCodes", in efi_init_platform_lang() 65 ret = efi_get_variable_int(u"PlatformLang", in efi_init_platform_lang() 82 ret = efi_set_variable_int(u"PlatformLang", in efi_init_platform_lang() 107 ret = efi_set_variable_int(u"SignatureSupport", in efi_init_secure_boot() 135 ret = efi_set_variable_int(u"CapsuleMax", in efi_init_capsule() 171 return efi_set_variable_int(u"OsIndicationsSupported", in efi_init_os_indications()
|
| A D | testapp.c | 43 (con_out, u"Cannot open loaded image protocol\r\n"); in efi_main() 48 con_out->output_string(con_out, u"U-Boot test app for EFI_LOADER\r\n"); in efi_main() 51 con_out->output_string(con_out, u"Exiting test app\n"); in efi_main()
|
| /lib/rsa/ |
| A D | rsa-keyprop.c | 168 size_t u; in br_i32_word() local 176 return (a[u] >> j) | (a[u + 1] << (32 - j)); in br_i32_word() 221 u = len; in br_i32_decode() 244 u -= 4; in br_i32_decode() 337 for (u = 1; u < m; u ++) { in br_i32_add() 340 aw = a[u]; in br_i32_add() 341 bw = b[u]; in br_i32_add() 370 for (u = 1; u < m; u ++) { in br_i32_sub() 540 for (u = 1; u <= mlen; u ++) { in br_i32_muladd_small() 603 for (u = alen; u < mlen; u ++) { in br_i32_reduce() [all …]
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | psa_crypto_se.c | 50 } u; member 84 return &driver->u.context; in psa_get_se_driver_context() 146 driver->u.internal.persistent_data, in psa_load_se_persistent_data() 166 driver->u.internal.persistent_data, in psa_save_se_persistent_data() 226 status = p_allocate(&driver->u.context, in psa_find_se_slot_for_key() 252 &driver->u.context, in psa_destroy_se_key() 253 driver->u.internal.persistent_data, in psa_destroy_se_key() 270 &driver->u.context, in psa_init_all_se_drivers() 271 driver->u.internal.persistent_data, in psa_init_all_se_drivers() 330 driver_table[i].u.internal.persistent_data_size = in psa_register_se_driver() [all …]
|
| A D | camellia.c | 864 int i, j, u, v; in mbedtls_camellia_self_test() local 885 u = j >> 1; in mbedtls_camellia_self_test() 903 memcpy(key, camellia_test_ecb_key[u][i], 16 + 8 * u); in mbedtls_camellia_self_test() 942 u = j >> 1; in mbedtls_camellia_self_test() 952 memcpy(key, camellia_test_cbc_key[u], 16 + 8 * u); in mbedtls_camellia_self_test() 997 u = i >> 1; in mbedtls_camellia_self_test() 1006 memcpy(key, camellia_test_ctr_key[u], 16); in mbedtls_camellia_self_test() 1012 len = camellia_test_ctr_len[u]; in mbedtls_camellia_self_test() 1013 memcpy(buf, camellia_test_ctr_ct[u], len); in mbedtls_camellia_self_test() 1025 len = camellia_test_ctr_len[u]; in mbedtls_camellia_self_test() [all …]
|
| A D | des.c | 836 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local 851 u = i >> 1; in mbedtls_des_self_test() 856 (u == 0) ? ' ' : '3', 56 + u * 56, in mbedtls_des_self_test() 895 if (u == 0) { in mbedtls_des_self_test() 906 memcmp(buf, des3_test_ecb_dec[u], 8) != 0) || in mbedtls_des_self_test() 908 memcmp(buf, des3_test_ecb_enc[u], 8) != 0)) { in mbedtls_des_self_test() 931 u = i >> 1; in mbedtls_des_self_test() 936 (u == 0) ? ' ' : '3', 56 + u * 56, in mbedtls_des_self_test() 978 if (u == 0) { in mbedtls_des_self_test() 991 if (u == 0) { in mbedtls_des_self_test() [all …]
|
| /lib/mbedtls/external/mbedtls/include/psa/ |
| A D | crypto_sizes.h | 75 0u) 363 0u) 417 0u) 472 0u) 522 0u) 562 0u) 596 0u) 702 0u) 741 0u) 923 0u) [all …]
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A D | test_suite_psa_crypto_metadata.function | 19 #define ALG_IS_VENDOR_DEFINED (1u << 0) 20 #define ALG_IS_HMAC (1u << 1) 21 #define ALG_IS_BLOCK_CIPHER_MAC (1u << 2) 22 #define ALG_IS_STREAM_CIPHER (1u << 3) 23 #define ALG_IS_RSA_PKCS1V15_SIGN (1u << 4) 24 #define ALG_IS_RSA_PSS (1u << 5) 25 #define ALG_IS_RSA_PSS_ANY_SALT (1u << 6) 26 #define ALG_IS_RSA_PSS_STANDARD_SALT (1u << 7) 27 #define ALG_IS_DSA (1u << 8) 28 #define ALG_DSA_IS_DETERMINISTIC (1u << 9) [all …]
|
| /lib/zstd/common/ |
| A D | fse_decompress.c | 137 size_t u; in FSE_buildDTable_internal() local 138 for (u = 0; u < unroll; ++u) { in FSE_buildDTable_internal() 139 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal() 140 tableDecode[uPosition].symbol = spread[s + u]; in FSE_buildDTable_internal() 161 { U32 u; in FSE_buildDTable_internal() local 162 for (u=0; u<tableSize; u++) { in FSE_buildDTable_internal() 163 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable_internal() 165 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal() 166 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_internal()
|
| /lib/mbedtls/external/mbedtls/3rdparty/p256-m/p256-m/ |
| A D | p256-m.c | 601 uint32_t u = (a[0] + x[i] * y[0]) * m_prime; in m256_mul() local 605 c += u288_muladd(a, u, mod->m); in m256_mul() 875 uint32_t m[8], s[8], u[8]; in point_double() local 880 m256_sub_p(u, x, s); in point_double() 881 m256_mul_p(s, m, u); in point_double() 886 m256_mul_p(u, y, y); in point_double() 887 m256_add_p(u, u, u); /* u = 2 * y^2 (used below) */ in point_double() 888 m256_mul_p(s, x, u); in point_double() 892 m256_mul_p(u, u, u); in point_double() 893 m256_add_p(u, u, u); in point_double() [all …]
|