/mcuboot-3.6.0/ext/tinycrypt/lib/include/tinycrypt/ |
D | cbc_mode.h | 63 * Hence tc_cbc_mode_encrypt assumes the ciphertext buffer is always 64 * 16 bytes larger than the plaintext buffer. 85 * CBC encrypts inlen bytes of the in buffer into the out buffer 99 * - out buffer is large enough to hold the ciphertext + iv 100 * - out buffer is a contiguous buffer 101 * - in holds the plaintext and is a contiguous buffer 102 * - inlen gives the number of bytes in the in buffer 103 * @param out IN/OUT -- buffer to receive the ciphertext 104 * @param outlen IN -- length of ciphertext buffer in bytes 106 * @param inlen IN -- length of plaintext buffer in bytes [all …]
|
D | utils.h | 50 * @brief Copy the the buffer 'from' to the buffer 'to'. 55 * @param to OUT -- destination buffer 56 * @param to_len IN -- length of destination buffer 57 * @param from IN -- origin buffer 58 * @param from_len IN -- length of origin buffer 64 * @brief Set the value 'val' into the buffer 'to', 'len' times. 66 * @param to OUT -- destination buffer
|
D | aes.h | 83 * Encrypts contents of in buffer into out buffer under key; 89 * @param out IN/OUT -- buffer to receive ciphertext block 114 * Decrypts in buffer into out buffer under key schedule s 119 * @param out IN/OUT -- buffer to receive ciphertext block
|
D | sha256.h | 98 * @warning The state buffer 'leftover' is left in memory after processing 100 * buffer, remind to erase it after the data has been processed 117 * @warning The state buffer 'leftover' is left in memory after processing 119 * buffer, remind to erase it after the data has been processed
|
D | ctr_mode.h | 79 * CTR mode encrypts (or decrypts) inlen bytes from in buffer into out buffer 95 * @param outlen IN -- length of ciphertext buffer in bytes
|
/mcuboot-3.6.0/ext/mbedtls-asn1/include/mbedtls/ |
D | rsa.h | 51 #define MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE -0x4400 /**< The output buffer for decry… 351 * buffer pointers are NULL. 356 * \param N_len The size of the buffer for the modulus. 359 * \param P_len The size of the buffer for the first prime factor. 362 * \param Q_len The size of the buffer for the second prime factor. 365 * \param D_len The size of the buffer for the private exponent. 368 * \param E_len The size of the buffer for the public exponent. 510 * \param input The input buffer. This must be a readable buffer 513 * \param output The output buffer. This must be a writable buffer 547 * \param input The input buffer. This must be a readable buffer [all …]
|
D | pk.h | 65 #define MBEDTLS_ERR_PK_SIG_LEN_MISMATCH -0x3900 /**< The buffer contains a valid signature foll… 66 #define MBEDTLS_ERR_PK_BUFFER_TOO_SMALL -0x3880 /**< The output buffer is too small. */ 497 * You may use a smaller buffer if it is large enough 499 * \param sig_size The size of the \p sig buffer in bytes. 535 * You may use a smaller buffer if it is large enough 537 * \param sig_size The size of the \p sig buffer in bytes. 564 * \param osize Size of the output buffer 585 * \param osize Size of the output buffer 655 * \param key Input buffer to parse. 656 * The buffer must contain the input exactly, with no [all …]
|
D | ecdsa.h | 158 * buffer of length \p blen Bytes. It may be \c NULL if 200 * buffer of length \p blen Bytes. It may be \c NULL if 237 * buffer of length \p blen Bytes. It may be \c NULL if 260 * to a buffer, serialized as defined in <em>RFC-4492: 286 * buffer of length \p blen Bytes. 288 * \param sig The buffer to which to write the signature. This must be a 289 * writable buffer of length at least twice as large as the 291 * a 256-bit curve is used. A buffer length of 293 * \param sig_size The size of the \p sig buffer in bytes. 316 * to a buffer, in a restartable way. [all …]
|
D | md.h | 253 * \brief This function feeds an input buffer into an ongoing 261 * \param input The buffer holding the input data. 272 * and writes the result to the output buffer. 282 * \param output The buffer for the generic message-digest checksum result. 291 * \brief This function calculates the message-digest of a buffer, 296 * Output = message_digest(input buffer). 300 * \param input The buffer holding the data. 355 * \brief This function feeds an input buffer into an ongoing HMAC 366 * \param input The buffer holding the input data. 378 * the result to the output buffer. [all …]
|
D | bignum.h | 38 #define MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL -0x0008 /**< The buffer is too small to … 84 * mbedtls_mpi_write_file() the buffer should have space 246 * \note The limb-buffer in the destination MPI is enlarged 403 * \param s Null-terminated string buffer. 415 * \param buf The buffer to write the string to. This must be writable 416 * buffer of length \p buflen Bytes. 423 * minimum required buffer size in `*olen`. 426 * \return #MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL if the target buffer \p buf 453 * \return #MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL if the file read buffer 482 * \param buf The input buffer. This must be a readable buffer of length [all …]
|
D | ecp.h | 46 #define MBEDTLS_ERR_ECP_BUFFER_TOO_SMALL -0x4F00 /**< The buffer is too small to … 52 #define MBEDTLS_ERR_ECP_SIG_LEN_MISMATCH -0x4C00 /**< The buffer contains a valid… 728 * \param buf The output buffer. This must be a writable buffer 730 * \param buflen The length of the output buffer \p buf in Bytes. 733 * \return #MBEDTLS_ERR_ECP_BUFFER_TOO_SMALL if the output buffer 756 * \param buf The input buffer. This must be a readable buffer 758 * \param ilen The length of the input buffer \p buf in Bytes. 780 * \param buf The address of the pointer to the start of the input buffer. 781 * \param len The length of the buffer. 804 * \param buf The target buffer. This must be a writable buffer of [all …]
|
D | platform_util.h | 64 * \brief Securely zeroize a buffer 66 * The function is meant to wipe the data contained in a buffer so 81 * \param buf Buffer to be zeroized 82 * \param len Length of the buffer in bytes
|
D | platform.h | 210 * - it *must* always correctly zero-terminate the buffer 211 * (except when n == 0, then it must leave the buffer untouched) 213 * the destination buffer is too short. 245 * - it *must* always correctly zero-terminate the buffer 246 * (except when n == 0, then it must leave the buffer untouched) 248 * the destination buffer is too short.
|
D | error.h | 171 * \param buffer buffer to place representation in 172 * \param buflen length of the buffer 174 void mbedtls_strerror( int errnum, char *buffer, size_t buflen );
|
/mcuboot-3.6.0/ext/tinycrypt/lib/source/ |
D | cbc_mode.c | 42 uint8_t buffer[TC_AES_BLOCK_SIZE]; in tc_cbc_mode_encrypt() local 57 /* copy iv to the buffer */ in tc_cbc_mode_encrypt() 58 (void)_copy(buffer, TC_AES_BLOCK_SIZE, iv, TC_AES_BLOCK_SIZE); in tc_cbc_mode_encrypt() 59 /* copy iv to the output buffer */ in tc_cbc_mode_encrypt() 64 buffer[m++] ^= *in++; in tc_cbc_mode_encrypt() 66 (void)tc_aes_encrypt(buffer, buffer, sched); in tc_cbc_mode_encrypt() 68 buffer, TC_AES_BLOCK_SIZE); in tc_cbc_mode_encrypt() 82 uint8_t buffer[TC_AES_BLOCK_SIZE]; in tc_cbc_mode_decrypt() local 106 (void)tc_aes_decrypt(buffer, in, sched); in tc_cbc_mode_decrypt() 110 *out++ = buffer[m++] ^ *p++; in tc_cbc_mode_decrypt()
|
D | ccm_mode.c | 97 uint8_t buffer[TC_AES_BLOCK_SIZE]; in ccm_ctr_mode() local 123 if (!tc_aes_encrypt(buffer, nonce, sched)) { in ccm_ctr_mode() 128 *out++ = buffer[i % (TC_AES_BLOCK_SIZE)] ^ *in++; in ccm_ctr_mode() 150 (olen < (plen + c->mlen))) { /* invalid output buffer size */ in tc_ccm_generation_encryption() 211 (olen < plen - c->mlen)) { /* invalid output buffer size */ in tc_ccm_decryption_verification() 262 /* erase the decrypted buffer in case of mac validation failure: */ in tc_ccm_decryption_verification()
|
D | ctr_mode.c | 42 uint8_t buffer[TC_AES_BLOCK_SIZE]; in tc_ctr_mode() local 70 if (tc_aes_encrypt(buffer, nonce, sched)) { in tc_ctr_mode() 81 *out++ = buffer[n] ^ *in++; in tc_ctr_mode()
|
/mcuboot-3.6.0/boot/zephyr/include/boot_serial/ |
D | boot_serial_extensions.h | 18 * @param[in] buffer Buffer with first MCUmgr message 19 * @param[in] len Length of data in buffer 26 const char *buffer, int len,
|
/mcuboot-3.6.0/sim/mcuboot-sys/src/ |
D | lib.rs | 15 /// down to the C code. The call down to boot_go should go through this object so that the buffer 30 /// Borrow the RAM buffer, with 'offset' being the beginning of the buffer. 35 /// Borrow a piece of the ram, with 'offset' being the beginning of the buffer.
|
/mcuboot-3.6.0/boot/cypress/libs/retarget_io_pdl/ |
D | cy_retarget_io_pdl.c | 71 __weak size_t __write(int handle, const unsigned char * buffer, size_t size) in __write() argument 80 if (buffer != NULL) in __write() 85 if (*buffer == '\n' && cy_retarget_io_stdout_prev_char != '\r') in __write() 90 cy_retarget_io_stdout_prev_char = *buffer; in __write() 92 cy_retarget_io_putchar(*buffer); in __write() 93 ++buffer; in __write() 140 __weak size_t __read(int handle, unsigned char * buffer, size_t size) in __read() argument 144 if ((handle != _LLIO_STDIN) || (buffer == NULL)) in __read() 150 *buffer = cy_retarget_io_getchar(); in __read()
|
/mcuboot-3.6.0/boot/cypress/platforms/retarget_io_pdl/ |
D | cy_retarget_io_pdl.c | 71 __weak size_t __write(int handle, const unsigned char * buffer, size_t size) in __write() argument 80 if (buffer != NULL) in __write() 85 if (*buffer == '\n' && cy_retarget_io_stdout_prev_char != '\r') in __write() 90 cy_retarget_io_stdout_prev_char = *buffer; in __write() 92 cy_retarget_io_putchar(*buffer); in __write() 93 ++buffer; in __write() 140 __weak size_t __read(int handle, unsigned char * buffer, size_t size) in __read() argument 144 if ((handle != _LLIO_STDIN) || (buffer == NULL)) in __read() 150 *buffer = cy_retarget_io_getchar(); in __read()
|
/mcuboot-3.6.0/boot/mbed/include/utils/ |
D | DataShare.h | 37 #define DATA_SHARE_ERROR_OUT_OF_MEM 2 /* The output buffer was not large enough to hold the conte… 69 * @param[out] out Output buffer span 70 * @param[out] actual_size Size of entry copied to output buffer in bytes 71 * @return err Zero if output buffer contents is valid (successful), non-zero on failure
|
/mcuboot-3.6.0/ext/tinycrypt-sha512/lib/include/tinycrypt/ |
D | sha512.h | 98 * @warning The state buffer 'leftover' is left in memory after processing 100 * buffer, remind to erase it after the data has been processed 117 * @warning The state buffer 'leftover' is left in memory after processing 119 * buffer, remind to erase it after the data has been processed
|
/mcuboot-3.6.0/boot/boot_serial/include/boot_serial/ |
D | boot_serial_encryption.h | 16 * @param[in] buf buffer which is used for validating data 17 * @param[in] buf_size size of input buffer
|
/mcuboot-3.6.0/boot/zephyr/ |
D | boot_serial_extensions.c | 16 int bs_peruser_system_specific(const struct nmgr_hdr *hdr, const char *buffer, in bs_peruser_system_specific() argument 23 mgmt_rc = function->handler(hdr, buffer, len, cs); in bs_peruser_system_specific()
|