Home
last modified time | relevance | path

Searched refs:i_buf (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/dfu/
Ddfu.c144 w_size = dfu->i_buf - dfu->i_buf_start; in dfu_write_buffer_drain()
157 dfu->i_buf = dfu->i_buf_start; in dfu_write_buffer_drain()
175 dfu->i_buf = dfu->i_buf_start; in dfu_transaction_cleanup()
235 (unsigned long)(dfu->i_buf - dfu->i_buf_start)); in dfu_write()
265 if ((dfu->i_buf + size) > dfu->i_buf_end) { in dfu_write()
274 if ((dfu->i_buf + size) > dfu->i_buf_end) { in dfu_write()
275 pr_err("Buffer overflow! (0x%p + 0x%x > 0x%p)\n", dfu->i_buf, in dfu_write()
281 memcpy(dfu->i_buf, buf, size); in dfu_write()
282 dfu->i_buf += size; in dfu_write()
285 if (size == 0 || (dfu->i_buf + size) > dfu->i_buf_end) { in dfu_write()
[all …]
/external/boringssl/src/crypto/evp/
Dpbkdf.c85 uint8_t i_buf[4]; in PKCS5_PBKDF2_HMAC() local
86 i_buf[0] = (uint8_t)((i >> 24) & 0xff); in PKCS5_PBKDF2_HMAC()
87 i_buf[1] = (uint8_t)((i >> 16) & 0xff); in PKCS5_PBKDF2_HMAC()
88 i_buf[2] = (uint8_t)((i >> 8) & 0xff); in PKCS5_PBKDF2_HMAC()
89 i_buf[3] = (uint8_t)(i & 0xff); in PKCS5_PBKDF2_HMAC()
95 !HMAC_Update(&hctx, i_buf, 4) || in PKCS5_PBKDF2_HMAC()
/external/wpa_supplicant_8/src/wps/
Dwps_common.c27 u8 i_buf[4], key_bits[4]; in wps_kdf() local
36 addr[0] = i_buf; in wps_kdf()
37 len[0] = sizeof(i_buf); in wps_kdf()
50 WPA_PUT_BE32(i_buf, i); in wps_kdf()
/external/u-boot/include/
Ddfu.h131 u8 *i_buf; member