| /optee_os/core/drivers/ |
| H A D | plic.c | 30 #define PLIC_PRIORITY(base, source) \ argument 32 SHIFT_U32(source, PLIC_PRIORITY_SHIFT_PER_SOURCE) \ 34 #define PLIC_PENDING(base, source) \ argument 36 (4 * ((source) / 32)) \ 38 #define PLIC_ENABLE(base, source, context) \ argument 41 (4 * ((source) / 32)) \ 80 plic_is_pending(struct plic_data *pd, uint32_t source) in plic_is_pending() argument 82 return io_read32(PLIC_PENDING(pd->plic_base, source)) & in plic_is_pending() 83 BIT(source % 32); in plic_is_pending() 86 static void plic_set_pending(struct plic_data *pd, uint32_t source) in plic_set_pending() argument [all …]
|
| H A D | zynqmp_huk.c | 35 * Generate HUK source data 41 * HUK source data is later on AES encrypted with device key to shuffle source 44 * Note: Even though the device key is secret used details for HUK source data 47 * Note: You should not change HUK source data generation parameters after 52 * @huk_source: Output buffer for HUK source data 53 * @huk_source_size: Output buffer size for HUK source data 84 DMSG("Use User eFuse %d for HUK source data", i); in tee_zynqmp_generate_huk_src() 151 /* Generate HUK source data */ in tee_otp_get_hw_unique_key() 155 EMSG("Failed to generate HUK source data"); in tee_otp_get_hw_unique_key()
|
| H A D | aplic_msi.c | 3 * Copyright (c) 2025 Beijing Institute of Open Source Chip (BOSC) 26 static void aplic_set_target(struct aplic_data *aplic, uint32_t source, in aplic_set_target() argument 40 (source - 1) * sizeof(uint32_t); in aplic_set_target() 45 uint32_t source) in aplic_get_source_mode() argument 50 (source - 1) * sizeof(uint32_t)); in aplic_get_source_mode()
|
| /optee_os/core/include/drivers/ |
| H A D | aplic_priv.h | 5 * Copyright (c) 2025 Beijing Institute of Open Source Chip (BOSC) 85 uint32_t source) in aplic_enable_interrupt() argument 87 io_write32(aplic->aplic_base + APLIC_SETIENUM, source); in aplic_enable_interrupt() 91 uint32_t source) in aplic_disable_interrupt() argument 93 io_write32(aplic->aplic_base + APLIC_CLRIENUM, source); in aplic_disable_interrupt() 96 static inline void aplic_set_pending(struct aplic_data *aplic, uint32_t source) in aplic_set_pending() argument 98 io_write32(aplic->aplic_base + APLIC_SETIPNUM, source); in aplic_set_pending() 102 uint32_t source) in aplic_clear_pending() argument 104 io_write32(aplic->aplic_base + APLIC_CLRIPNUM, source); in aplic_clear_pending() 113 TEE_Result aplic_set_source_mode(struct aplic_data *aplic, uint32_t source,
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | entropy.h | 38 /** Critical entropy source failure. */ 70 #define MBEDTLS_ENTROPY_SOURCE_STRONG 1 /**< Entropy source is strong */ 71 #define MBEDTLS_ENTROPY_SOURCE_WEAK 0 /**< Entropy source is weak */ 92 * \brief Entropy source state 95 mbedtls_entropy_f_source_ptr MBEDTLS_PRIVATE(f_source); /**< The entropy source callback */ 99 int MBEDTLS_PRIVATE(strong); /**< Is the source strong? */ 111 int MBEDTLS_PRIVATE(source_count); /* Number of entries used in source. */ 112 mbedtls_entropy_source_state MBEDTLS_PRIVATE(source)[MBEDTLS_ENTROPY_MAX_SOURCES]; 145 * \brief Adds an entropy source to poll 151 * \param threshold Minimum required from source before entropy is released [all …]
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | entropy.c | 30 memset(ctx->source, 0, sizeof(ctx->source)); in mbedtls_entropy_init() 82 mbedtls_platform_zeroize(ctx->source, sizeof(ctx->source)); in mbedtls_entropy_free() 104 ctx->source[idx].f_source = f_source; in mbedtls_entropy_add_source() 105 ctx->source[idx].p_source = p_source; in mbedtls_entropy_add_source() 106 ctx->source[idx].threshold = threshold; in mbedtls_entropy_add_source() 107 ctx->source[idx].strong = strong; in mbedtls_entropy_add_source() 214 if (ctx->source[i].strong == MBEDTLS_ENTROPY_SOURCE_STRONG) { in entropy_gather_internal() 219 if ((ret = ctx->source[i].f_source(ctx->source[i].p_source, in entropy_gather_internal() 232 ctx->source[i].size += olen; in entropy_gather_internal() 315 if (ctx->source[i].size < ctx->source[i].threshold) { in mbedtls_entropy_func() [all …]
|
| H A D | entropy_poll.h | 24 #define MBEDTLS_ENTROPY_MIN_PLATFORM 32 /**< Minimum for platform source */ 26 #define MBEDTLS_ENTROPY_MIN_HARDWARE 32 /**< Minimum for the hardware source */ 39 * \brief Entropy poll callback for a hardware source
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_math.h | 86 @param n Source upto bits_per_digit (actually meant for very small constants) 192 @param a The first source integer 193 @param b The second source integer 200 @param a The first source integer 201 @param b The second source integer 209 @param a The first source integer 210 @param b The second source integer 217 @param a The first source integer 218 @param b The second source integer 226 @param a The first source integer [all …]
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_utils_mem.h | 97 * Copy source data into the block buffer. Allocate block buffer if 101 * @src Source to copy 102 * @offset Source offset to start 111 * @src_data Source to copy 140 * Copy source data into the destination buffer removing non-significant 142 * If all source @src buffer is zero, left only one zero in the destination. 145 * @src Source to copy
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | LICENSE | 34 "Source" form shall mean the preferred form for making modifications, 35 including but not limited to software source code, documentation 36 source, and configuration files. 39 transformation or translation of a Source form, including but 43 "Work" shall mean the work of authorship, whether in Source or 48 "Derivative Works" shall mean any work, whether in Source or Object 64 communication on electronic mailing lists, source code control systems, 79 Work and such Derivative Works in Source or Object form. 99 modifications, and in Source or Object form, provided that You 108 (c) You must retain, in the Source form of any Derivative Works [all …]
|
| H A D | dco.txt | 18 have the right to submit it under the open source license 22 of my knowledge, is covered under an appropriate open source 25 by me, under the same open source license (unless I am 37 this project or the open source license(s) involved.
|
| H A D | README.md | 52 * Perl to run the tests, and to generate some source files in the development branch. 61 ### Generated source files in the development branch 63 The source code of Mbed TLS includes some files that are automatically generated by scripts and who… 67 * Perl, for some library source files and for Visual Studio build files. 68 * Python 3.8 and some Python packages, for some library source files, sample programs and test data… 91 In order to build from the source code using GNU Make, just enter at the command line: 119 In order to build the source using CMake in a separate directory (recommended), just enter at the c… 174 the Mbed TLS source directory, use: 232 …be generated first as described in [“Generated source files in the development branch”](#generated… 279 …analyses, hardware and firmware architecture specifications, and an open source firmware reference… [all …]
|
| /optee_os/core/arch/arm/plat-amlogic/scripts/ |
| H A D | aml_bin2img.py | 42 def aml_create_header_file(source, dest, entry, res_mem_start, res_mem_size, argument 45 src_fd = open(source, 'rb') 70 parser.add_argument('--source', 72 help='Source file') 109 source_file = args.source
|
| /optee_os/core/arch/arm/plat-stm32mp1/scripts/ |
| H A D | stm32image.py | 76 def stm32image_create_header_file(source, dest, load, entry, bintype): argument 78 src_fd = open(source, 'rb') 101 parser.add_argument('--source', 103 help='Source file') 126 source_file = args.source
|
| /optee_os/lib/libutils/compiler-rt/ |
| H A D | LICENSE.TXT | 30 "Source" form shall mean the preferred form for making modifications, 31 including but not limited to software source code, documentation 32 source, and configuration files. 35 transformation or translation of a Source form, including but 39 "Work" shall mean the work of authorship, whether in Source or 44 "Derivative Works" shall mean any work, whether in Source or Object 60 communication on electronic mailing lists, source code control systems, 75 Work and such Derivative Works in Source or Object form. 95 modifications, and in Source or Object form, provided that You 104 (c) You must retain, in the Source form of any Derivative Works [all …]
|
| H A D | README.txt | 4 This directory and its subdirectories contain source code for the compiler 7 Compiler-RT is open source software. You may freely distribute it under the
|
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/ |
| H A D | README.html | 20 SoftFloat is distributed in the form of C source code. 36 <TD><A HREF="doc/SoftFloat-source.html"><CODE>SoftFloat-source.html</CODE></A></TD> 45 Other files in the package comprise the source code for SoftFloat.
|
| H A D | README.txt | 9 is distributed in the form of C source code. Building the SoftFloat sources 17 SoftFloat-source.html Documentation for building SoftFloat. 20 Other files in the package comprise the source code for SoftFloat.
|
| H A D | COPYING.txt | 8 each source file individually. 13 Redistribution and use in source and binary forms, with or without 16 1. Redistributions of source code must retain the above copyright notice,
|
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/doc/ |
| H A D | SoftFloat-source.html | 5 <TITLE>Berkeley SoftFloat Source Documentation</TITLE> 10 <H1>Berkeley SoftFloat Release 3a: Source Documentation</H1> 60 The source code for SoftFloat is intended to be relatively machine-independent 152 as to each source file individually. 162 Redistribution and use in source and binary forms, with or without 168 Redistributions of source code must retain the above copyright notice, this 207 Because SoftFloat is targeted to multiple platforms, its source code is 214 source 229 The majority of the SoftFloat sources are provided in the <CODE>source</CODE> 231 The <CODE>include</CODE> subdirectory of <CODE>source</CODE> contains several [all …]
|
| /optee_os/core/include/dt-bindings/gpio/ |
| H A D | gpio.h | 21 /* Bit 2 express Open drain or open source */ 27 * Open Source/Emitter is the combination of single-ended open source interface.
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | link.mk | 14 $(stm32image_cmd) --source $< --dest $@ --bintype 0x20 19 $(stm32image_cmd) --source $< --dest $@ --bintype 0x21 24 $(stm32image_cmd) --source $< --dest $@ --bintype 0x22
|
| /optee_os/ta/pkcs11/src/ |
| H A D | processing.h | 36 * @source_type: Type of source. 37 * @source_data_len: Length of the source data. 38 * @source_data: Source data. 54 * @source_type: Type of source. 55 * @source_data_len: Length of the source data. 56 * @source_data: Source data.
|
| /optee_os/core/include/dt-bindings/clock/ |
| H A D | stm32mp21-clksrc.h | 89 /* KERNEL source clocks */ 118 /* PLLs source clocks */ 124 /* XBAR source clocks */ 142 * Configure a XBAR channel with its clock source 144 * sel: one of the 15 previous XBAR source clocks defines
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | spin_lock_a64.S | 6 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright notice, 32 * Redistribution and use in source and binary forms, with or without 35 * Redistributions of source code must retain the above copyright notice, this
|