Searched refs:cbc_ctx (Results 1 – 1 of 1) sorted by relevance
126 mbedtls_aes_context *cbc_ctx = MTLS_GET_CTX(ctx, aes); in mtls_cbc_encrypt() local141 ret = mbedtls_aes_crypt_cbc(cbc_ctx, MBEDTLS_AES_ENCRYPT, pkt->in_len, in mtls_cbc_encrypt()157 mbedtls_aes_context *cbc_ctx = MTLS_GET_CTX(ctx, aes); in mtls_cbc_decrypt() local168 ret = mbedtls_aes_crypt_cbc(cbc_ctx, MBEDTLS_AES_DECRYPT, pkt->in_len, in mtls_cbc_decrypt()