Searched refs:tweak (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-latest/components/mbedtls/port/aes/ |
D | esp_aes_xts.c | 46 esp_aes_init( &ctx->tweak ); in esp_aes_xts_init() 52 esp_aes_free( &ctx->tweak ); in esp_aes_xts_free() 94 ret = esp_aes_setkey( &ctx->tweak, key2, key2bits ); in esp_aes_xts_setkey_enc() 118 ret = esp_aes_setkey( &ctx->tweak, key2, key2bits ); in esp_aes_xts_setkey_dec() 192 unsigned char tweak[16]; in esp_aes_crypt_xts() local 207 ret = esp_aes_crypt_ecb( &ctx->tweak, MBEDTLS_AES_ENCRYPT, in esp_aes_crypt_xts() 208 data_unit, tweak ); in esp_aes_crypt_xts() 222 memcpy( prev_tweak, tweak, sizeof( tweak ) ); in esp_aes_crypt_xts() 223 esp_gf128mul_x_ble( tweak, tweak ); in esp_aes_crypt_xts() 227 tmp[i] = input[i] ^ tweak[i]; in esp_aes_crypt_xts() [all …]
|
/hal_espressif-latest/components/mbedtls/port/include/aes/ |
D | esp_aes.h | 55 esp_aes_context tweak; /*!< The AES context used for tweak member
|
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/inc/ |
D | summary_ESP32.rst | 40 …FLASH_CRYPT_CONFIG (BLOCK0): Flash encryption config (key tweak bits) …
|
/hal_espressif-latest/tools/esptool_py/espsecure/ |
D | __init__.py | 1355 tweak = struct.pack("<I", (flash_address & ~0x7F)) + (b"\x00" * 12) 1358 if len(tweak) != 16: 1360 "Length of tweak must be 16, was {}".format(len(tweak)) 1363 cipher = Cipher(algorithms.AES(key), modes.XTS(tweak), backend=backend)
|
/hal_espressif-latest/components/efuse/esp32/ |
D | esp_efuse_table.csv | 103 … EFUSE_BLK0, 188, 4, [ENCRYPT_CONFIG] Flash encryption config (key tweak bits)
|
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/ |
D | mbedtls_rom_osi.h | 718 STRUCT_OFFSET_CHECK(mbedtls_aes_xts_context, MBEDTLS_PRIVATE(tweak), 280);
|