| /trusted-firmware-m-latest/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
| D | gpio.h | 37 #define GPIO_MODE_OUTPUT 0x1UL /*!< Output Mode */ 102 /** Define GPIO Pin Data Input/Output. It could be used to control each I/O pin by pin address mapp… 114 * If PA.0 pin status is high, then set PA.0 data output to low. 119 #define PA0 PA0_NS /*!< Specify PA.0 Pin Data Input/Output */ 121 #define PA0 PA0_S /*!< Specify PA.0 Pin Data Input/Output */ 124 #define PA1 PA1_NS /*!< Specify PA.1 Pin Data Input/Output */ 126 #define PA1 PA1_S /*!< Specify PA.1 Pin Data Input/Output */ 129 #define PA2 PA2_NS /*!< Specify PA.2 Pin Data Input/Output */ 131 #define PA2 PA2_S /*!< Specify PA.2 Pin Data Input/Output */ 134 #define PA3 PA3_NS /*!< Specify PA.3 Pin Data Input/Output */ [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
| D | gpio.h | 37 #define GPIO_MODE_OUTPUT 0x1UL /*!< Output Mode */ 102 /** Define GPIO Pin Data Input/Output. It could be used to control each I/O pin by pin address mapp… 114 * If PA.0 pin status is high, then set PA.0 data output to low. 121 #define PA0 PA_PIN_DATA(0, 0 ) /*!< Specify PA.0 Pin Data Input/Output */ 122 #define PA1 PA_PIN_DATA(0, 1 ) /*!< Specify PA.1 Pin Data Input/Output */ 123 #define PA2 PA_PIN_DATA(0, 2 ) /*!< Specify PA.2 Pin Data Input/Output */ 124 #define PA3 PA_PIN_DATA(0, 3 ) /*!< Specify PA.3 Pin Data Input/Output */ 125 #define PA4 PA_PIN_DATA(0, 4 ) /*!< Specify PA.4 Pin Data Input/Output */ 126 #define PA5 PA_PIN_DATA(0, 5 ) /*!< Specify PA.5 Pin Data Input/Output */ 127 #define PA6 PA_PIN_DATA(0, 6 ) /*!< Specify PA.6 Pin Data Input/Output */ [all …]
|
| /trusted-firmware-m-latest/interface/include/mbedtls/ |
| D | gcm.h | 40 /** An output buffer is too small. */ 118 * \note For encryption, the output buffer can be the same as the 119 * input buffer. For decryption, the output buffer cannot be 120 * the same as input buffer. If the buffers overlap, the output 132 * The ciphertext is written to \p output and the 135 * The plaintext is written to \p output and the 142 * of the output data. 152 * \param output The buffer for holding the output data. If \p length is greater 174 unsigned char *output, 182 * \note For decryption, the output buffer cannot be the same as [all …]
|
| D | ccm.h | 141 * the \p tag with the \p output, as done in <em>RFC-3610: 143 * \p tag = \p output + \p length, and make sure that the 144 * output buffer is at least \p length + \p tag_len wide. 162 * \param output The buffer holding the output data. If \p length is greater 163 * than zero, \p output must be a writable buffer of at least 176 const unsigned char *input, unsigned char *output, 183 * the \p tag with the \p output, as done in <em>RFC-3610: 185 * \p tag = \p output + \p length, and make sure that the 186 * output buffer is at least \p length + \p tag_len wide. 208 * \param output The buffer holding the output data. If \p length is greater [all …]
|
| D | pkcs5.h | 72 * \param output Output buffer. 87 unsigned char *output); 110 * \param output Output buffer. 118 * \param output_size size of output buffer. 119 * This must be big enough to accommodate for output plus 121 * \param output_len On success, length of actual data written to the output buffer. 128 unsigned char *output, size_t output_size, 145 * \param output Generated key. Must be at least as big as key_length 153 uint32_t key_length, unsigned char *output); 169 * \param output Generated key. Must be at least as big as key_length [all …]
|
| D | aes.h | 241 * \param output The buffer where the output data will be written. 250 unsigned char output[16]); 287 * \param output The buffer holding the output data. 300 unsigned char *output); 330 * \param output The buffer holding the output data (which is an entire 332 * output. 345 unsigned char *output); 383 * \param output The buffer holding the output data. 395 unsigned char *output); 428 * \param output The buffer holding the output data. [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
| D | aes_alt.c | 154 * \param output 16-byte output block 163 unsigned char output[AES_BLOCK_SIZE]) in mbedtls_aes_crypt_ecb() 170 if (NULL == ctx || NULL == input || NULL == output) in mbedtls_aes_crypt_ecb() 194 output, AES_BLOCK_SIZE, &outBuffInfo); in mbedtls_aes_crypt_ecb() 219 unsigned char *output ) in mbedtls_aes_crypt_cbc() argument 232 if (NULL == ctx || NULL == input || NULL == output || NULL == iv) in mbedtls_aes_crypt_cbc() 264 output, length, &outBuffInfo); in mbedtls_aes_crypt_cbc() 294 unsigned char *output ) in mbedtls_aes_crypt_cfb128() argument 302 CC_UNUSED_PARAM(output); in mbedtls_aes_crypt_cfb128() 314 unsigned char *output ) in mbedtls_aes_crypt_cfb8() argument [all …]
|
| D | chachapoly_alt.c | 84 unsigned char *output ) in mbedtls_chachapoly_update() argument 89 CC_UNUSED_PARAM(output); in mbedtls_chachapoly_update() 109 unsigned char *output, in chachapoly_crypt_and_tag() argument 124 pCipherData = output; in chachapoly_crypt_and_tag() 137 // poly key defined as the first 32 bytes of chacha output. in chachapoly_crypt_and_tag() 142 rc = mbedtls_chacha20_crypt( key, nonce, 1, length, (uint8_t *)input, (uint8_t *)output ); in chachapoly_crypt_and_tag() 158 rc = mbedtls_chacha20_crypt( key, nonce, 1, length, (uint8_t *)input, (uint8_t *)output ); in chachapoly_crypt_and_tag() 167 if (output != NULL) { in chachapoly_crypt_and_tag() 168 CC_PalMemSetZero(output, length); in chachapoly_crypt_and_tag() 179 unsigned char *output, in mbedtls_chachapoly_encrypt_and_tag() argument [all …]
|
| D | ccm_alt.c | 62 unsigned char *output, in mbedtls_ccm_encrypt_and_tag() argument 66 …return mbedtls_ccm_encrypt_and_tag_int(ctx, length, iv, iv_len, add, add_len, input, output, tag, … in mbedtls_ccm_encrypt_and_tag() 79 unsigned char *output, in mbedtls_ccm_auth_decrypt() argument 85 …return mbedtls_ccm_auth_decrypt_int( ctx, length, iv, iv_len, add, add_len, input, output, tag, ta… in mbedtls_ccm_auth_decrypt() 95 unsigned char *output, in mbedtls_ccm_star_encrypt_and_tag() argument 99 …return mbedtls_ccm_encrypt_and_tag_int(ctx, length, iv, iv_len, add, add_len, input, output, tag, … in mbedtls_ccm_star_encrypt_and_tag() 109 unsigned char *output, in mbedtls_ccm_star_auth_decrypt() argument 113 …return mbedtls_ccm_auth_decrypt_int(ctx, length, iv, iv_len, add, add_len, input, output, tag, tag… in mbedtls_ccm_star_auth_decrypt() 156 unsigned char *output, size_t output_size, in mbedtls_ccm_update() argument 162 CC_UNUSED_PARAM(output); in mbedtls_ccm_update()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
| D | cc3xx_psa_cipher.h | 87 * new output 92 * \param[out] output Buffer containing the output 93 * \param[in] output_size Size in bytes of the output buffer 94 * \param[out] output_length Size in bytes of the actual output 102 uint8_t *output, size_t output_size, size_t *output_length); 108 * \param[out] output Buffer containing the 109 * \param[in] output_size Size in bytes of the output buffer 110 * \param[out] output_length Size in bytes of the encrypted output 117 uint8_t *output, size_t output_size, size_t *output_length); 140 * \param[out] output Buffer holding the ciphertext [all …]
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/include/ |
| D | cc3xx_psa_cipher.h | 87 * new output 92 * \param[out] output Buffer containing the output 93 * \param[in] output_size Size in bytes of the output buffer 94 * \param[out] output_length Size in bytes of the actual output 102 uint8_t *output, size_t output_size, size_t *output_length); 108 * \param[out] output Buffer containing the 109 * \param[in] output_size Size in bytes of the output buffer 110 * \param[out] output_length Size in bytes of the encrypted output 117 uint8_t *output, size_t output_size, size_t *output_length); 140 * \param[out] output Buffer holding the ciphertext [all …]
|
| D | cc3xx_internal_cipher.h | 83 * @param[out] output Buffer containing the output 84 * @param[in] output_size Size in bytes of the \ref output buffer 85 * @param[out] output_length Size of the output produced by the pre_update step 90 uint8_t *output, size_t output_size, size_t *output_length); 101 * @param[out] output Buffer containing the output 102 * @param[in] output_size Size in bytes of the \ref output buffer 112 uint8_t *output, size_t output_size, size_t *output_length);
|
| /trusted-firmware-m-latest/platform/ext/target/nxp/common/Native_Driver/drivers/ |
| D | fsl_gpio.h | 35 kGPIO_DigitalOutput = 1U, /*!< Set current pin as digital output*/ 41 * Every pin can only be configured as either output pin or input pin at a time. 46 gpio_pin_direction_t pinDirection; /*!< GPIO direction, input or output */ 47 /* Output configurations, please ignore if configured as a input one */ 48 uint8_t outputLogic; /*!< Set default output logic, no use in input */ 112 * To initialize the GPIO, define a pin configuration, either input or output, in the user file. 115 * This is an example to define an input pin or output pin configuration: 123 * Define a digital output pin configuration, 140 /*! @name GPIO Output Operations */ 144 * @brief Sets the output level of the one GPIO pin to the logic 1 or 0. [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/scripts/ |
| D | postbuild.sh | 58 $command >> $projectdir"/output.txt" 67 $command >> $projectdir"/output.txt" 76 $command >> $projectdir"/output.txt" 86 $command >> $projectdir"/output.txt" 95 $command >> $projectdir"/output.txt" 104 $command >> $projectdir"/output.txt" 113 $command >> $projectdir"/output.txt" 122 $command >> $projectdir"/output.txt" 130 $command >> $projectdir"/output.txt" 138 $command >> $projectdir"/output.txt" [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
| D | cc3xx_psa_asymmetric_encryption.c | 42 uint8_t *output, size_t output_size, size_t *output_length) in cc3xx_internal_rsa_encrypt() argument 53 /* Zero output length by default */ in cc3xx_internal_rsa_encrypt() 100 output); in cc3xx_internal_rsa_encrypt() 109 (unsigned char *)output); in cc3xx_internal_rsa_encrypt() 126 CC_PalMemSetZero(output, *output_length); in cc3xx_internal_rsa_encrypt() 144 uint8_t *output, size_t output_size, size_t *output_length) in cc3xx_internal_rsa_decrypt() argument 152 /* Zero output length by default */ in cc3xx_internal_rsa_decrypt() 186 output, in cc3xx_internal_rsa_decrypt() 195 output, in cc3xx_internal_rsa_decrypt() 203 CC_PalMemSetZero(output, *output_length); in cc3xx_internal_rsa_decrypt() [all …]
|
| D | cc3xx_psa_cipher.c | 27 uint8_t *output, in add_pkcs_padding() argument 31 if (NULL == output) { in add_pkcs_padding() 38 output[data_size + i] = padding_size; in add_pkcs_padding() 267 uint8_t *output, size_t output_size, size_t *output_length) in cc3xx_cipher_update() argument 331 output) ) in cc3xx_cipher_update() 339 output += block_size; in cc3xx_cipher_update() 369 output) ) in cc3xx_cipher_update() 386 output) ) in cc3xx_cipher_update() 402 output) ) in cc3xx_cipher_update() 418 output) ) in cc3xx_cipher_update() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/common/bsp/Include/ |
| D | bpwm_reg.h | 123 * | | |0 = ICE debug mode acknowledgement effects BPWM output. 126 * | | |BPWM pin will keep output no matter ICE debug mode acknowledged or not. 214 * | | |01 = BPWM zero point output Low. 215 * | | |10 = BPWM zero point output High. 216 * | | |11 = BPWM zero point output Toggle. 217 * | | |BPWM can control output level when BPWM counter count to zero. 221 * | | |01 = BPWM zero point output Low. 222 * | | |10 = BPWM zero point output High. 223 * | | |11 = BPWM zero point output Toggle. 224 * | | |BPWM can control output level when BPWM counter count to zero. [all …]
|
| D | acmp_reg.h | 48 * |[3] |ACMPOINV |Comparator Output Inverse 49 * | | |0 = Comparator 0 output inverse Disabled. 50 * | | |1 = Comparator 0 output inverse Enabled. 55 * | | |11 = DAC output. 62 … * | | |ACMPIF0 will be set to 1 when comparator output edge condition is detected. 67 * |[12] |OUTSEL |Comparator Output Select 68 * | | |0 = Comparator 0 output to ACMP0_O pin is unfiltered comparator output. 69 * | | |1 = Comparator 0 output to ACMP0_O pin is from filter output. 70 * |[15:13] |FILTSEL |Comparator Output Filter Count Selection 72 * | | |001 = ACMP0 output is sampled 1 consecutive PCLK. [all …]
|
| /trusted-firmware-m-latest/bl2/ext/mcuboot/scripts/ |
| D | assemble.py | 34 def __init__(self, layout_path, output): argument 35 self.output = output 39 os.unlink(output) 61 with open(self.output, 'ab') as ofd: 83 parser.add_argument('-o', '--output', required=True, 87 output = Assembly(args.layout, args.output) 89 output.add_image(args.secure, "SECURE") 90 output.add_image(args.non_secure, "NON_SECURE")
|
| /trusted-firmware-m-latest/platform/ext/target/arm/rse/common/ |
| D | rse_trng.c | 22 int32_t bl1_trng_generate_random(uint8_t *output, size_t output_size) in bl1_trng_generate_random() argument 28 copy_size = sizeof(uint32_t) - ((uintptr_t)output % sizeof(uint32_t)); in bl1_trng_generate_random() 30 memcpy(output, &random_word, copy_size); in bl1_trng_generate_random() 31 output += copy_size; in bl1_trng_generate_random() 35 *((uint32_t *)output) = otp_trng_get_random_uint32_t(); in bl1_trng_generate_random() 36 output += sizeof(uint32_t); in bl1_trng_generate_random() 42 memcpy(output, &random_word, copy_size); in bl1_trng_generate_random()
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/ |
| D | cc3xx_psa_cipher.c | 80 * @param[out] output Data produced as output 81 * @param[in] output_size Size in bytes of the output buffer 95 uint8_t *output, in cipher_crypt() argument 109 CC3XX_ASSERT(output != NULL); in cipher_crypt() 151 cc3xx_lowlevel_chacha20_set_output_buffer(output, output_size); in cipher_crypt() 213 cc3xx_lowlevel_aes_set_output_buffer(output, output_size); in cipher_crypt() 258 &output[*output_length - last_block_length], in cipher_crypt() 333 uint8_t *output, size_t output_size, size_t *output_length) in cc3xx_cipher_update() argument 341 CC3XX_ASSERT(output != NULL); in cc3xx_cipher_update() 364 output, output_size, output_length); in cc3xx_cipher_update() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/nxp/common/Native_Driver/utilities/debug_console/ |
| D | fsl_debug_console.h | 8 * Debug console shall provide input and output functions to scan and print formatted data. 100 * Call this function to enable debug log messages to be output via the specified peripheral 125 * Call this function to disable debug log messages to be output via the specified peripheral 196 * @brief Writes formatted output to the standard output stream. 198 * Call this function to write a formatted output to the standard output stream. 206 * @brief Writes formatted output to the standard output stream. 208 * Call this function to write a formatted output to the standard output stream. 258 * @brief Writes formatted output to the standard output stream with the blocking mode. 260 …* Call this function to write a formatted output to the standard output stream with the blocking m… 271 * @brief Writes formatted output to the standard output stream with the blocking mode. [all …]
|
| /trusted-firmware-m-latest/lib/ext/t_cose/test/ |
| D | run_tests.h | 18 @brief Type for function to output a text string 20 @param[in] szString The string to output 22 @param[in] bNewline If non-zero, output a newline after the string 25 output text strings. 50 @param[in] pfOutput Function that is called to output text strings. 51 @param[in] pOutCtx Context pointer passed to output function. 65 @param[in] pfOutput Function that is called to output text strings. 66 @param[in] pOutCtx Context pointer passed to output function.
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
| D | mbedtls_cc_sha512_t.c | 111 void mbedtls_sha512_t_finish( mbedtls_sha512_context *ctx, unsigned char output[32], int is224 ) in mbedtls_sha512_t_finish() 115 if (ctx == NULL || output == NULL) { in mbedtls_sha512_t_finish() 116 CC_PalAbort("mbedtls_sha512_context and output buffer cannot be NULL"); in mbedtls_sha512_t_finish() 124 CC_PalMemCopy(output, output512, MBEDTLS_SHA512_T_224_DIGEST_SIZE_BYTES); in mbedtls_sha512_t_finish() 127 CC_PalMemCopy(output, output512, MBEDTLS_SHA512_T_256_DIGEST_SIZE_BYTES); in mbedtls_sha512_t_finish() 134 * output = SHA-512( input buffer ) 137 unsigned char output[32], int is224 ) in mbedtls_sha512_t() 141 if (input == NULL || output == NULL) { in mbedtls_sha512_t() 142 CC_PalAbort("input and output buffers cannot be NULL"); in mbedtls_sha512_t() 148 mbedtls_sha512_t_finish( &ctx, output, is224 ); in mbedtls_sha512_t()
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/hal/accelerator/ |
| D | aes_alt.c | 309 unsigned char output[16]) in mbedtls_aes_crypt_ecb() 315 AES_VALIDATE_RET( output != NULL ); in mbedtls_aes_crypt_ecb() 333 ret = mbedtls_internal_aes_decrypt(ctx, input, output); in mbedtls_aes_crypt_ecb() 337 ret = mbedtls_internal_aes_encrypt(ctx, input, output); in mbedtls_aes_crypt_ecb() 373 unsigned char *output) in mbedtls_aes_crypt_cbc() argument 383 AES_VALIDATE_RET( output != NULL ); in mbedtls_aes_crypt_cbc() 413 …if (HAL_CRYP_Decrypt(&ctx->hcryp_aes, (uint32_t *)input, length, (uint32_t *)output, ST_AES_TIMEOU… in mbedtls_aes_crypt_cbc() 424 …if (HAL_CRYP_Encrypt(&ctx->hcryp_aes, (uint32_t *)input, length, (uint32_t *)output, ST_AES_TIMEOU… in mbedtls_aes_crypt_cbc() 428 /* current output is the IV vector for the next call */ in mbedtls_aes_crypt_cbc() 429 memcpy(iv, &output[length - 16], 16); in mbedtls_aes_crypt_cbc() [all …]
|