Home
last modified time | relevance | path

Searched refs:cbc (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-3.7.0/components/wpa_supplicant/src/crypto/
Dcrypto_internal-cipher.c26 u8 cbc[32]; member
32 u8 cbc[8]; member
37 u8 cbc[8]; member
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init()
84 os_memcpy(ctx->u.des3.cbc, iv, 8); in crypto_cipher_init()
92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
124 ctx->u.aes.cbc); in crypto_cipher_encrypt()
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE); in crypto_cipher_encrypt()
[all …]
Daes-cbc.c27 u8 cbc[AES_BLOCK_SIZE]; in aes_128_cbc_encrypt() local
37 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_encrypt()
42 cbc[j] ^= pos[j]; in aes_128_cbc_encrypt()
43 aes_encrypt(ctx, cbc, cbc); in aes_128_cbc_encrypt()
44 os_memcpy(pos, cbc, AES_BLOCK_SIZE); in aes_128_cbc_encrypt()
63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; in aes_128_cbc_decrypt() local
73 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
80 pos[j] ^= cbc[j]; in aes_128_cbc_decrypt()
81 os_memcpy(cbc, tmp, AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
Daes-omac1.c47 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in omac1_aes_vector() local
57 os_memset(cbc, 0, AES_BLOCK_SIZE); in omac1_aes_vector()
70 cbc[i] ^= *pos++; in omac1_aes_vector()
85 aes_encrypt(ctx, cbc, cbc); in omac1_aes_vector()
95 cbc[i] ^= *pos++; in omac1_aes_vector()
108 cbc[left] ^= 0x80; in omac1_aes_vector()
113 pad[i] ^= cbc[i]; in omac1_aes_vector()
/hal_espressif-3.7.0/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls.c455 u8 cbc[MBEDTLS_AES_BLOCK_SIZE]; in aes_128_cbc_encrypt() local
465 os_memcpy(cbc, iv, MBEDTLS_AES_BLOCK_SIZE); in aes_128_cbc_encrypt()
467 data_len, cbc, data, data); in aes_128_cbc_encrypt()
477 u8 cbc[MBEDTLS_AES_BLOCK_SIZE]; in aes_128_cbc_decrypt() local
487 os_memcpy(cbc, iv, MBEDTLS_AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
489 data_len, cbc, data, data); in aes_128_cbc_decrypt()
/hal_espressif-3.7.0/components/wpa_supplicant/
DCMakeLists.txt129 "src/crypto/aes-cbc.c"
/hal_espressif-3.7.0/zephyr/esp32/
DCMakeLists.txt525 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/crypto/aes-cbc.c"
/hal_espressif-3.7.0/zephyr/esp32c3/
DCMakeLists.txt505 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/crypto/aes-cbc.c"
/hal_espressif-3.7.0/zephyr/esp32s2/
DCMakeLists.txt499 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/crypto/aes-cbc.c"
/hal_espressif-3.7.0/zephyr/esp32s3/
DCMakeLists.txt552 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/crypto/aes-cbc.c"