Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/core/
A Ddes_cbc.c19 int mbed_mode; member
53 c->mbed_mode = MBEDTLS_DES_ENCRYPT; in mbed_des_cbc_init()
56 c->mbed_mode = MBEDTLS_DES_DECRYPT; in mbed_des_cbc_init()
73 if (mbedtls_des_crypt_cbc(&c->des_ctx, c->mbed_mode, len, c->iv, in mbed_des_cbc_update()
97 dst->mbed_mode = src->mbed_mode; in mbed_des_cbc_copy_state()
A Daes_ecb.c23 int mbed_mode; member
50 c->mbed_mode = MBEDTLS_AES_ENCRYPT; in mbed_aes_ecb_init()
54 c->mbed_mode = MBEDTLS_AES_DECRYPT; in mbed_aes_ecb_init()
78 if (mbedtls_aes_crypt_ecb(&c->aes_ctx, c->mbed_mode, in mbed_aes_ecb_update()
102 dst->mbed_mode = src->mbed_mode; in mbed_aes_ecb_copy_state()
A Ddes3_cbc.c19 int mbed_mode; member
54 c->mbed_mode = MBEDTLS_DES_ENCRYPT; in mbed_des3_cbc_init()
60 c->mbed_mode = MBEDTLS_DES_DECRYPT; in mbed_des3_cbc_init()
80 if (mbedtls_des3_crypt_cbc(&c->des3_ctx, c->mbed_mode, len, c->iv, in mbed_des3_cbc_update()
104 dst->mbed_mode = src->mbed_mode; in mbed_des3_cbc_copy_state()
A Daes_cbc.c23 int mbed_mode; member
54 c->mbed_mode = MBEDTLS_AES_ENCRYPT; in mbed_aes_cbc_init()
58 c->mbed_mode = MBEDTLS_AES_DECRYPT; in mbed_aes_cbc_init()
76 if (mbedtls_aes_crypt_cbc(&c->aes_ctx, c->mbed_mode, len, c->iv, in mbed_aes_cbc_update()
100 dst->mbed_mode = src->mbed_mode; in mbed_aes_cbc_copy_state()

Completed in 4 milliseconds